[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic
From: |
Toshiyuki Ishimura |
Subject: |
[rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic file |
Date: |
Wed, 25 Jul 2007 02:15:25 +0900 |
User-agent: |
Thunderbird 2.0.0.5 (Windows/20070716) |
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.
--
Toshiyuki Ishimura
Exception '[Errno 116] Stale NFS file handle: '/mnt/backup/rdiff-backup.tmp.1''
raised of class 'exceptions.OSError':
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 337, in
Backup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 38, in
Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 218, in
patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.4/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 515, in
fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 536, in
patch_to_temp
if not self.patch_snapshot_to_temp(diff_rorp, new):
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 553, in
patch_snapshot_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 161, in
copy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 853, in
chown
try: self.conn.C.lchown(self.path, uid, gid)
ACLs not supported by filesystem at hoge
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists Off
Extended attributes On
Case sensitivity On
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Extended attributes not supported by filesystem at
/mnt/backup/rdiff-backup-data/rdiff-backup.tmp.0
ACLs not supported by filesystem at
/mnt/backup/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Ownership changing On
Hard linking On
fsync() directories On
Directory inc permissions On
High-bit permissions On
Extended filenames On
Access control lists Off
Extended attributes Off
Case sensitivity On
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Starting mirror hoge to /mnt/backup
Processing changed file .
Processing changed file bar
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 337, in
Backup
backup.Mirror(rpin, rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 38, in
Mirror
DestS.patch(dest_rpath, source_diffiter)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 218, in
patch
ITR(diff.index, diff)
File "/var/lib/python-support/python2.4/rdiff_backup/rorpiter.py", line 281,
in __call__
last_branch.fast_process(*args)
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 515, in
fast_process
if self.patch_to_temp(mirror_rp, diff_rorp, tf):
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 536, in
patch_to_temp
if not self.patch_snapshot_to_temp(diff_rorp, new):
File "/var/lib/python-support/python2.4/rdiff_backup/backup.py", line 553, in
patch_snapshot_to_temp
rpath.copy_attribs(diff_rorp, new)
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 161, in
copy_attribs
rpout.chown(*rpout.conn.user_group.map_rpath(rpin))
File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 853, in
chown
try: self.conn.C.lchown(self.path, uid, gid)
OSError: [Errno 116] Stale NFS file handle: '/mnt/backup/rdiff-backup.tmp.1'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [rdiff-backup-users] Stale NFS file handle error with unfsd and symbolic file,
Toshiyuki Ishimura <=