Bug 1763987 - libgfapi: ls -R cifs /mount_point/.snaps directory failed with "ls: reading directory /root/dir/.snaps/test2: Not a directory"
Summary: libgfapi: ls -R cifs /mount_point/.snaps directory failed with "ls: reading d...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: libgfapi
Version: 6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-22 06:26 UTC by yinkui
Modified: 2020-03-12 12:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 12:16:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description yinkui 2019-10-22 06:26:47 UTC
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@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

Comment 1 Worker Ant 2020-03-12 12:16:25 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/858, and will be tracked there from now on. Visit GitHub issues URL for further details


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