Creating the VM instance’s logical volume
You must create the logical volume that FortiWeb-VM will use to store its vDisks. In this case, the logical volume is on the Xen server’s local disk, but usually it is preferable to store it on an NFS or CIFS share.
To create a local logical volume
- Connect to the command line in
dom0
on the Xen server where you will deploy FortiWeb-VM (for example, via an SSH client such as PuTTY). - Find the name of your
dom0
logical volume group. (Volume group is highlighted below in bold).xenuser@LabXen:~$ sudo pvs
[sudo] password for xenuser:
PV VG Fmt Attr PSize PFree
/dev/sda5 LabXen-vg lvm2 a- 698.39g 673.45g
- Create a logical volume. In this case, the logical volume is on the Xen server’s local disk, but you could store it on an NFS or CIFS share.
sudo lvcreate -L 100G -n
FortiWeb
-vm /dev/LabXen-vg
where you would replace:
100G
— The amount of disk space to allocate to FortiWeb-VM’s vDisk in gigabytes.FortiWeb
-vm
— The name of your virtual machine, as it appears in Virtual Machine Manager or when you use thexm
command to create the virtual machine.LabXen-vg
— The name of yourdom0
volume group according to the output of thesudo pvs
command.