环境:ESXi6.5,安装安装完毕添加硬盘时报错“HostDatastoreSystem.QueryVmfsDatastoreCreateOptions”。
根据资料显示,报错原因为之前硬盘安装过Windows server操作系统。
解决方式:
开启ESXi SSH,连接后查看磁盘情况
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
[root@localhost:~]
[root@localhost:~]
[root@localhost:~] fdisk -l
***
*** The fdisk command is deprecated: fdisk does not handle GPT partitions. Please use partedUtil
***
Found valid GPT with protective MBR; using GPT
Disk /dev/disks/naa.61866da06192eb002482682d07310257: 1170997248 sectors, 2432M
Logical sector size: 512
Disk identifier (GUID): 2e2fdd3e-f25c-4d0c-87a6-f866ebf484cb
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1170997214
Number Start (sector) End (sector) Size Code Name
1 64 8191 4064K 0700
2 7086080 15472639 4095M 0700
3 15472640 1170997214 550G 0700
5 8224 520191 249M 0700
6 520224 1032191