|
Size: 572
Comment:
|
Size: 554
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| Configuring your disks is really two parts | === KVM host === |
| Line 3: | Line 3: |
| * where should the KVM host be installed * where will you store the KVM guests filesystem images |
==== Physical Disks ==== |
| Line 6: | Line 5: |
| KVM host | {{{ sda 16G sda1 256M sda2 15360M |
| Line 8: | Line 10: |
| I have two identical 16G SSD disks. The partition layout is | sdb 16G sdb1 256M sdb2 15360M }}} |
| Line 10: | Line 15: |
| `sda 16G` sda1 256M sda2 15360M sdb 16G sdb1 256M sdb2 15360M` |
==== Raid ==== |
| Line 17: | Line 17: |
| Raid | {{{ md0 raid1 (sda1, sdb1) md1 raid1 (sda2, sdb2) }}} |
| Line 19: | Line 22: |
| md0 raid1 sda1 sdb1 md1 raid1 sda2 sdb2 |
==== Luks ==== |
| Line 22: | Line 24: |
| Luks | {{{ md1 luks (md1_crypt) }}} |
| Line 24: | Line 28: |
| md1 luks formatted | ==== LVM ==== |
| Line 26: | Line 30: |
| LVM | {{{ md1_crypt lvm (vg1) }}} |
| Line 28: | Line 34: |
| md1 is configured as lvm with a volumegroup called vg1 | ==== LVM volumes ==== |
| Line 30: | Line 36: |
| with two partitons | {{{ vg1 root 2G (/dev/vg1/root) vg1 swap 512M (/dev/vg1/swap) }}} |
| Line 32: | 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. | ==== Filesystems and mountpoints ==== {{{ /dev/vg1/root / (btrfs) /dev/md0 /boot (btrfs) /dev/vg1/swap (swap) }}} |
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)