linux虚拟机创建共享磁盘

linux虚拟机创建共享磁盘
1、创建共享磁盘
1.1 立即分配硬盘
vmware-vdiskmanager.exe -c -s 10Gb -a   lsilogic  -t   2    E:\VM-11gR2-RAC\share-disk\share-disk2.vmdk
1.2 根据需求分硬盘
vmware-vdiskmanager.exe -c -s 100Gb -a   lsilogic  -t   0    E:\VM-11gR2-RAC\share-disk\share-disk2.vmdk

2、配置testrac1.vmx文件
disk.locking = "false"
scsi1.virtualDev = "lsilogic"
scsi1.present = "TRUE"
scsi1.sharedBus = "virtual"

diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"

scsi1:1.deviceType = "disk"
scsi1:1.present = "TRUE"
scsi1:1.fileName = "E:\VM-11gR2-RAC\share-disk\share-disk2.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:1.redo = ""


你可能感兴趣的:(linux,虚拟机,磁盘)