rsync with --copy-devices patch and device-target with --write-batch doesnt work

Matt McCutchen matt at mattmccutchen.net
Fri Jan 30 12:58:41 GMT 2009


On Fri, 2009-01-30 at 13:12 +0100, freisei wrote:
> i?ve found the problem.
> "./rsync -v --copy-devices --progress 
> --write-batch=/mnt/sdc1/snapshotvergleich/diff1 
> /mnt/sdc1/snapshotvergleich/xp8main3-mnt-backup-base.img 
> /dev/vg0/xp8main3-mnt-backup-1"
> creates a diff1-file which has nearly the size of 
> /mnt/sdc1/snapshotvergleich/xp8main3-mnt-backup-base.img because rsync 
> with --copy-devices-param does not work as expected when a device is the 
> target.
> 
> So my filesystem was overfilled and "rsync error: error in file IO (code 
> 11) at io.c(1565) [sender=3.1.0dev]" occured.

OK, that explains that.

> My next question:
> 
> Is it possible to tell rsync to treat a device-target lika a file?

Not currently.  That's a separate feature from --copy-devices; it would
be called --keep-devices, in analogy to --copy-dirlinks and
--keep-dirlinks.

-- 
Matt



More information about the rsync mailing list