Hide Forgot
Description of problem: converting a distribute volume to distributd-stripe makes older files invisible Version-Release number of selected component (if applicable): Mainline How reproducible: always Steps to Reproduce: 1. create a distribute volume , mount it and create some files 2. now add bricks with some stripe count which converts distribute volume to distributed-stripe 3. Now on the mount point files will not be visible at all Actual results: Expected results: Additional info:
On plain distribute i create a file "hello", after i convert the volume to stripe above created file was not visible , so tried to create the file with same name again but failed saying " [root@RHEL6 shylesh-mount]# >hello -bash: hello: No such file or directory " mount logs ================ [2012-02-06 20:55:51.375021] W [client3_1-fops.c:418:client3_1_stat_cbk] 0-dist-shylesh-client-3: remote operation failed: No such file or directory [2012-02-06 20:55:56.863883] I [glusterfsd-mgmt.c:63:mgmt_cbk_spec] 0-mgmt: Volume file changed [2012-02-06 20:55:57.165288] I [glusterfsd-mgmt.c:1201:mgmt_getspec_cbk] 0-glusterfs: No change in volfile, continuing [2012-02-06 20:56:25.458089] D [client-handshake.c:180:client_start_ping] 0-dist-shylesh-client-0: returning as transport is already disconnected OR there are no frames (0 || 0) [2012-02-06 20:56:25.458157] D [client-handshake.c:180:client_start_ping] 0-dist-shylesh-client-2: returning as transport is already disconnected OR there are no frames (0 || 0) [2012-02-06 20:56:25.458168] D [client-handshake.c:180:client_start_ping] 0-dist-shylesh-client-1: returning as transport is already disconnected OR there are no frames (0 || 0) [2012-02-06 20:56:25.458179] D [client-handshake.c:180:client_start_ping] 0-dist-shylesh-client-3: returning as transport is already disconnected OR there are no frames (0 || 0) [2012-02-06 20:56:35.130777] D [stripe.c:2589:stripe_open_lookup_cbk] 0-dist-shylesh-stripe-1: dist-shylesh-client-3 returned error No such file or directory [2012-02-06 20:56:35.130807] D [stripe.c:2702:stripe_open_lookup_cbk] 0-dist-shylesh-stripe-1: /hello: stripe info need to be healed [2012-02-06 20:56:35.269530] W [client3_1-fops.c:899:client3_1_getxattr_cbk] 0-dist-shylesh-client-2: remote operation failed: No data available. Path: (null) [2012-02-06 20:56:35.269591] E [dht-helper.c:642:dht_migration_complete_check_task] 0-dist-shylesh-dht: /hello: failed to get the 'linkto' xattr No data available [2012-02-06 20:56:35.269650] W [fuse-bridge.c:731:fuse_fd_cbk] 0-glusterfs-fuse: 13: OPEN() /hello => -1 (No such file or directory)
have to come up with a valid matrix for volume type changes. Stripe count changes are not normally not supported.
Will be not supported volume type change. Marking it as DP for now (documentation pending)
CHANGE: http://review.gluster.com/3034 (cli: give warning to user in add-brick if stripe count given) merged in master by Vijay Bellur (vijay)
marking as known issue. Currently added a CLI warning for this configuration. Not going to fix the behavior.