Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vms:ipfire [2015/03/31 03:16]
admin [STOP]
vms:ipfire [2015/03/31 03:27]
admin [Create the IPFire Virtual Hard Disk]
Line 39: Line 39:
 ==== Create the IPFire Virtual Hard Disk ==== ==== Create the IPFire Virtual Hard Disk ====
 ---- ----
 +We intend to generally use FBD (File Based Devices) VDIs in our deployment, so we'll create an FBD:
  
 +<​code>​
 +> zcat ipfire-2.17.1gb-ext4-scon.i586-full-core87.img.gz > /​run/​sr-mount/​2f93b6d9-9904-dbfc-afba-d4ba190fca3d/​ipfire
 +> fallocate -l 8G /​run/​sr-mount/​2f93b6d9-9904-dbfc-afba-d4ba190fca3d/​ipfire
 +</​code>​
  
 +If we were to use LVM VDIs, we'd use:
 +<​code>​
 +> lvcreate -L 8G -n ipfire vg0
 +> zcat ipfire-2.17.1gb-ext4-scon.i586-full-core87.img.gz > /​dev/​vg0/​ipfire
 +</​code>​
 +----
 +==== STOP ====
 ++++ Deprecated method (click to see) | ++++ Deprecated method (click to see) |
 Follow the [[hypervisor:​base:​xcp-xapi#​create_and_access_a_vdi_from_dom0|procedure described in this wiki]] to create a dedicated VDI for the IPFire VM. But **DO NOT PLUG THE VBD YET**, as we'll first copy the IPFire image disk to it. Follow the [[hypervisor:​base:​xcp-xapi#​create_and_access_a_vdi_from_dom0|procedure described in this wiki]] to create a dedicated VDI for the IPFire VM. But **DO NOT PLUG THE VBD YET**, as we'll first copy the IPFire image disk to it.