[Gluster-devel] [NFS-ganesha] unlink file remains in ./glusterfs/unlinks after delete file
梁正和
otirafuu at gmail.com
Thu Jun 30 06:26:00 UTC 2016
Hi,
I'm trying to export gluster-volume by nfs-ganesha.
After create --> Some I/O --> delete file from nfs mount point.
The file has been moved to ./glusterfs/unlinkls.
Excepted result: no files in the unlink folder.
Environment: single gluster server with
nfs-ganesha version: 2.2.0-6
glusterfs version: 3.7.12
# Gluster volume info
Volume Name: for_nfs
Type: Distribute
Volume ID: 5db07be3-0f09-413e-a857-33982c1a41e7
Status: Started
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: server1:/export/d1/fs
Options Reconfigured:
performance.readdir-ahead: on
# ganesha_mgr show_exports
Exports:
Id, path, nfsv3, mnt, nlm4, rquota,nfsv40, nfsv41, nfsv42, 9p, last
2, /for_nfs, 0, 0, 0, 0, 1, 0, 0, 0, Thu Jun 30 22:08:36 2016,
346097480 nsecs
0, /, 0, 0, 0, 0, 0, 0, 0, 0, Thu Jun 30 22:00:21 2016, 516560773
nsecs
Steps to Reproduce:
1. Create a gluster volume and share threoug nfs-ganesha
2. On the nfs mount point, do some file operation (ex echo foor >> bar)
3. Delete bar from the nfs mount point
Result: file bar has been move to unlink folder
# pwd
/export/d1/fs/.glusterfs/unlink
# ls
cef0380d-8300-44ee-8e78-9e773938c935
# cat cef0380d-8300-44ee-8e78-9e773938c935
foo
Thanks,
--
梁正和 Jheng-He Liang
otirafuu at gmail.com <navys23 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160630/40ad0c69/attachment-0001.html>
More information about the Gluster-devel
mailing list