vbox mkdisk

vbox mkdisk[@more@]

cd D:Program FilesOracleVirtualBox
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskcrs1.vdi -size 2000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskcrs2.vdi -size 2000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskcrs3.vdi -size 2000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskdata1.vdi -size 10000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskdata2.vdi -size 10000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskrec1.vdi -size 5000 -format VDI -variant Fixed
VBoxManage.exe createhd -filename E:oracle11gr2-racsharedisksharediskrec2.vdi -size 5000 -format VDI -variant Fixed

VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 1 --device 0 --type hdd --medium E:oracle11gr2-racsharediskcrs1.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 2 --device 0 --type hdd --medium E:oracle11gr2-racsharediskcrs2.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 3 --device 0 --type hdd --medium E:oracle11gr2-racsharediskcrs3.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 4 --device 0 --type hdd --medium E:oracle11gr2-racsharediskdata1.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 5 --device 0 --type hdd --medium E:oracle11gr2-racsharediskdata2.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 6 --device 0 --type hdd --medium E:oracle11gr2-racsharediskrec1.vdi --mtype shareable
VBoxManage.exe storageattach linux5.4-rac2 --storagectl "SATA 控制器" --port 7 --device 0 --type hdd --medium E:oracle11gr2-racsharediskrec2.vdi --mtype shareable


VBoxManage.exe modifyhd E:oracle11gr2-racsharediskcrs1.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskcrs2.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskcrs3.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskdata1.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskdata2.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskrec1.vdi --type shareable
VBoxManage.exe modifyhd E:oracle11gr2-racsharediskrec2.vdi --type shareable

VBoxManage.exe createhd -filename D:vmware10gracsharediskcrs1.vdi -size 8000 -format VDI -variant Fixed
VBoxManage.exe storageattach node1 --storagectl "SATA 控制器" --port 1 --device 0 --type hdd --medium D:vmware10gracsharediskcrs1.vdi --mtype shareable
VBoxManage.exe storageattach node2 --storagectl "SATA 控制器" --port 1 --device 0 --type hdd --medium D:vmware10gracsharediskcrs1.vdi --mtype shareable
VBoxManage.exe modifyhd D:vmware10gracsharediskcrs1.vdi --type shareable

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/309902/viewspace-1059745/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/309902/viewspace-1059745/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值