add -f and -S options

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10871 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2011-10-24 16:21:27 +00:00
parent ba9aa51bba
commit 4b81abaec4

View File

@ -17,7 +17,7 @@
#---------------------------------------------------------------------------
# extend the root volume group with the new disk(s)
cmd="/usr/sbin/extendvg rootvg hdisk1"
cmd="/usr/sbin/extendvg -f rootvg hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then
@ -27,7 +27,7 @@ if [ $rc -ne 0 ]; then
fi
# create the mirror
cmd="/usr/sbin/mirrorvg rootvg hdisk1"
cmd="/usr/sbin/mirrorvg -S rootvg hdisk1"
result=`$cmd 2>/dev/null`
rc=$?
if [ $rc -ne 0 ]; then