[NFS-ganesha] unlink file remains in ./glusterfs/unlinks after delete file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@gmail.com
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux