From 33ba96f43bfbf20f0e98011567218ea4bcde3cb2 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 6 Aug 2020 15:16:38 -0400 Subject: [PATCH] On RHEL8 do not user vers=3 when mounting kdump filesystem --- xCAT/postscripts/enablekdump | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT/postscripts/enablekdump b/xCAT/postscripts/enablekdump index 80c5b1732..d5750fddd 100755 --- a/xCAT/postscripts/enablekdump +++ b/xCAT/postscripts/enablekdump @@ -217,6 +217,10 @@ EOF for i in $nfsvers do if [ $i -eq 3 ] && ! [ grep -w nfs /proc/filesystems >/dev/null 2>&1 ]; then + if (pmatch $OSVER "rhel8*") || (pmatch $OSVER "rhels8*");then + # For RHEL8 do not mount with vers=3 option + continue + fi nfsver=3 break elif [ $i -eq 4 ] && ! [ grep -w nfs4 /proc/filesystems >/dev/null 2>&1 ]; then