[Bugs] [Bug 1163416] [USS]: From NFS, unable to go to .snaps directory (error: No such file or directory)

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 2 09:28:52 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1163416

Vijaikumar Mallikarjuna <vmallika at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[USS]: Unable to go to      |[USS]: From NFS, unable to
                   |.snaps directory from any   |go to .snaps directory
                   |directories other than root |(error: No such file or
                   |after enabling uss          |directory)



--- Comment #3 from Vijaikumar Mallikarjuna <vmallika at redhat.com> ---
There are two problem mentioned in the bug description.
Problem 1) 
If the current directory '/dir' is not a part of the snapshot say 'snap1', then
the user cannot enter the '/dir/.snaps/snap1' directory.
This is an expected behavior and not a bug

Problem 2)
Consider a testcase:
 mount -t nfs host1:/vol1 /mnt
 ls /mnt
 ls /mnt/.snaps (As expected this fails)
 gluster volume set vol1 features.uss enable
Now `ls /mnt/.snaps` should work, but fails with No such file or
directory.
This is because NFS client  and Kernel VFS caches the list of files in a
directory.
This cache is updated if there are any changes in the directory attributes.

This problem will be fixed by patch: http://review.gluster.org/9106

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=qNQYBms9HE&a=cc_unsubscribe


More information about the Bugs mailing list