Virtualisation: Difference between revisions

From Smithnet Wiki
Jump to navigation Jump to search
Line 14: Line 14:
* VG "pre" is created with LVs:
* VG "pre" is created with LVs:
** root (define with maxroot, limit is hdsize/4)
** root (define with maxroot, limit is hdsize/4)
** data (defined with hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
** data (maximum defined with maxvz: hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
** swap (define with swapsize)
** swap (define with swapsize)


ISO Uploads:
ISO Uploads:
* /var/lib/vz/template/iso/
* /var/lib/vz/template/iso/

Revision as of 05:41, 18 October 2024

Hyper-V

Convert VMware to Hyper-V with qemu-img:

qemu-img convert -p -f vmdk -O vpc centos_disk.vmdk centos_disk.vhd

Proxmox

Main documentation:

Installation:

  • hdsize defines sieze of disk, to reserve space for additional VGs
  • minfree defines unallocates space in the VG, required for LVM snapshots (hdsize/8 to a max of 16 GB)
  • VG "pre" is created with LVs:
    • root (define with maxroot, limit is hdsize/4)
    • data (maximum defined with maxvz: hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
    • swap (define with swapsize)

ISO Uploads:

  • /var/lib/vz/template/iso/