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:
parent
ba9aa51bba
commit
4b81abaec4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user