lundi 6 juin 2016

VMDK to qcow / LVM

Change the vmdk file to qemu format ex :

qemu-img convert -f vmdk myvm.vmdk -O qcow2 myvm.qcow2

Or, copy the vmdk to an LVM based disk of the same size or larger


dd if=myvm.vmdk of=/dev/myVG/myvm


That's all !!

rsync via proxy socks

rsync --ignore-errors --force --human-readable --progress --partial --bwlimit=80 -hav /mnt/share/jessie -e "ssh -o 'ProxyCommand nc -x localhost:10998 opera 22'" root@srv01:/mnt/vol01/08500.vm/virtualbox/disk/jessie