ITPub博客

首页 > 应用开发 > IT综合 > vbox mkdisk

vbox mkdisk

原创 IT综合 作者:netwant 时间:2012-11-10 19:09:07 0 删除 编辑
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博客 ” ,链接:https://blog.itpub.net/309902/viewspace-1059745/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 多个excel合并
请登录后发表评论 登录
全部评论

注册时间:2010-11-17

  • 博文量
    61
  • 访问量
    180996