summaryrefslogtreecommitdiffstats
path: root/templates/storage-raid1
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-06 04:22:09 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-06 04:22:09 +0200
commitc9e8493bace8888129dd432bdd976a0c3aa322e2 (patch)
tree1a49e4c3b478b19a30f397cac887a254426d2a6c /templates/storage-raid1
parentf03a04b8036b85ba452ff195bc3fddfc71ba5cb3 (diff)
downloadkickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.gz
kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.bz2
kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.xz
kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.zip
CentOS8 and testing with ipecompute* servers
Diffstat (limited to 'templates/storage-raid1')
-rw-r--r--templates/storage-raid111
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/storage-raid1 b/templates/storage-raid1
new file mode 100644
index 0000000..6d7e6e6
--- /dev/null
+++ b/templates/storage-raid1
@@ -0,0 +1,11 @@
+part biosboot --ondisk=@DISK1@ --asprimary --size=1 --fstype=biosboot
+part biosboot --ondisk=@DISK2@ --asprimary --size=1 --fstype=biosboot
+part raid.01 --ondisk=@DISK1@ --asprimary --size @BOOTSIZE@
+part raid.02 --ondisk=@DISK2@ --asprimary --size @BOOTSIZE@
+part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended
+part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended
+part raid.03 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow
+part raid.04 --ondisk=@DISK2@ --asprimary --size @SIZE@ --grow
+raid /boot --level=RAID1 --device=md0 raid.01 raid.02 --fstype=ext4
+raid pv.01 --level=@RAID@ --device=md1 raid.03 raid.04
+volgroup sysvg pv.01