Virtualisation: Difference between revisions

From Smithnet Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:


Installation:
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 (defined with hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
** swap (define with swapsize)


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

Revision as of 06:44, 17 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 (defined with hdsize - rootsize - swapsize - minfree. Must be at least 4 GB)
    • swap (define with swapsize)

ISO Uploads:

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