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

x
?
Solved

VMWARE - Unable to update disk partition table

Posted on 2010-08-24
14
Medium Priority
?
1,018 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 

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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
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.

926 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