Solved

VMWARE - Unable to update disk partition table

Posted on 2010-08-24
14
1,005 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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
 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
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:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

808 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