Correct steps of creating vmware shared virtual disks?

1. SCSI设置为physical mode.
Adding a disk to two VMs require the SCSI controller to be in shared mode.
For this, power of the first VM; then Click on Edit settings. 
Click on ‘SCSI Controller’ 
Under SCSI Bus sharing , select the option for ‘Physical’ 
While adding this same disk to second VM, ensure that you add the same hard disk and mark the SCSI controller as ‘Physical’ as well. 
This should allow you to share a disk between two VMs.

2. Disk必须设置为eager zeroed thick provision.
When using the multi-writer mode, the virtual disk must be eager zeroed thick; it cannot be zeroed thick or thin provisioned. For more information, see A virtual machine fails to power on with the error: Thin/TBZ disks cannot be opened in multiwriter mode. 
  
VMware ESX cannot open the virtual disk for clustering. 
http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1033570

错误设置导致的报错
1. An error was received from the ESX host while powering on VM aaa-test-share-disk. 
Failed to start the virtual machine. 
Module DiskEarly power on failed. 
Cannot open the disk '/vmfs/volumes/53fc091c-02bb4a10-5cc1-00101898f8cc/citynet-rhel6.5-test-share-disk/aaa-test-share-disk.vmdk' or one of the snapshot disks it depends on. 
Thin/TBZ/Sparse disks cannot be opened in multiwriter mode. 

2. An error was received from the ESX host while powering on VM aab-test-share-disk. 
Failed to start the virtual machine. 
Module DiskEarly power on failed. 
Cannot open the disk '/vmfs/volumes/5411b82f-6f9195a9-5191-00101898f8cc/aaa-test-share-disk/aaa-test-share-disk_1.vmdk' or one of the snapshot disks it depends on. 
Failed to lock the file.

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

转载于:http://blog.itpub.net/29917188/viewspace-1281739/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值