Hello.
Since we upgraded to Infernalis last, we have noticed a severe problem with cephfs when we have it shared over Samba and NFS
Directory listings are showing an inconsistent view of the files:
$ ls /lts-mon/BD/xmlExport/ | wc -l100$ sudo umount /lts-mon$ sudo mount /lts-mon$ ls /lts-mon/BD/xmlExport/ | wc -l3507
The only work around I have found is un-mounting and re-mounting the nfs share, that seems to clear it up
Same with samba, I'd post it here but its thousands of lines. I can add additional details on request.
This happened after our upgrade to infernalis. Is it possible the MDS is in an inconsistent state?
We have cephfs mounted on a server using the built in cephfs kernel module:
lts-mon:6789:/ /ceph ceph name=admin,secretfile=/etc/ceph/admin.secret,noauto,_netdev
We are running all of our ceph nodes on ubuntu 14.04 LTS. Samba is up to date, 4.1.6, and we export nfsv3 to linux and freebsd systems. All seem to exhibit the same behavior.
system info:
# uname -aLinux lts-osd1 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linuxroot@lts-osd1:~# lsblsblk lsb_releaseroot@lts-osd1:~# lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 14.04.3 LTSRelease: 14.04Codename: trusty
package info:
# dpkg -l|grep cephii ceph 9.2.0-1trusty amd64 distributed storage and file systemii ceph-common 9.2.0-1trusty amd64 common utilities to mount and interact with a ceph storage clusterii ceph-fs-common 9.2.0-1trusty amd64 common utilities to mount and interact with a ceph file systemii ceph-mds 9.2.0-1trusty amd64 metadata server for the ceph distributed file systemii libcephfs1 9.2.0-1trusty amd64 Ceph distributed file system client libraryii python-ceph 9.2.0-1trusty amd64 Meta-package for python libraries for the Ceph librariesii python-cephfs 9.2.0-1trusty amd64 Python libraries for the Ceph libcephfs library
What is interesting, is a directory or file will not show up in a listing, however, if we directly access the file, it shows up in that instance:
# ls -al |grep SCHOOL# ls -alnd SCHOOL667055drwxrwsr-x 1 21695 21183 2962751438 Jan 13 09:33 SCHOOL667055
Any tips are appreciated!
Thanks,
Mike C
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com