Hi,
I'm trying to set up a solution to take backups of kvm disk images by
mounting a snapshot of it via nbd like this:
qemu-nbd --snapshot --read-only --connect /dev/nbd${nbd_num} --nocache
$disk_file
I then mount it and rsync the content stored on the disk.
However, I have sometimes an input/output error. For example:
rsync:
readlink_stat("/mnt/snapshots/kvmWeb03Staging/var/lib/postgresql/9.1/main/postmaster.pid")
failed: Input/output error (5)
ls -l of the directory lists the file like this:
-????????? ? ? ? ? ? postmaster.pid
I'm trying to identify the source of this problem. This could be due to
qemu-nbd's snapshots, but I'd like to hear your opinion too.
thanks!
Raph
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general