Skip to contentSkip to conversation

sparse copy i.e. /dev/sda3 -> /dev/mvlvm/mythinpool?

linux-lvm Oliver Rath 2 participants 2 messages Aug 11, 2012

lore
Share & tools
lore
#0 lore raw

Hi list,

is it possible, to copy a real device like /dev/sda3 to a thinpool device in a sparse way? I tried several things like dd_rescue -a .. , but there was no sparse-effect :-(

Any hints?

Tfh!

Oliver

#1 lore raw

I no longer have it however I wrote a program to resparse files a long time ago. what it did was read a block of data, if it was zero it did nothing, if it had data it seeked to the beginning of where the data is and then wrote it, and when it got to the end it seeked to the end.

James

Quoted 23 lines · Oliver Rath

Hi list,

is it possible, to copy a real device like /dev/sda3 to a thinpool device in a sparse way? I tried several things like dd_rescue -a .. , but there was no sparse-effect :-(

Any hints?

Tfh!

Oliver

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5192 - Release Date: 08/10/12