hi,
i'm backing up a file server that happens to be running a samba server.
i just got the following error from a backup run:
Traceback (most recent call last):
File "/usr/lib/bup/cmd/bup-index", line 237, in <module>
update_index(rp, excluded_paths)
File "/usr/lib/bup/cmd/bup-index", line 132, in update_index
meta = metadata.from_path(path, statinfo=pst)
File "/usr/lib/bup/bup/metadata.py", line 751, in from_path
result._add_linux_attr(path, st)
File "/usr/lib/bup/bup/metadata.py", line 528, in _add_linux_attr
attr = get_linux_file_attr(path)
OSError: [Errno 11] Resource temporarily unavailable: '/srv/share/os/debian-fsi.iso'
that looks like a file that one of our SMB/CIFS clients has open:
# lsof -n | grep debian-fsi
smbd 10252 root 26r REG 9,0 15656960 2359366 /srv/share/os/debian-fsi.iso
i would guess samba is doing some sort of locking that's preventing bup
from retrieving the file attributes. this is a read-only file share, so
i'm going to try setting "locking = no" in the samba config, but maybe
there's something bup needs to do too.
--
Robert Edmonds
edm...@debian.org