[Bugs] [Bug 1200914] New: pathinfo is wrong for striped replicated volumes
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 11 15:58:25 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1200914
Bug ID: 1200914
Summary: pathinfo is wrong for striped replicated volumes
Product: GlusterFS
Version: 3.6.2
Component: fuse
Assignee: bugs at gluster.org
Reporter: joe at julianfamily.org
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
Retrieving the pathinfo for a file on a striped replicated volume only shows
the first stripe subvolume.
Version-Release number of selected component (if applicable):
3.6.2
How reproducible:
Always
Steps to Reproduce:
1. gluster volume create yuck stripe 3 replica 2
questor:/tmp/yuck_brick{1,2,3,4,5,6} force
2. gluster volume start yuck
3. mount -t glusterfs localhost:yuck /mnt
4. dd if=/dev/urandom of=/mnt/testfile bs=3M count=1024
5. getfattr -m trusted.glusterfs.pathinfo /mnt/testfile
Actual results:
# file: mnt/testfile
trusted.glusterfs.pathinfo="(<DISTRIBUTE:yuck-dht>
(<STRIPE:yuck-stripe-0:[131072]> (<REPLICATE:yuck-replicate-0>
<POSIX(/tmp/yuck_brick2):questor:/tmp/yuck_brick2/testfile>
<POSIX(/tmp/yuck_brick1):questor:/tmp/yuck_brick1/testfile>))"
Expected results:
# file: mnt/testfile
trusted.glusterfs.pathinfo="(<DISTRIBUTE:yuck-dht>
(<STRIPE:yuck-stripe-0:[131072]> (<REPLICATE:yuck-replicate-0>
<POSIX(/tmp/yuck_brick1):questor:/tmp/yuck_brick1/testfile>
<POSIX(/tmp/yuck_brick2):questor:/tmp/yuck_brick2/testfile>)(<REPLICATE:yuck-replicate-1>
<POSIX(/tmp/yuck_brick3):questor:/tmp/yuck_brick3/testfile>
<POSIX(/tmp/yuck_brick4):questor:/tmp/yuck_brick4/testfile>)(<REPLICATE:yuck-replicate-2>
<POSIX(/tmp/yuck_brick5):questor:/tmp/yuck_brick5/testfile>
<POSIX(/tmp/yuck_brick6):questor:/tmp/yuck_brick6/testfile>))"
Additional info:
This is blocking hadoop feature development
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list