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 [Create the IPFire Virtual Hard Disk]
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 ==== ==== STOP ====