Solved

ESXi unable to add blank new local Server LUN ?

Posted on 2016-09-20
12
67 Views
Last Modified: 2016-09-21
People,

I have just inserted 2x 146 GB SAS HDD for HP DL 360 G7

here it is: http://www.harddrivesdirect.com/product_info.php?products_id=144345

I have checked it's compatibi;lity and format it using the P410i boot menu successfully, but when I tried to add it itno my ESXi server, it complained "Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "datastoreSystem-47" on vCenter Server"

Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "datastoreSystem-47" on vCenter Server
Why is that happening ?
0
Comment
  • 5
  • 4
  • 3
12 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 41808152
are these used disks ?

they do not contain any other partitions ?

see my EE Article

HOW TO: Fix An error has occurred adding datastores to an ESXi 5.x host
1
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41808156
Try to get some Information about the disk via command line:
https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1036609

Try to create the Partition table via command line.
0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41808164
Yes, it was repurposed HDD.

I have recreate it as RAID-1 but somehow it is not liking it.

but with the other server since I recreate it as RAID5, it work good.
0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41808191
I got thisissue:

/dev/disks # partedUtil setptbl /vmfs/devices/disks/naa.600508b1001ceda69af4322f41461f0f msdos
msdos
0 0 0 0
Error: Can't have a partition outside the disk!

/dev/disks #
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41808200
Whats the output of
partedUtil getptbl "/vmfs/devices/disks/naa.600508b1001ceda69af4322f41461f0f"

Open in new window

0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41808202
here's the output:

/dev/disks # partedUtil getptbl /vmfs/devices/disks/naa.600508b1001ceda69af4322f41461f0f
Error: Can't have a partition outside the disk!
Unable to read partition table for device /vmfs/devices/disks/naa.600508b1001ceda69af4322f41461f0f


/dev/disks #
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 28

Assisted Solution

by:Michael Pfister
Michael Pfister earned 250 total points
ID: 41808232
I wonder if deleting and recreating the RAID might help. I don't remember the 410i options you have when creating a RAID 1. Can it wipe the disks?
There is a small chance the refurbished disks have a partition table on it. It should have been wiped by the controller but who knows.

If everything fails, remove the disks, attach them to an unused PC and wipe them with dban quick erase. http://www.dban.org/
WARNING! dban will wipe every disk in your system if not used properly! So remove any other disk that should not be wiped!
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41808235
I have no other disk in the server apart from SD card for the ESXi OS and lots of LUNs from the SAN (Fibre Channel).

Would it delete them all or just the local HDD that I can select ?
0
 
LVL 117
ID: 41808278
looks like a partition to  me.

ESXi cannot deal with removing partitions, when creating a new datastore.

I would recommend, if you are struggling to delete the partitions from ESXi, scrub them in another server, or boot a disk eraser from CDROM.
1
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 41808547
Never tried dban with a SAN. I'd rather disconnect it and remove the SD card... just in case...
If you're careful you can start dban in interactive mode and select the disks it should erase.
But if I remember correctly pressing enter at the wrong place will scrub all disks it can mount.
1
 
LVL 117
ID: 41808572
disconnect the cables e.g. networking and FC cables.

dban would need to have drivers to initialize the network interface and HBAs.

it just about works with local storage controllers!
0
 
LVL 7

Author Closing Comment

by:Senior IT System Engineer
ID: 41810079
Thanks guys !
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
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.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

760 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

23 Experts available now in Live!

Get 1:1 Help Now