You are not logged in.
Hi everyone,
I am trying to create backups to a samba shared folder on a Buffalo LS410D NAS using rsync (or luckybackup). rsync runs for some time and then fail with no space left (cf later for full log). I can relaunch it it will write some more files and fail again on a later file. The files in question contains japanese character (don't know if it matters) and I can copy them using cp even after rsync failed. I tried first with luckybackup which failed (same error) and then tried with rsync. the different options tested: z, --iconv UTF8 in rsync with always -arv. In my fstab I tried iocharset=utf8, and finally on the NAS I tried with SMB2 (?) protocol on and off.
What's the matter? I have limited configuration option on the NAS (no access to smb.conf) as it is a non-hacked buffalo...
Here are the different configuration files and logs:
rsync log:
rsync -avr Research/Administration/Pamphlets/ポスター入稿用/ /mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/ --iconv UTF8
sending incremental file list
./
140316入稿/
入稿データ/
入稿データ/ポスター(JAMBIO).eps
入稿データ/ポスター(JAMBIO).pdf
入稿データ/ポスター(中野研).eps
入稿データ/ポスター(今研).eps
入稿データ/ポスター(堀江研).eps
入稿データ/ポスター(概要).eps
入稿データ/ポスター(概要).pdf
入稿データ/ポスター(沿革).eps
入稿データ/ポスター(沿革).pdf
入稿データ/ポスター(稲葉研).eps
入稿データ/ポスター(笹倉研).eps
入稿データ/ポスター(谷口研).eps
rsync: close failed on "/mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/入稿データ/.ポスター(概要).pdf.RsDyZU": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(856) [receiver=3.1.0]
and just after a succesfull cp on the same file:
sylvain@sylvain-pc ~ % cp -v Research/Administration/Pamphlets/ポスター入稿用/ポスター(概要).ai /mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/
‘Research/Administration/Pamphlets/ポスター入稿用/ポスター(概要).ai’ -> ‘/mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/ポスター(概要).ai’
sylvain@sylvain-pc ~ % ls -al /mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/ポスター(概要 ).ai
-rwxr-xr-x 1 sylvain root 58499239 Apr 3 17:01 /mnt/Coral_NAS/Sylvain/Research/Administration/Pamphlets/ポスター入稿用/ポスター(概要).ai*
My fstab
sylvain@sylvain-pc ~ % cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
UUID=043c390b-9f07-4e83-a93f-408325a0ff6c /boot ext2 defaults 0 1
UUID=7473fc5d-b3fe-4891-bcea-4fccd2ac155e /home ext4 defaults,user_xattr 0 1
UUID=ad7b9ce5-7dd8-44cb-966c-3b91e205d301 / ext4 defaults 0 1
UUID=26db7f12-9678-47fd-acf3-39ec1b751cd0 /home/sylvain/Research/ ext4 defaults 0 1
/dev/sdb2 swap swap defaults,pri=100 0 0
/swapfile none swap defaults,pri=0 0 0
tmpfs /tmp tmpfs nodev,nosuid,size=4G 0 0
##Remote NAS locations for Backup
//CORAL-NAS/sylvain-backup /mnt/Coral_NAS/Sylvain/ cifs credentials=/root/passwd,users,rw,uid=sylvain,iocharset=utf8 0 1
df -h and mount -l to show that everything is mounted and space available:
sylvain@sylvain-pc ~ % mount -l
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=2018156k,nr_inodes=504539,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sdb3 on / type ext4 (rw,relatime,data=ordered) [ARCH64]
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=4194304k)
/dev/sdb1 on /boot type ext2 (rw,relatime) [BOOT]
/dev/sdb4 on /home type ext4 (rw,relatime,data=ordered) [HOME]
/dev/sda1 on /home/sylvain/Research type ext4 (rw,relatime,data=ordered) [Research]
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=404164k,mode=700,uid=1000,gid=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
//CORAL-NAS/sylvain-backup on /mnt/Coral_NAS/Sylvain type cifs (rw,nosuid,nodev,noexec,relatime,vers=1.0,cache=strict,username=sylvain,domain=CORAL-NAS,uid=1000,forceuid,gid=0,noforcegid,addr=130.158.198.95,file_mode=0755,dir_mode=0755,nounix,serverino,rsize=61440,wsize=65536,actimeo=1)
sylvain@sylvain-pc ~ % df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 15G 14G 357M 98% /
dev 2.0G 0 2.0G 0% /dev
run 2.0G 872K 2.0G 1% /run
tmpfs 2.0G 612K 2.0G 1% /dev/shm
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 4.0G 72K 4.0G 1% /tmp
/dev/sdb1 99M 35M 60M 37% /boot
/dev/sdb4 132G 58G 68G 46% /home
/dev/sda1 147G 61G 79G 44% /home/sylvain/Research
tmpfs 395M 8.0K 395M 1% /run/user/1000
//CORAL-NAS/sylvain-backup 1.9T 6.9G 1.8T 1% /mnt/Coral_NAS/Sylvain
Thanks for any help.
Last edited by seal20 (2014-04-07 01:29:17)
Offline
I may have found the culprit! rsync is now running for some time now without failing. I will add solved to the title tomorrow if all the 60G have been back up.
The solution was: Bad Cable! I unplugged the cable and switch to a wireless dongle (didn't have another cable under the hand) and it is now working!
So if you happen to have similar problems: check your cables!
Thanks and hope it is useful for other people.
Offline
Unfortunately I was too fast. It ran longer but I got the same error.
It seems it happens with big files only. So any ideas? Now I am trying to copy with dolphin but it is not suited for automatic backup of 60G...
Offline
Ok This time I solved it for real.
I added the option async to the samba mount in my fstab.
##Remote NAS locations for Backup
//CORAL-NAS/sylvain-backup /mnt/Coral_NAS/Sylvain/ cifs async,credentials=/root/passwd,users,rw,uid=sylvain,iocharset=utf8 0 1
Offline