Adding a LUN using the Add Storage wizard fails | Vmware ESX
Reusing scrapped Hard Disks on the Testing Server (Vmware). Ran smartmontools to ensure the SMART Health.
* https://www.smartmontools.org/wiki/Download
Built RAID then. However, got this error when adding a storage:
Following - "Troubleshooting the Add Storage Wizard error: Unable to read partition information from this disk (1008886)" (https://kb.vmware.com/s/article/1008886) to solve it finally.
Update
0x05 (Decimal: 5) Reallocated Sectors Count: 140Note: Smartmontools Documentation https://www.smartmontools.org/wiki/TocDoc
0xC5 (Decimal: 197) Current Pending Sector Count: 0
SMART Health: Passed
* https://www.smartmontools.org/wiki/Download
Built RAID then. However, got this error when adding a storage:
Adding a LUN using the Add Storage wizard fails with the error:
Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "datastoreSystem-xxxx" on vCenter Server "VC FQDN" failed.
Following - "Troubleshooting the Add Storage Wizard error: Unable to read partition information from this disk (1008886)" (https://kb.vmware.com/s/article/1008886) to solve it finally.
# fdisk -l
Disk /dev/disks/naa.60024e8050d21500226b3f790f4ffdf6: 249.5 GB, 249510756352 bytes
255 heads, 63 sectors/track, 30334 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End
/dev/disks/naa.60024e8050d21500226b3f790f4ffdf6p1 * 1 7605 61087
/dev/disks/naa.60024e8050d21500226b3f790f4ffdf6p2 7606 8209 4851
/dev/disks/naa.60024e8050d21500226b3f790f4ffdf6p3 8210 30401 178257
/dev/disks/naa.60024e8050d21500226b3f790f4ffdf6p5 8210 30401 178257
Disk /dev/disks/naa.60024e8050d21500220dd82b0ade9d72: 499.5 GB, 499558383616 bytes
64 heads, 32 sectors/track, 476416 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p1 5 900 917
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p2 901 4995 4193
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p3 4996 476416 482735
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p4 * 1 4 4
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p5 5 254 255
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p6 255 504 255
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p7 505 614 112
/dev/disks/naa.60024e8050d21500220dd82b0ade9d72p8 615 900 292
Partition table entries are not in disk order
# dd if=/dev/zero of="/vmfs/devices/disks/naa.60024e8050d21500226b3f790f4ffdf6" bs=512 count=34 conv=notrunc
34+0 records in
34+0 records out
Update