Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to add/extent a VMDK storage

Posted on 2014-02-17
15
Medium Priority
?
837 Views
Last Modified: 2014-02-25
I've just added a VMDK storage using:

http://www.experts-exchange.com/Software/VMWare/Q_28360518.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.
0
Comment
Question by:Mushfique Khan
  • 7
  • 4
  • 3
  • +1
15 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39865016
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.
0
 
LVL 124
ID: 39865026
0
 

Author Comment

by:Mushfique Khan
ID: 39865106
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
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 total points
ID: 39865133
0
 

Author Comment

by:Mushfique Khan
ID: 39865286
I followed Subhashish Laha comments only :(
0
 
LVL 124
ID: 39865316
I mean when you configured the VMDK Sharing, did you use this article and configuire

Mutli Writer...

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1034165
0
 
LVL 13

Assisted Solution

by:Abhilash
Abhilash earned 1000 total points
ID: 39865332
You need to enable Multi-writer flag so that the VMDK allows simultaneous access.
0
 

Author Comment

by:Mushfique Khan
ID: 39865352
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.
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 39865375
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.
0
 

Author Comment

by:Mushfique Khan
ID: 39865450
but how Abhilash Hb ... can you please, but in simple steps/language, thanks.
0
 
LVL 13

Expert Comment

by:Abhilash
ID: 39865469
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
0
 

Author Comment

by:Mushfique Khan
ID: 39865554
still error (attached)
error2.JPG
0
 

Author Comment

by:Mushfique Khan
ID: 39865557
do I need to put " " or not?
0
 
LVL 124
ID: 39865563
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.
0
 

Author Closing Comment

by:Mushfique Khan
ID: 39886210
thanks Andrew Hancock & Abhilash Hb, was able to create the db :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question