[Bugs] [Bug 1763987] New: libgfapi: ls -R cifs /mount_point/.snaps directory failed with "ls: reading directory /root/dir/.snaps/test2: Not a directory"

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 22 06:26:47 UTC 2019


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

            Bug ID: 1763987
           Summary: libgfapi: ls -R cifs /mount_point/.snaps directory
                    failed with "ls: reading directory
                    /root/dir/.snaps/test2: Not a directory"
           Product: GlusterFS
           Version: 6
          Hardware: x86_64
                OS: Linux
            Status: NEW
         Component: libgfapi
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: 13965432176 at 163.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:
Created snaps and activate snaps, and then ls -R cifs /mount_point/.snaps
directory failed.

Version-Release number of selected component (if applicable):
gluster-6
samba-4.8.3

How reproducible:
create testvol ec 1*(4+2)

Steps to Reproduce:
1.volume set features.uss on , set user.cifs on, snap-activate-on-create
disable
2.start testvol
3.mount testvol on client1:/root/dir and mkdir -p /root/dir/aaa{1..5}
4.snapshot create test2 testvol no-timestamp
5.snapshot activate test2
6.ls -R /root/dir/.snaps/ can't get snapshot files.

Actual results:
[root at client1 /]# ls -R /root/dir/.snaps/
/root/dir/.snaps/:
test2

/root/dir/.snaps/test2:
ls: reading directory /root/dir/.snaps/test2: Not a directory

Expected results:
list all directory

Additional info:
features.snapshot-directory .snaps

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list