Solved

VMWARE - Unable to update disk partition table

Posted on 2010-08-24
14
1,008 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 

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

Independent Software Vendors: 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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

728 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