VMware vSphere Client上添加存储时显示:在 ESXi“192.168.59.59”上调用对象 “datastoresystem”的“HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” 失败
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| > ls /vmfs/devices/disks naa.6782bcb0635695001f1f261018908d00 naa.6782bcb0635695001f1f261018908d00:1 naa.6782bcb0635695001f1f261018908d00:2 naa.6782bcb0635695001f1f261018908d00:3 naa.6782bcb0635695001f1f261018908d00:5 naa.6782bcb0635695001f1f261018908d00:6 naa.6782bcb0635695001f1f261018908d00:7 naa.6782bcb0635695001f1f261018908d00:8 naa.6782bcb0635695001f1f261018908d00:9 naa.6782bcb0635695001f21a2451bd15e08 naa.6782bcb0635695001f21a2451bd15e08:1 naa.6782bcb0635695001f21a2451bd15e08:2 naa.6782bcb0635695001f21a25f1d533c53 naa.6782bcb0635695001f21a25f1d533c53:1 vml.02000000006782bcb0635695001f1f261018908d00504552432036 vml.02000000006782bcb0635695001f1f261018908d00504552432036:1 vml.02000000006782bcb0635695001f1f261018908d00504552432036:2 vml.02000000006782bcb0635695001f1f261018908d00504552432036:3 vml.02000000006782bcb0635695001f1f261018908d00504552432036:5 vml.02000000006782bcb0635695001f1f261018908d00504552432036:6 vml.02000000006782bcb0635695001f1f261018908d00504552432036:7 vml.02000000006782bcb0635695001f1f261018908d00504552432036:8 vml.02000000006782bcb0635695001f1f261018908d00504552432036:9 vml.02000000006782bcb0635695001f21a2451bd15e08504552432036 vml.02000000006782bcb0635695001f21a2451bd15e08504552432036:1 vml.02000000006782bcb0635695001f21a2451bd15e08504552432036:2 vml.02000000006782bcb0635695001f21a25f1d533c53504552432036 vml.02000000006782bcb0635695001f21a25f1d533c53504552432036:1
|
- vSphere Client中找到报错的那块磁盘名字,我这里是
naa.6782bcb0635695001f21a2451bd15e08
- 将该块磁盘重新分区
1
| > partedUtil mklabel /dev/disks/naa.6782bcb0635695001f21a2451bd15e08 gpt
|
我这里的磁盘容量为2T,这里使用gpt分区表,如果容量不是很大,可以写msdos
使用MBR分区表
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| > ls /vmfs/devices/disks naa.6782bcb0635695001f1f261018908d00 naa.6782bcb0635695001f1f261018908d00:1 naa.6782bcb0635695001f1f261018908d00:2 naa.6782bcb0635695001f1f261018908d00:3 naa.6782bcb0635695001f1f261018908d00:5 naa.6782bcb0635695001f1f261018908d00:6 naa.6782bcb0635695001f1f261018908d00:7 naa.6782bcb0635695001f1f261018908d00:8 naa.6782bcb0635695001f1f261018908d00:9 naa.6782bcb0635695001f21a2451bd15e08 naa.6782bcb0635695001f21a25f1d533c53 naa.6782bcb0635695001f21a25f1d533c53:1 vml.02000000006782bcb0635695001f1f261018908d00504552432036 vml.02000000006782bcb0635695001f1f261018908d00504552432036:1 vml.02000000006782bcb0635695001f1f261018908d00504552432036:2 vml.02000000006782bcb0635695001f1f261018908d00504552432036:3 vml.02000000006782bcb0635695001f1f261018908d00504552432036:5 vml.02000000006782bcb0635695001f1f261018908d00504552432036:6 vml.02000000006782bcb0635695001f1f261018908d00504552432036:7 vml.02000000006782bcb0635695001f1f261018908d00504552432036:8 vml.02000000006782bcb0635695001f1f261018908d00504552432036:9 vml.02000000006782bcb0635695001f21a2451bd15e08504552432036 vml.02000000006782bcb0635695001f21a25f1d533c53504552432036 vml.02000000006782bcb0635695001f21a25f1d533c53504552432036:1
|
再次添加磁盘,成功!
参考文档: https://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=2076191