From 2acd60eeda98853aafd7436b2487c2cbf5bcd8c6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 17 Mar 2020 10:10:49 -0400 Subject: [PATCH] Dispense with complicated partition scheme It causes problems, such as unexpected low capacity of filesystems and particularly splitting var causes things like kdump to be infeasible. --- xCAT-server/share/xcat/install/scripts/pre.rhels8 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/pre.rhels8 b/xCAT-server/share/xcat/install/scripts/pre.rhels8 index f0bf4d2e8..b40afa31e 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.rhels8 +++ b/xCAT-server/share/xcat/install/scripts/pre.rhels8 @@ -277,15 +277,7 @@ echo "part pv.000997 --grow --asprimary --ondisk=$instdisk --size=18432" >>/tmp/ echo "volgroup xcatvg --pesize=4096 pv.000997" >>/tmp/partitionfile echo "logvol swap --name=swap --vgname=xcatvg --recommended" >>/tmp/partitionfile -if [ "${DISKSIZE}" -lt "62914560" ] -then - echo "logvol / --fstype=$FSTYPE --name=root --vgname=xcatvg --grow --percent=86" >>/tmp/partitionfile -else - echo "logvol / --fstype=$FSTYPE --name=root --vgname=xcatvg --grow --size=10240 --maxsize=20480" >>/tmp/partitionfile - echo "logvol /var --fstype=$FSTYPE --name=var --vgname=xcatvg --grow --size=4096 --maxsize=8192" >>/tmp/partitionfile - echo "logvol /tmp --fstype=$FSTYPE --name=tmp --vgname=xcatvg --grow --size=4096 --maxsize=8192" >>/tmp/partitionfile - echo "logvol /home --fstype=$FSTYPE --name=home --vgname=xcatvg --grow --percent=10 --maxsize=10240" >>/tmp/partitionfile -fi +echo "logvol / --fstype=$FSTYPE --name=root --vgname=xcatvg --grow" >>/tmp/partitionfile # Specify "bootloader" configuration in "/tmp/partitionfile" if there is no user customized partition file BOOTLOADER="bootloader"