Troubleshooting the Add Storage Wizard error: Unable to read partition information from this disk (1008886)

有時候在新增storage LUN 的時候會出錯,原因是因為ESXi host判斷這個LUN曾被分隔成不同格式,所以不認得,因此要SSH到ESXi裏面,利用 dd 指令把這個新的LUN重新格式化。

~ # fdisk -l /vmfs/devices/disks/naa.203e001378908c18

***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions. Please use partedUtil
***

fdisk: device has more than 2^32 sectors, can’t use all of them
Found valid GPT with protective MBR; using GPT

Disk /vmfs/devices/disks/naa.203e001378908c18: 4294967295 sectors, 4095M
Logical sector size: 512
Disk identifier (GUID): a1a3f953-8b8f-4d34-a900-75b39e2847d1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 152360189918

Number Start (sector) End (sector) Size Code Name
1 34 152360187999 141G 0700 Secondary
~ # dd if=/dev/zero of=”/vmfs/devices/disks/naa.203e001378908c18″ bs=512 count=34 conv=notrunc
34+0 records in
34+0 records out

refer vmWare KB

Leave a Reply