rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] Stale NFS file handle error with unfsd and symb


From: Toshiyuki Ishimura
Subject: Re: [rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic file
Date: Wed, 25 Jul 2007 04:14:41 +0900
User-agent: Thunderbird 2.0.0.5 (Windows/20070716)

Ok. I try to gather verbose rdiff log and unfsd log with strace.

And actual command, host and directory name as follow.
server01:~$ mkdir hoge /mnt
server01:~$ touch hoge/foo
server01:~$ (cd hoge; ln -s foo bar)
server01:~$ mount -t nfs -o soft,rw,intr server04:/var/backup /mnt
server01:~$ rdiff-backup hoge /mnt

After error, remote directory as follow
server04:~# ls -la /var/backup/
total 12
drwx------  3 root root 4096 Jul 25 03:49 .
drwxr-xr-x 16 root root 4096 Jul 25 03:05 ..
drwx------  3 root root 4096 Jul 25 03:49 rdiff-backup-data
lrwxrwxrwx  1 root root    3 Jul 25 03:49 rdiff-backup.tmp.1 -> foo

It seems that rdiff or unfsd fail to rename "rdiff-backup.tmp.1" to "bar".

address@hidden wrote:
mhhh - you may add -v9 to rdiff to increase verbosity and you also may strace 
unfsd on the server side, to see if something fails with unfsd

roland

-----Ursprüngliche Nachricht-----
Von: Toshiyuki Ishimura <address@hidden>
Gesendet: 24.07.07 20:11:33
An: address@hidden
CC: address@hidden
Betreff: Re: [rdiff-backup-users] Stale NFS file handle error with unfsd and 
symbolic file

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@hidden
Betreff: [rdiff-backup-users] Stale NFS file handle error with unfsd and 
symbolic file

I 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.


Attachment: logs.tar.gz
Description: application/gzip-compressed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]