[Borgbackup] Backup error read: [Errno 5] Input/output error on CIFS mount

Jörn Körner joern.koerner at gmail.com
Wed Jan 3 02:40:35 EST 2018


Hi

I'm trying to backup a CIFS mount into a borg repository which shows
errors on quite a lot files but not all.
/mnt/REMOTECIFS/var/lib/gems/1.9.1/doc/shoulda-matchers-2.8.0/rdoc/Shoulda/Matchers/ActiveRecord.html:
read: [Errno 5] Input/output error

I mounted the share with
mount -t cifs -o nofail,ro,username=root,password=SECRETPASS //FQDN/var
/mnt/REMOTECIFS/var

and backup with
borg create --debug --filter AME --stats --show-rc --compression lz4
--exclude-caches /root/test/::{hostname}-{now} /mnt/REMOTECIFS/var/lib

I'm able to list, and even read the file but borg shows errors.
# ls -la
/mnt/REMOTECIFS/var/lib/gems/1.9.1/doc/shoulda-matchers-2.8.0/rdoc/Shoulda/Matchers/ActiveRecord.html
-rw-r--r-- 1 root root 148311 Mar  6  2015
/mnt/REMOTECIFS/var/lib/gems/1.9.1/doc/shoulda-matchers-2.8.0/rdoc/Shoulda/Matchers/ActiveRecord.html
# head
/mnt/REMOTECIFS/var/lib/gems/1.9.1/doc/shoulda-matchers-2.8.0/rdoc/Shoulda/Matchers/ActiveRecord.html
<!DOCTYPE html>
<html>
<head> ...

I also played with several mount options like
'cache=none,noacl,nouser_xattr,noperm' with no success at all.

Does anyone knows hot to solve this? I've no clue why I'm able to read
those files but unable to backup...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20180103/b4a92ae1/attachment.html>


More information about the Borgbackup mailing list