Skip to content

Commit

Permalink
partitioning: make initial ceph VG and LV very small
Browse files Browse the repository at this point in the history
There is an ansible playbook to increase those to the required sizes to be defined in the inventory

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
  • Loading branch information
insatomcat committed May 16, 2024
1 parent 98f912f commit dedd771
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion srv_fai_config/disk_config/SEAPATH_HOST
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
disk_config disk1 disklabel:gpt fstabkey:uuid align-at:1M

primary /boot/efi 512M vfat rw
primary - 100G - -
primary - 50G - -
primary - 2G - -

disk_config lvm

vg vg1 disk1.2
vg1-root / 15G ext4 noatime,rw
vg1-varlog /var/log 5G ext4 noatime,rw
vg1-swap swap 500M swap sw

vg vg_ceph disk1.3
vg_ceph-lv_ceph - 1G - -
12 changes: 6 additions & 6 deletions srv_fai_config/disk_config/SEAPATH_RAID
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

disk_config disk1 disklabel:gpt fstabkey:uuid align-at:1M
primary /boot/efi 500M vfat errors=remount-ro,nofail
primary - 40G - -
primary - 300G - -
primary - 50G - -
primary - 2G - -

disk_config disk2 disklabel:gpt fstabkey:uuid align-at:1M
primary /boot/efi2 500M vfat errors=remount-ro,nofail
primary - 40G - -
primary - 300G - -
primary - 50G - -
primary - 2G - -

disk_config lvm
vg vg1 disk1.2,disk2.2
vg1-root / 20G ext4 noatime,rw lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"
vg1-swap swap 2G swap sw lvcreateopts="-m 1 --type raid1 --nosync"
vg1-varlog /var/log 5G ext4 defaults lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"
vg1-varlog /var/log 5G ext4 defaults lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"

vg vg_ceph disk1.3,disk2.3
vg_ceph-lv_ceph - 200G - - lvcreateopts="-m 1 --type raid1 --nosync"
vg_ceph-lv_ceph - 1G - - lvcreateopts="-m 1 --type raid1 --nosync"

0 comments on commit dedd771

Please sign in to comment.