[heketi-devel] Fetching gid of already created volumes

Raghavendra Talur rtalur at redhat.com
Wed May 31 10:21:43 UTC 2017


In the previous releases, we haven't stored the GID of volumes in db.
With the volume expansion patch[1] now merged we need a way to
populate existing db with volume gid. It seems appropriate to do so in
Upgrade() function by getting stats of brick paths.

Sample command:
find  /var/lib/heketi/mounts -type d -name brick -exec ls -ld {} \; |
cut -d" " -f4

Is there any way to do it? Thoughts?

Ramky and Raghavendra Talur

[1] https://github.com/heketi/heketi/pull/766

More information about the heketi-devel mailing list