mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user