How to troubleshoot rsync to cephfs via nfs-ganesha stalling

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

 




This rsync command fails and makes the local nfs unavailable (Have to 
stop nfs-ganesha, kill all rsync processes on the client and then start 
nfs-ganesha)

rsync -rlptDvSHP --delete  --exclude config.repo --exclude "local*" 
--exclude "isos" 
anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxx::centos/7/os/x86_64/ 
/localpath/CentOS7-x86_64/

When I do individual rsyncs on the subfolders 

-rw-r--r-- 1 nobody 500   14 Nov 25 17:01 CentOS_BuildTag
-rw-r--r-- 1 nobody 500   29 Nov 25 17:16 .discinfo
drwxr-xr-x 3 nobody 500 8.3M Nov 25 17:20 EFI
-rw-rw-r-- 1 nobody 500  227 Aug 30  2017 EULA
-rw-rw-r-- 1 nobody 500  18K Dec  9  2015 GPL
drwxr-xr-x 3 nobody 500 572M Nov 25 17:21 images
drwxr-xr-x 2 nobody 500  57M Dec  9 14:11 isolinux
drwxr-xr-x 2 nobody 500 433M Nov 25 17:20 LiveOS
drwxrwxr-x 2 nobody 500 9.5G Nov 25 16:58 Packages
drwxrwxr-x 2 nobody 500  29M Dec  9 13:53 repodata
-rw-rw-r-- 1 nobody 500 1.7K Dec  9  2015 RPM-GPG-KEY-CentOS-7
-rw-rw-r-- 1 nobody 500 1.7K Dec  9  2015 RPM-GPG-KEY-CentOS-Testing-7
-rw-r--r-- 1 nobody 500  354 Nov 25 17:21 .treeinfo

These rsyncs are all going fine.

rsync -rlptDvSHP --delete  --exclude config.repo --exclude "local*" 
--exclude "isos" 
anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxx::centos/7/os/x86_64/Packages/ 
/localpath/CentOS7-x86_64/Packages/
rsync -rlptDvSHP --delete  --exclude config.repo --exclude "local*" 
--exclude "isos" 
anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxx::centos/7/os/x86_64/repodata/ 
/localpath/CentOS7-x86_64/repodata/
rsync -rlptDvSHP --delete  --exclude config.repo --exclude "local*" 
--exclude "isos" 
anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxx::centos/7/os/x86_64/LiveOS/ 
/localpath/CentOS7-x86_64/LiveOS/

Except when I try to rsync the file CentOS_BuildTag then everything 
stalls. Leaving such files
-rw------- 1 500 500     0 Dec  9 14:26 .CentOS_BuildTag.2igwc5
-rw------- 1 500 500     0 Dec  9 14:28 .CentOS_BuildTag.tkiwc5

I can resolf this by doing a wget and moving the file to the location
wget 
'http://mirror.ams1.nl.leaseweb.net/centos/7/os/x86_64/CentOS_BuildTag'
mv CentOS_BuildTag /localpath/CentOS7-x86_64/

I had also problems with .discinfo and when I ls this directory on 
cephfs mount it takes a long time to produce output. 

When I do the full rsync to the cephfs mount it completes without 
errors, when I then later do the sync on the nfs mount it completes also 
(nothing being copied)

Anybody know what I should do to resolv this? Is this a typical ganesha 
issue or is this cephfs corruption, that make ganesha stall?

Thanks,












_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux