Hi, i've read the migration wiki page, but have some doubt left.
i would like to clone a ntfs disk (phisical machine) to a LVM LV and then use that disk to boot a windows server.
i can't use the
dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/100/test.raw
because i want the vm to have LVM based disks, and have not enough space left on proxmox disks, too. So, i created a (sufficient) LV, say
/dev/pve_vm_disks/vm-106-disk-1
and did
dd if=/dev/sda | ssh root@proxmox dd of=/dev/pve_vm_disks/vm-106-disk-1
but
1) i cant' see that LV disk on pve web gui to add it
2) i can add it to the 106.conf manually and boot the machine but gparted says something wrong with that disk. the same happened using netcat approach...
it seems that copying /dev/sda in either way creates a /dev/vda in the vm and gpared says that vda1 is missing there, and there will be troubles...
what am i doing wrong?
more, ideally, i would like to clone that ntfs disk on a smaller LV disk, and also looked at
fsarchiver
that should be able to do that, and knows also ntfs.
anybody has ideas or experiences to share, helpfully?
Marco
i would like to clone a ntfs disk (phisical machine) to a LVM LV and then use that disk to boot a windows server.
i can't use the
dd if=/dev/sda | ssh root@proxmox dd of=/var/lib/vz/images/100/test.raw
because i want the vm to have LVM based disks, and have not enough space left on proxmox disks, too. So, i created a (sufficient) LV, say
/dev/pve_vm_disks/vm-106-disk-1
and did
dd if=/dev/sda | ssh root@proxmox dd of=/dev/pve_vm_disks/vm-106-disk-1
but
1) i cant' see that LV disk on pve web gui to add it
2) i can add it to the 106.conf manually and boot the machine but gparted says something wrong with that disk. the same happened using netcat approach...
it seems that copying /dev/sda in either way creates a /dev/vda in the vm and gpared says that vda1 is missing there, and there will be troubles...
what am i doing wrong?
more, ideally, i would like to clone that ntfs disk on a smaller LV disk, and also looked at
fsarchiver
that should be able to do that, and knows also ntfs.
anybody has ideas or experiences to share, helpfully?
Marco