Solved

VMWARE - Unable to update disk partition table

Posted on 2010-08-24
14
1,000 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
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: 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pass through and VGPU 6 77
How to Increase Disk-Space on VM 8 78
Veeam Manuall Backup 2 57
Add ESXi to LDAP/AD = Scripted? 2 7
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

867 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

21 Experts available now in Live!

Get 1:1 Help Now