My partitioning standard (revision 1)

Introduction

Looking for my disk image sizing standard (revision 1), which used to be here?

This page lists the partitioning schemes that belong to revision 1 of my partitioning standard.

Partitioning scheme “legacy”

  1. Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB)  at  the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
  2. Create LV root on vg0 of size ‘26843545600B’ (i.e. 25GiB).
  3. Select ‘Finish’ to return to the Manual partitioner.
  4. Use LV root for ext4 filesystem mounted on /.
  5. Save the changes and when warned about the absence of a swap partition continue anyway.

Partitioning scheme “virtualisation-raid0-lvm”

  1. Create a primary partition of size ‘576716800B’ (i.e. 550MiB;)  at the beginning of the first disk to be used for EFI System Partition.
  2. Create a primary partition of the same size  at the beginning of the second disk not to be used.
  3. Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB)  at  the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
  4. Create a primary partition of the same size  at the beginning of the second disk not to be used.
  5. Create a primary partition using all remaining space on the first disk to be used for physical volume for RAID.
  6. Create a primary partition using all remaining space on the second disk to be used for physical volume for RAID.
  7. Select ‘Configure software RAID’, allow the partition manager to write the just-defined partitions to disk.
  8. When prompted ‘Software RAID configuration actions’, select ‘Create MD device’.
  9. When prompted ‘Software RAID device type:’, select ‘RAID0’.
  10. When prompted ‘Activate devices for the RAID0 array:’, select disks /dev/*da3 and /dev/*db3 and select ‘Continue’.
  11. When prompted ‘Write the changes to the storage devices and configure RAID?’, select ‘Yes’.
  12. When prompted ‘Software RAID configuration actions’, select ‘Finish’.
  13. Select the RAID0 device and use it for physical volume for LVM
  14. Select ‘Configure the Logical Volume Manager’, allow the partition manager to write the just-defined partitions to disk.
  15. Create VG vg0 on md0.
  16. Create LV root on vg0 of size ‘16106127360B” (i.e. 15GiB).
  17. Select ‘Finish’ to return to the Manual partitioner.
  18. Use LV root for ext4 filesystem mounted on /.
  19. Save the changes and when warned about the absence of a swap partition continue anyway.

Partitioning scheme “virtualisation-raid0-zfs”

  1. Create a primary partition of size ‘576716800B’ (i.e. 550MiB;)  at the beginning of the first disk to be used for EFI System Partition.
  2. Create a primary partition of the same size  at the beginning of the second disk not to be used.
  3. Create a primary partition of size ‘1073741824B’ (i.e. 1024MiB)  at  the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
  4. Create a primary partition of the same size  at the beginning of the second disk not to be used.
  5. Determine which is the larger: desired swap space or 4GB.
  6. Create a primary partition of size <desired-swap-in-bytes-or-4294967296>B at  the beginning of the first disk to be used for ext4 filesystem mounted on / (this will be repurposed as swap later).
  7. Create a primary partition of the same size  at the beginning of the second disk not to be used.
  8. Create a primary partition using all remaining space on the first disk not to be used (it will be repurposed for ZFS later but this can’t be specified at this point).
  9. Create a primary partition using all remaining space on the second disk not to be used (it will be repurposed for ZFS later but this can’t be specified at this point).
  10. Save the changes and when warned about the absence of a swap partition continue anyway.

Partitioning scheme “standard”

  1. Move to the large ‘FREE SPACE’ row, create a primary partition of size ‘576716800B’ (i.e. 550MiB;)  at the beginning of the first disk to be used for EFI System Partition.
  2. Move to the large ‘FREE SPACE’ row, create a primary partition of size ‘1073741824B’ (i.e. 1024MiB)  at  the beginning of the first disk to be used for ext4 filesystem mounted on /boot.
  3. Move to the large ‘FREE SPACE’ row, create a primary partition using all remaining space on the first disk to be use for physical volume for LVM.
  4. Select ‘Configure the Logical Volume Manager’, allow the partition manager to write the just-defined partitions to disk.
  5. Create a volume group with name ‘vg0 on the third partition.
  6. On a server: create LV ‘root’ on vg0 of size ‘16106127360B’ (i.e. 15GiB).
  7. On a deskop or laptop: create LV ‘root’ on vg0 of size ‘26843545600B’ (i.e. 25GiB).
  8. Select ‘Finish’ to return to the Manual partitioner.
  9. Use LV root for ext4 filesystem mounted on /.
  10. Save the changes and when warned about the absence of a swap partition continue anyway.

See also