OpenVZ Forum


Home » General » Support » Add second HDD Custom Location / Partition
Re: Add second HDD Custom Location / Partition [message #53364 is a reply to message #53362] Sat, 23 June 2018 05:33 Go to previous messageGo to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
https://docs.virtuozzo.com/virtuozzo_7_command_line_referenc e/managing-virtual-machines/prlctlvm.html#managing-virtual-d evices

prlctl set <VM_name> {--device-add hdd | --device-set hdd<N>}
[--image <file>] [--size <size>] [--iface <ide|scsi|virtio>]
[--subtype <virtio-scsi|hyperv>] [--position <pos>]
[--enable|--disable]

--device-set hdd<N> Modifies the parameters of an existing virtual hard disk.
Virtual hard disks are named using the hdd<N> format where <N> is the drive index number starting from 0 (e.g., hdd0, hdd1). To obtain the list of disk names, use the prlctl list command with the --info option.

--image <file>
Specifies an image file that will be used to emulate the virtual disk.

If the specified image does not exist, it is created and used to emulate the virtual hard disk.
If the specified image exists, it is used to emulate the virtual hard disk.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Openvz 7.07, yum upgrade failed
Next Topic: net.ipv4.ip_forward
Goto Forum:
  


Current Time: Wed May 08 07:59:32 GMT 2024

Total time taken to generate the page: 0.01366 seconds