[Bugs] [Bug 1517260] Volume wrong size

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 31 08:55:17 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1517260



--- Comment #16 from Nithya Balachandran <nbalacha at redhat.com> ---
Thanks David.

I wanted to see the value of the shared-brick-count. Can you confirm that it is
3 for all the volume1.ubuntu*.work-work*-test-storage*.vol files listed above?


volume volume1-posix
    type storage/posix
    option shared-brick-count 3   <--- *This*
    option volume-id 66153ffa-dfd7-4c1f-966e-093862605b40
    option directory /work/work1/test-storage1
end-volume

The shared-brick-count is a count of how many bricks share a file system and
the disk space is divided accordingly. For instance, if I have a filesystem
mounted at /data with 100GB space, and I create 3 subdirs inside (/data/brick1,
/data/brick2, /data/brick2)to use as bricks, I really only have 100GB so the df
should also only return 100GB (Patch https://review.gluster.org/#/c/17618/
introduced this change. In earlier releases, it would have returned 300GB which
is incorrect).


So if all bricks of volume1 on each node are on different filesystems, this is
a bug. Otherwise, it is working as expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=qw63JCagIf&a=cc_unsubscribe


More information about the Bugs mailing list