Bug 800819
Summary: | replace-brick: stat info is different for nfs/fuse mounts | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Saurabh <saujain> |
Component: | glusterd | Assignee: | Divya <divya> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | shylesh <shmohan> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | pre-release | CC: | gluster-bugs, mzywusko, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:08:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
Saurabh
2012-03-07 10:51:52 UTC
things for notice, a remount gives the correct info, [root@RHSSA1 ~]# umount /mnt/glfs [root@RHSSA1 ~]# mount -t glusterfs 10.1.11.160:/dist-rep /mnt/glfs [root@RHSSA1 ~]# stat /mnt/glfs/file.1 File: `/mnt/glfs/file.1' Size: 1048576 Blocks: 2056 IO Block: 131072 regular file Device: 18h/24d Inode: 12390610755936095678 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-03-07 10:04:48.730222000 +0000 Modify: 2012-03-07 09:03:42.517422000 +0000 Change: 2012-03-07 10:04:48.849237540 +0000 [root@RHSSA1 ~]# but ideally a remount is not required to get the correct info. Can you please confirm if this happens again? Presently, for me also it not shown any difference in stat info, before replace-brick and after it, [root@QA-31 glusterfs-3.3.0qa33]# [root@QA-31 glusterfs-3.3.0qa33]# stat /mnt/nfs-test/f.1 File: `/mnt/nfs-test/f.1' Size: 1048576 Blocks: 2056 IO Block: 65536 regular file Device: 16h/22d Inode: 9573494714716450020 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-06 04:11:07.355890000 -0400 Modify: 2012-04-04 00:10:09.559402000 -0400 Change: 2012-04-06 04:11:07.413007417 -0400 [root@QA-31 glusterfs-3.3.0qa33]# [root@QA-31 glusterfs-3.3.0qa33]# [root@QA-31 glusterfs-3.3.0qa33]# stat /mnt/glfs/f.1 File: `/mnt/glfs/f.1' Size: 1048576 Blocks: 2056 IO Block: 131072 regular file Device: 15h/21d Inode: 9573494714716450020 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-06 04:11:07.355890000 -0400 Modify: 2012-04-04 00:10:09.559402000 -0400 Change: 2012-04-06 04:11:08.071231028 -0400 [root@QA-31 glusterfs-3.3.0qa33]# as per the latest discussion we had I am updating the bug again, 1. Gluster volume info ########################## [root@RHS-71 replace-quota_dist_rep.1333512082]# gluster volume info dist-rep1 Volume Name: dist-rep1 Type: Distributed-Replicate Volume ID: 9bd3c7b2-2c46-49ea-9ffb-523d4c2d5334 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: 172.17.251.71:/export/dr1 Brick2: 172.17.251.72:/export/drr1 Brick3: 172.17.251.73:/export/ddr1 Brick4: 172.17.251.74:/export/ddrr1 2. info from the client ######################## [root@QA-31 nfs-test]# stat /mnt/glfs/f.1 File: `/mnt/glfs/f.1' Size: 1024 Blocks: 16 IO Block: 131072 regular file Device: 16h/22d Inode: 11415389414041734633 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 08:27:01.907902158 -0400 Modify: 2012-04-12 08:27:01.913948453 -0400 Change: 2012-04-12 08:27:01.914905443 -0400 [root@QA-31 nfs-test]# stat f.1 File: `f.1' Size: 1024 Blocks: 16 IO Block: 65536 regular file Device: 15h/21d Inode: 11415389414041734633 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 08:27:46.295073262 -0400 Modify: 2012-04-12 08:27:01.913948453 -0400 Change: 2012-04-12 08:27:01.914905443 -0400 3. info from the server side ################################ [root@RHS-71 replace-quota_dist_rep.1333512082]# gluster volume replace-brick dist-rep1 172.17.251.71:/export/dr1 172.17.251.71:/export/replace-dr1 commit replace-brick commit successful [root@RHS-71 replace-quota_dist_rep.1333512082]# stat /export/replace-dr1/f.1 File: `/export/replace-dr1/f.1' Size: 1024 Blocks: 16 IO Block: 4096 regular file Device: fc01h/64513d Inode: 134288880 Links: 2 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 12:30:27.165634226 +0000 Modify: 2012-04-12 12:27:01.913948000 +0000 Change: 2012-04-12 12:29:38.650895380 +0000 [root@RHS-71 replace-quota_dist_rep.1333512082]# ssh 172.17.251.72 "stat /export/drr1/f.1" root.251.72's password: File: `/export/drr1/f.1' Size: 1024 Blocks: 16 IO Block: 4096 regular file Device: fc01h/64513d Inode: 47365 Links: 2 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 12:27:46.953237557 +0000 Modify: 2012-04-12 12:27:02.572235905 +0000 Change: 2012-04-12 12:27:02.574235483 +0000 [root@RHS-71 replace-quota_dist_rep.1333512082]# 4. info from cleint after replace-brick ########################################## root@QA-31 nfs-test]# stat f.1 File: `f.1' Size: 1024 Blocks: 16 IO Block: 65536 regular file Device: 15h/21d Inode: 11415389414041734633 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 08:29:38.649896000 -0400 Modify: 2012-04-12 08:27:01.913948000 -0400 Change: 2012-04-12 08:29:38.650895380 -0400 [root@QA-31 nfs-test]# [root@QA-31 nfs-test]# [root@QA-31 nfs-test]# stat /mnt/glfs/f.1 File: `/mnt/glfs/f.1' Size: 1024 Blocks: 16 IO Block: 131072 regular file Device: 16h/22d Inode: 11415389414041734633 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-04-12 08:27:46.953237557 -0400 Modify: 2012-04-12 08:27:02.572235905 -0400 Change: 2012-04-12 08:27:02.574235483 -0400 Added as a Known Issue in Beta 2 Release Notes and it is available at: http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Storage/2/html/2.0_Release_Notes/chap-2.0_Release_Notes-Test_Chapter.html |