|
From: | Toshiyuki Ishimura |
Subject: | Re: [rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic file |
Date: | Thu, 26 Jul 2007 18:53:48 +0900 |
User-agent: | Thunderbird 2.0.0.5 (Windows/20070716) |
Sorry, I have report by mistake. Rsync failed to copy files as follow. local:~$ rsync -a -x --delete hoge/ mnt rsync: chown "mnt/bar" failed: Stale NFS file handle (116)rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
It is doubtful whether rdiff-backup is wrong. So, I try to chown remote symbolic file. remote:/tmp# touch foo remote:/tmp# ln -s foo bar Then back to local. local:~# mkdir hoge mnt local:~# mount -t nfs -o soft,rw,intr remote:/tmp mnt local:~# chown -h nobody mnt/bar chown: changing ownership of 'mnt/bar': Stale NFS file handle "-h" option in chown changes ownership symbolic link itself. This shows that rdiff-backup has no error. Maybe, unfsd cannot change ownership of symbolic link (lchown system call). Thanks, many helps. Toshiyuki Ishimura wrote:
I try to run rsync as follows, local:~$ rsync -a -x --delete hoge/ mnt There is no errors, and local files are completely copied to the remote. address@hidden is wrote:hi ! could you try rsync instead, to se if this makes a difference ? roland-----Ursprüngliche Nachricht----- Von: Toshiyuki Ishimura <address@hidden> Gesendet: 24.07.07 19:16:38 An: address@hiddenBetreff: [rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic fileI encount "Stale NFS file handle" error when backing up to the nfs mouted filesystem. This is on Debian Etch machines with rdiff-backup 1.1.5. The unfsd 0.9.15 (user-mode nfs daemon) is running on remote machine. There is no problem with normail files as follow. local:~$ mkdir hoge mnt local:~$ touch hoge/foo local:~$ mount -t nfs -o soft,rw,intr remote:/tmp mnt local:~$ rdiff-backup hoge mnt However, when "hoge" directory has a symbolic file, "Stale NFS file handle" error occurred. local:~$ mkdir hoge mnt local:~$ touch hoge/foo local:~$ (cd hoge; ln -s foo bar) local:~$ mount -t nfs -o soft,rw,intr remote:/tmp mnt local:~$ rdiff-backup hoge mnt (error detail in the attachment) When using kernel-mode nfsd, this error never occurred. Any helps? Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |