Bug 1170365
Summary: | AFR+SNAPSHOT: File with hard link have different inode number in USS | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anil Shah <ashah> | |
Component: | snapshot | Assignee: | Vijaikumar Mallikarjuna <vmallika> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | Anil Shah <ashah> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.0 | CC: | asengupt, asriram, nsathyan, rcyriac, rhinduja, rhs-bugs, smohan, storage-qa-internal, vmallika | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | USS | |||
Fixed In Version: | Doc Type: | Known Issue | ||
Doc Text: |
Virtual inode numbers are generated for all the files in the .snaps directory. If there are hard links, they are assigned different inode numbers instead of the same inode number.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1171703 1303591 (view as bug list) | Environment: | ||
Last Closed: | 2016-02-01 11:50:23 UTC | Type: | Bug | |
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: | 1153907, 1171703, 1303591, 1316099 |
Description
Anil Shah
2014-12-03 22:03:57 UTC
Extended attributes of snap bricks after snapshot [root@harv b1]# getfattr -m. -d -e hex /var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick1/b1/myfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick1/b1/myfile trusted.gfid=0x9f0604ee03714a1d8659907e265a5ea7 [root@harv b1]# getfattr -m. -d -e hex /var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick1/b1/newfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick1/b1/newfile trusted.gfid=0x9f0604ee03714a1d8659907e265a5ea7 [root@hicks b2]# getfattr -m. -d -e hex /var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick2/b2/myfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick2/b2/myfile trusted.gfid=0x9f0604ee03714a1d8659907e265a5ea7 [root@hicks b2]# getfattr -m. -d -e hex /var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick2/b2/newfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/87fc597633ba4d91bc0232c73a33f2b8/brick2/b2/newfile trusted.gfid=0x9f0604ee03714a1d8659907e265a5ea7 =========================================================================== Extended Attributes of testvol volume [root@harv b1]# getfattr -m. -d -e hex /var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick1/b1/newfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick1/b1/newfile trusted.afr.testvol-client-0=0x000000000000000000000000 trusted.afr.testvol-client-1=0x000000000000000000000000 trusted.gfid=0xfe1b5eb7bad2474daa7e75dfaffded26 [root@harv b1]# getfattr -m. -d -e hex /var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick1/b1/myfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick1/b1/myfile trusted.afr.testvol-client-0=0x000000000000000000000000 trusted.afr.testvol-client-1=0x000000000000000000000000 trusted.gfid=0xfe1b5eb7bad2474daa7e75dfaffded26 [root@hicks b2]# getfattr -m. -d -e hex /var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick2/b2/myfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick2/b2/myfile trusted.afr.testvol-client-0=0x000000000000000000000000 trusted.afr.testvol-client-1=0x000000000000000000000000 trusted.gfid=0xfe1b5eb7bad2474daa7e75dfaffded26 [root@hicks b2]# getfattr -m. -d -e hex /var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick2/b2/newfile getfattr: Removing leading '/' from absolute path names # file: var/run/gluster/snaps/442d75acda304b37b52ca6480cb1fb18/brick2/b2/newfile trusted.afr.testvol-client-0=0x000000000000000000000000 trusted.afr.testvol-client-1=0x000000000000000000000000 trusted.gfid=0xfe1b5eb7bad2474daa7e75dfaffded26 Patch submitted upstream: http://review.gluster.org/#/c/9255 Hi Vijai, I see this bug added as a known issue for the 3.0.3 release. Can you please change the doc type to known issue and add the doc text? Hi Vijai, Can you please review the edited doc text and sign off on the technical accuracy? Doc-text looks good to me This bug will be fixed in 3.1.z and bug# 1303591 tracks the issue for 3.1 |