wiki:jazz/partclone/09-06-08

[DEBUG]

pvcreate /dev/hda1
vgcreate sys /dev/hda1
lvcreate -L 3G -n kvm-img sys
lvcreate -L 3G -n bk-orasrv1.dmz.cs.bgu.ac.il1 sys
mkfs.ext3 /dev/mapper/sys-kvm--img
mount /dev/mapper/sys-kvm--img /mnt
cd /mnt
dd if=/dev/urandom of=random.dd bs=1M count=30
umount /mnt
LANG=C partclone.ext3 -b -d -s /dev/mapper/sys-kvm--img -O /dev/mapper/sys-bk--orasrv1.dmz.cs.bgu.ac.il1
Last modified 15 years ago Last modified on Jun 8, 2009, 10:07:45 AM