rsync, usbstick and FAT32:
Posted: Sun Oct 04, 2009 5:09 pm
I often encounter crappy/cheap USB sticks, which puke when transferring large files (>100 MB). Per default, they're formatted with FAT32 and on Ubuntu systems they're mounted with these mount-options:
Mounting the FAT32 partition on the USB stick in "async" mode, seemed to help a bit:
References:
[1] http://linux.derkeiler.com/Mailing-List ... /0191.html
Using USB sticks in "sync" mode (flush option) is not a good idea (1)rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=lower
I tried copying Jaunty to a USB stick, and the root filesystem of the live CD installer is in "filesystem.squashfs" - whish is >600 MB.casper/filesystem.squashfs
615579648 99% 2.65MB/s 0:00:02
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: symlink "/media/disk/ub/dists/stable" -> "jaunty" failed: Operation not permitted (1)
rsync: symlink "/media/disk/ub/dists/unstable" -> "jaunty" failed: Operation not permitted (1)
rsync: write failed on "/media/disk/ub/casper/filesystem.squashfs": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(298) [receiver=3.0.4]
rsync: connection unexpectedly closed (33 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(632) [sender=3.0.4]
Mounting the FAT32 partition on the USB stick in "async" mode, seemed to help a bit:
Code: Select all
sudo mount -o remount,nosuid,noatime,async,nodev,rw,uid=1000,utf8 /media/disk
[1] http://linux.derkeiler.com/Mailing-List ... /0191.html