Differences between revisions 9 and 12 (spanning 3 versions)
Revision 9 as of 2017-10-10 22:06:47
Size: 574
Editor: shran
Comment:
Revision 12 as of 2017-10-10 22:13:58
Size: 691
Editor: shran
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
== KVM host == === KVM host ===
Line 8: Line 8:
= Physical Disks = ==== Physical Disks ====
Line 20: Line 20:
Raid ==== Raid ====
Line 27: Line 27:
Luks ==== Luks ====
Line 29: Line 29:
md1 luks formatted {{{
md1 luks (md1_crypt)
}}}
Line 31: Line 33:
LVM ==== LVM ====
Line 33: Line 35:
md1 is configured as lvm with a volumegroup called vg1 {{{
md1_crypt lvm (vg1)
}}}
Line 35: Line 39:
with two partitons ==== LVM volumes ====
Line 37: Line 41:
For my system I have two small SSD disks. They are 16G each. I will use those to install the KVM host on. {{{
vg1 root 2G (/dev/vg1/root)
vg1 swap 512M (/dev/vg1/swap)
}}}

==== Filesystems and mountpoints ====
{{{
/dev/vg1/root / btrfs
/dev/md0 /boot btrfs
/dev/vg1/swap swap
}}}

Configuring your disks is really two parts

  • where should the KVM host be installed
  • where will you store the KVM guests filesystem images

KVM host

Physical Disks

sda     16G
sda1   256M
sda2 15360M

sdb     16G
sdb1   256M
sdb2 15360M

Raid

md0 raid1 (sda1, sdb1)
md1 raid1 (sda2, sdb2)

Luks

md1 luks (md1_crypt)

LVM

md1_crypt lvm (vg1)

LVM volumes

vg1 root   2G (/dev/vg1/root)
vg1 swap 512M (/dev/vg1/swap)

Filesystems and mountpoints

/dev/vg1/root /     btrfs
/dev/md0      /boot btrfs
/dev/vg1/swap swap

None: KVM host disk (last edited 2017-10-10 22:24:17 by shran)