Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes in partitionning for HOST and RAID flavors #96

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-log /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"
2 changes: 1 addition & 1 deletion srv_fai_config/disk_config/SEAPATH_RAID_DEMO
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ disk_config lvm
vg vg1 disk1.2,disk2.2
vg1-root / 3800M ext4 noatime,rw lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"
vg1-swap swap 100M swap sw lvcreateopts="-m 1 --type raid1 --nosync"
vg1-log /var/log 100M ext4 defaults lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"
vg1-varlog /var/log 100M ext4 defaults lvcreateopts="-m 1 --type raid1 --nosync" createopts="-I 256"

vg vg_ceph disk1.3,disk2.3
vg_ceph-lv_ceph - 500M - - lvcreateopts="-m 1 --type raid1 --nosync"
Loading