vmdk2proxmox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vmdk2proxmox [2023/09/16 15:32] – admin | vmdk2proxmox [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VMDK to Proxmox ZVol ====== | ====== VMDK to Proxmox ZVol ====== | ||
- | Loosely based on https:// | + | Loosely based on [[https:// |
- | * Unordered List ItemCopy | + | * Move the vmdk to the proxmox machine: |
< | < | ||
scp unifiController-disk1.vmdk [email protected]:/ | scp unifiController-disk1.vmdk [email protected]:/ | ||
Line 9: | Line 9: | ||
* SSH into the proxmox machine and convert the vmdk to a raw disk image | * SSH into the proxmox machine and convert the vmdk to a raw disk image | ||
< | < | ||
- | convert -f vmdk / | + | convert -f vmdk / |
</ | </ | ||
- | * Create the VM in Proxmox, making a zvol in the same or greater capacity | + | * Create the VM in Proxmox, making a zvol in the same or greater capacity. Note the VID. |
+ | * List zvols on the proxmox host | ||
+ | < | ||
+ | root@pedge:/ | ||
+ | total 0 | ||
+ | drwxr-xr-x 2 root root 660 Sep 16 11:33 ./ | ||
+ | drwxr-xr-x 3 root root 60 Sep 11 21:39 ../ | ||
+ | lrwxrwxrwx 1 root root 9 Sep 13 13:55 vm-100-disk-0 -> ../../zd0 | ||
+ | lrwxrwxrwx 1 root root 10 Sep 13 13:55 vm-100-disk-1 -> ../ | ||
+ | ... | ||
+ | ... | ||
+ | lrwxrwxrwx 1 root root 11 Sep 16 11:33 vm-107-disk-0 -> ../ | ||
+ | </ | ||
+ | |||
+ | * dd the raw disk image into the zvol | ||
+ | < | ||
+ | dd if=/ | ||
+ | </ |
vmdk2proxmox.1694878362.txt.gz · Last modified: 2024/11/14 02:30 (external edit)