Solved

VMWARE - Unable to update disk partition table

Posted on 2010-08-24
14
999 Views
Last Modified: 2012-05-10
I recently added two drives to our VMWare host. The drives are stripped. When I attempt to add the drive set as a data storage group in VMWARE. I get the error message "Unable to update disk partition table"  

I researched on line and I found the VMWare KB article that tells me to use fdisk from the console etc.  However, the error that I get when I try the fdisk -u <identifier>  is "unable to read from <identifier>  I know the syntax is correct because I can change the identifier and all is well.

if I look under the dev\disks directory I do see the disk that I need to parition. If I run fdisk -l it does not display.
0
Comment
Question by:Tom892
  • 7
  • 7
14 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 33515019
Assuming you are using ESX or ESXi, from within your vSphere client select the server. Click on the configuration tab, then storage adapters. Select the rescan all link.

Now go to Storage and click Add Storage. The new drives should show up at that point and give you an opportunity to create a new datastore.

Good Luck
0
 

Author Comment

by:Tom892
ID: 33515210
I'm running ESXi 4.0. I tried that but that did not work. I can see the storage that I need to add however it tells me it cannot update the partition table.

This is the VMWare KB I am referencing  http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1001489

However I cannot get past the part that says run fdisk -u <identifier> because it says it cannot read from <identifier>
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33515470
What kind of server and disk controller are you working with?
0
 

Author Comment

by:Tom892
ID: 33515505
HP DL360 G5    Smart Array p400i
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33515602
If you haven't already you will need to run the Array configuration utility you need to do that.

If you have run the array configuration utility, how did you define the new drives? Are they a mirror set? Or just single drives?
0
 

Author Comment

by:Tom892
ID: 33515645
Yea that was done, the array is stripped and is visible to the VMware Hypervisor. It shows as unallocated space.  Pretty much I type the command fdisk -u mpx.vmhba1:C0:T1:L0.  an it tells me it cant read it.  
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33515872
Try

/dev/disks/fdisk -u mpx.vmhba1:C0:T1:L0
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Tom892
ID: 33515919
Tried that before. It works fine if I try a different disk identifier. You think its worth it to delete the array and recreate?
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33516373
Can't hurt - there is nothing on it, in the meantime I will add a drive to my test system and see what happens
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33516480
Well - added another disks to my (virtual) ESXi and all works as expected. I can see the disk in the client - storage adapters - click on vmhba1 and see disks in bottom pane. Can add as datastore under storage.

Played with fdisk - note that it didn't work without the full path (try one)
worked with full path (try two)
Diidn't work with case error in full path c0:t1:l0 (try three)

How did recreate array go?
fdisk.png
0
 

Author Comment

by:Tom892
ID: 33521084
Sorry for the delay on responding. I have to schedule the server to come down.  
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33521219
Thanks for the update
0
 

Author Comment

by:Tom892
ID: 33521471
I was fooling around with it again. I notice that if the syntax is incorrect I get the cannot open error as you did.  If the syntax is correct, I get the cannot read from error. These seperate array sets are connected to the same controller so that explains why it would be locked for editing from the vsphere client, however all the documentation says I should be able to do this from the console.
0
 

Author Comment

by:Tom892
ID: 33664030
Something was messed up with the array. Once I took it down, removed and than recreated, I was able to add the other datastore without any problems.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now