Link to home
Start Free TrialLog in
Avatar of Mushfique Khan
Mushfique Khan

asked on

How to add/extent a VMDK storage

I've just added a VMDK storage using:

https://www.experts-exchange.com/questions/28360518/Vmware-vSphere-Client-add-a-RAW-device.html

By mistake assigned only 10g to it, because was not sure, will it work or not, now it's all exhausted.

Have already installed Oracle Gird (running too) and when was installing Oracle db, gave this error.

Now the question, can I add or extent the existing, without shutting down vms or just suggest/guide, what are my best options to proceed further with my Oracle db installation too.

Thanks & much appreciated.
Avatar of Subhashish Laha
Subhashish Laha
Flag of India image

You can increase the VMDK size by editing the VM settings but you will require a reboot of Guest OS to reflect the new disk size. After reboot, you can extend the Partition size in Guest OS.
Avatar of Mushfique Khan
Mushfique Khan

ASKER

I shutdown the vms and extended the space and now when tried to start, getting this error, changed back the size to original too ... 10g, but still error.
error.JPG
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I followed Subhashish Laha comments only :(
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just followed this article, did as is and all worked too:

http://vpirate.in/2013/09/01/clustering-using-sharing-of-vmdks-between-virtual-machines/

was able to install Oracle Grid and now doing Oracle db, when out of space error raised.
Did you read this at the end of my blog post

You might want to turn the Multi-writer flag in the advanced options of VM so you can let the machines write to the disk. Follow the below link for the same

You are getting a error related to multi-writer flag. Enable it.
but how Abhilash Hb ... can you please, but in simple steps/language, thanks.
In the vSphere Client, power off the virtual machine, go to Edit Settings > Options > Advanced > General > Configuration Parameters. Add rows for each of the shared disks and set their value to multi-writer.

Add this entry in Configuration parameters
scsi1:0.sharing = "multi-writer"
scsi1:1.sharing = "multi-writer"

Follow the steps in this KB
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1034165
still error (attached)
error2.JPG
do I need to put " " or not?
By extending the disk, through the vSphere Client it has changed the virtual machine disk format, from eager zeroed thick disk format to lazy zeroed thick disk format

(well actually  it's the extended part, which is lazy!)

lazy zeroed thick disk format are not supported for Clustered Disks.

see this VMware article


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.


You will now have to create a new virtual disk in eager zeroed thick disk format

vmkfstools -d eagerzeroedthick -i <virtual-disk-source>.vmdk <virtual-disk-target>.vmdk

and then use this new disk, in place on the old disk, in your configuration, by removing the original disk from the VM (do not delete from disk), and then adding this new disk, you have created, make sure the same SCSI ID is used in this operation.
thanks Andrew Hancock & Abhilash Hb, was able to create the db :)