ITPub博客

首页 > 数据库 > Oracle > virtualbox创建共享磁盘

virtualbox创建共享磁盘

原创 Oracle 作者:liiinuuux 时间:2014-01-27 17:04:26 0 删除 编辑
d:
cd D:\ls\vm\Virtual Machines\3

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm1.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm2.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm3.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm4.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm5.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm6.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm7.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm8.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm9.vdi  -size 1024 -format VDI -variant Fixed
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" createhd -filename asm10.vdi -size 1024 -format VDI -variant Fixed

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm1.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm2.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm3.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm4.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm5.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm6.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm7.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm8.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm9.vdi  --type shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"  modifyhd asm10.vdi --type shareable

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 1  --device 0 --type hdd --medium asm1.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 2  --device 0 --type hdd --medium asm2.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 3  --device 0 --type hdd --medium asm3.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 4  --device 0 --type hdd --medium asm4.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 5  --device 0 --type hdd --medium asm5.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 6  --device 0 --type hdd --medium asm6.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 7  --device 0 --type hdd --medium asm7.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 8  --device 0 --type hdd --medium asm8.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 9  --device 0 --type hdd --medium asm9.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_1 --storagectl "SATA" --port 10 --device 0 --type hdd --medium asm10.vdi --mtype shareable


"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 1 --device 0  --type hdd --medium asm1.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 2 --device 0  --type hdd --medium asm2.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 3 --device 0  --type hdd --medium asm3.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 4 --device 0  --type hdd --medium asm4.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 5 --device 0  --type hdd --medium asm5.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 6 --device 0  --type hdd --medium asm6.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 7 --device 0  --type hdd --medium asm7.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 8 --device 0  --type hdd --medium asm8.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 9 --device 0  --type hdd --medium asm9.vdi  --mtype shareable
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" storageattach 10g_rac_2 --storagectl "SATA" --port 10 --device 0 --type hdd --medium asm10.vdi --mtype shareable












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

上一篇: 物化视图测试
请登录后发表评论 登录
全部评论

注册时间:2012-11-12

  • 博文量
    94
  • 访问量
    308973