User Tools

Site Tools


vmdk2proxmox


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vmdk2proxmox [2023/09/16 15:37] adminvmdk2proxmox [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://dannyda.com/2022/10/15/how-to-convert-qcow2-virtual-disk-to-zfs-zvol-for-vurtual-machine-vm-in-proxmox-ve-pve/+Loosely based on [[https://dannyda.com/2022/10/15/how-to-convert-qcow2-virtual-disk-to-zfs-zvol-for-vurtual-machine-vm-in-proxmox-ve-pve/|this guide]].
  
-  * Unordered List ItemCopy the vmdk to the proxmox machine:+  * Move the vmdk to the proxmox machine:
 <code> <code>
 scp unifiController-disk1.vmdk [email protected]:/pool1 scp unifiController-disk1.vmdk [email protected]:/pool1
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
 <code> <code>
-convert -f vmdk /pool1/unifiController-disk1.vmdk -p -O raw /pool1/unifiController.raw ; sync+convert -f vmdk /pool1/unifiController-disk1.vmdk -p -O raw /pool1/unifiController.raw
 </code> </code>
  
Line 28: Line 28:
   * dd the raw disk image into the zvol   * dd the raw disk image into the zvol
 <code> <code>
-dd if=/pool1/unifiController of=/dev/zd144 bs=1M status=progress oflag=dsync ; sync+dd if=/pool1/unifiController.raw of=/dev/zd144 bs=1M status=progress oflag=dsync
 </code> </code>
vmdk2proxmox.1694878654.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki