VMWare vSphere ESXi v5.5 Install Errors disk cannot partition

While adding a new disk to an ESX5.5. box it could not finish the partitioning stage and did not add to the Datastores.

Apparently ESX does succeed to clean up the Disk from the GUI.

NOTE: This procedure will destroy all data on the disk

# esxcfg-scsidevs -l

this lists the disk devices, the device file will be /dev/disks/<NAME>
output looks like:
t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
   Device Type: Direct-Access
   Size: 305245 MB
   Display Name: Local ATA Disk (t10.ATA_ST3320620AS_6QF1PZXB)
   Multipath Plugin: NMP
   Console Device: /vmfs/devices/disks/t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
   Devfs Path: /vmfs/devices/disks/t10.ATA_____ST3320620AS_________________________________________6QF1PZXB
   Vendor: ATA       Model: ST3320620AS       Revis: 3.AA
   SCSI Level: 5  Is Pseudo: false Status: on
   Is RDM Capable: false Is Removable: false
   Is Local: true  Is SSD: false
   Other Names:
      vml.010000000020202020202020202020202036514631505a5842535433333230
   VAAI Status: unknown

# partedUtil get /dev/disks/t10.ATA_…

this shows the partitions on the device output looks like:
38913 255 63 625142448
1 64 251079 140 138
2 314080 325137344 453 0
this disk has 2 partitions, numbers 1 and 2

# partedUtil delete /dev/disks/t10.ATA_… 2

deletes partition 2

 

# partedUtil delete /dev/disks/t10.ATA_… 1

deletes partition 1

 

nJoy 😉

 

Leave a Reply

Your email address will not be published. Required fields are marked *