Bug 763803 (GLUSTER-2071) - invalid stat information
Summary: invalid stat information
Keywords:
Status: CLOSED WONTFIX
Alias: GLUSTER-2071
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.0.5
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-09 18:56 UTC by Joe Julian
Modified: 2015-09-01 23:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Joe Julian 2010-11-09 18:56:03 UTC
Version is actually 3.0.6 which is not yet available in the selection list.

For some reason I ended up multiple duplicates of individual files on each dht subvolume. By setting use-readdirp the multiple copies do show up in the directory listing, but only the stat information for the last entry is used for each copy. This results in each entry showing the same inode information making the salvaging of data more difficult.

I would expect that either the dht translator would self-heal in these circumstances, or that it would display the correct stat information for each duplicate file.

Comment 1 Anand Avati 2010-11-10 02:09:26 UTC
It is hard for DHT to decide for itself which of the files to 'chose' over the other in case of duplicates. The best it can do is present both the files in listing so that the user can fix it manually by removing extra files from the backend. By nature of how syscalls work at the filesystem level (VFS/fuse), it is not possible to present two files with the same name separate file info in directory listing.


Note You need to log in before you can comment on or make changes to this bug.