2014年1月29日

VMware vSphereエラー:ESXi「192.168.XXX.XXX」で オブジェクト「ha-datastoresystem」の「HostDatastoreSystem.QueryVmfsDatastoreCreateOptions」 の呼び出しが失敗しました。

ESXi 5.5にて、新規でRAIDディスクを増設し、vSphere Clientから「ストレージの追加」を行ったところ、ディスクを選択した画面で下記エラーが発生。


ESXi「192.168.XXX.XXX」で オブジェクト「ha-datastoresystem」の「HostDatastoreSystem.QueryVmfsDatastoreCreateOptions」 の呼び出しが失敗しました。

何度やっても同じエラーが出るので、どうやらタイミングとかそういう問題ではない様子。

色々調べてみると、どうやらESXi側は正しくパーティション情報を取得できないが為に出るエラーのよう。パーティション情報を書いてやればいけそう??かな?

というわけで、やってみた。

SSHでESXiに接続して、パーティション情報確認

# 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/t10.ATA_____M42DCT064M4SSD2__________________________00000000112603137A47: 125045424 sectors,  119M
Logical sector size: 512
Disk identifier (GUID): dc0bc7f4-89d4-44b4-9bbb-1b28313dbcca
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125045390

Number  Start (sector)    End (sector)  Size       Code  Name
   1              64            8191        8128   0700
   2         7086080        15472639       8190K   0700
   3        15472640       125045390        104M   0700
   5            8224          520191        499K   0700
   6          520224         1032191        499K   0700
   7         1032224         1257471        219K   0700
   8         1257504         1843199        571K   0700
   9         1843200         7086079       5120K   0700
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/disks/naa.600508b1001c72587786403dfb9a9c87: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/disks/naa.600508b1001c72587786403dfb9a9c87 doesn't contain a valid partition table

t10.ATA~の方は、ESXiをインストールしたドライブで、naa.600~の方が追加したドライブ。「valid partition table」なんて出ちゃってるから、確かにパーティション情報がちゃんとなってない模様。

というわけで、パーティション情報書き込みです。

# fdisk /dev/disks/naa.600508b1001c72587786403dfb9a9c87

***
*** 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
Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 267349.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table

ただ、wしてみただけ。

で、再度「ストレージの追加」をすると、すんなり通過…。
こんなんでいいのか??
動いたから、とりあえずいいか。(^^)

0 件のコメント: