Rsync - no space left on device when there is.
Posted on 2013-01-17
I’m trying to backup my VMs to external HDD for offsite backup. I’m using a 1 TB drive, and seem to only have 932 GB of data. I clear the drive with an rm -rf * beforehand then run the following:
[root@openfiler external]# rsync --progress -va /mnt/storage/nfs/ocl_nfs_1/backups /mnt/external --exclude=ESXi-2-VCSA/ --exclude=ESXi-2-VCSA_1 --delete | mail -s "RSync Job Log" firstname.lastname@example.org
It runs for a while, then….
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: write failed on "/mnt/external/backups/Antivirus/Antivirus-2013-01-17_04-00-03/Antivirus-flat.vmdk": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(298) [receiver=3.0.3]
rsync: connection unexpectedly closed (179 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) [sender=3.0.3]
Running df –h against the USB drive shows me
/dev/sdc1 932G 289G 643G 31% /media/external
Running du -h against the source directory shows: 729G /mnt/storage/nfs/ocl_nfs_1/backups
Am I missing some obvious RSYNC mystery, or is this a USB device too slow or something similar failure?