Hello again!
I am trying to help a friend who has an old debian 8 server, the hardware server is dying and we want to move it with its data to a vm in proxmox host.
The hard disk of the server was in raid 2TB and we copied it to an external 2tb disk with clonezilla. We tested it, it boots.
Now I connect this hdd to usb3 port in my intel nuc proxmox and run from the host:
$ lsblk | grep sd | grep disk
sdb 8:16 0 1.8T 0 disk
$ dd if=/dev/sdb of=driveImage.img bs=1M status=progress
Now this works but it tries from what I understand to make an img of 1.8TB but the actual data of the server are only 120gb.
Is there any other command to just take partitions and data and not the empty space?
Thanks in advance!
I am trying to help a friend who has an old debian 8 server, the hardware server is dying and we want to move it with its data to a vm in proxmox host.
The hard disk of the server was in raid 2TB and we copied it to an external 2tb disk with clonezilla. We tested it, it boots.
Now I connect this hdd to usb3 port in my intel nuc proxmox and run from the host:
$ lsblk | grep sd | grep disk
sdb 8:16 0 1.8T 0 disk
$ dd if=/dev/sdb of=driveImage.img bs=1M status=progress
Now this works but it tries from what I understand to make an img of 1.8TB but the actual data of the server are only 120gb.
Is there any other command to just take partitions and data and not the empty space?
Thanks in advance!