vzdump to continue on I/O error

tincboy

Renowned Member
Apr 13, 2010
466
6
83
I've a VM on a disk with I/O error, I want to make backup of that VM while it's running, therefor it's not possible to use dd,
Is that possible to ask vzdump to continue on I/O error of source disk?
 
Not that I know of. So i'am right when i say "you have a bad disk(s)"? Try it with clonezilla, with that you have the option to skip bad sektors.
 
You can try with ddrescue
But, of course you shouldn't do this while the filesystem is mounted (VM is running). If you want to save everything possible while the VM is running try to evacuate all the files from the VM by tar or rsync.