ESXiで「恒久的ストレージがありません。」と怒られる

Posted by onodai.


ESXiのデータストアとして使っていたHDDがお亡くなりになったので、ddでクローンしたHDDを使おうとしたら、ESXiホストには、恒久的ストレージがありません。と怒られた。
ESXi1

難しいことは考えず、今すぐストレージを追加するには、ここをクリックしてデータストアを作成...からウィザードに従いデータストアを追加すればよい。
1つ注意するとすれば、必ずVMFSマウントオプションの選択では新しい署名を割り当てを選ぶこと。
ESXi2

VMwareのナレッジに記載があるが、既存の署名を保持してしまうと、将来的に問題が起きることがあるらしい。
vSphere handling of LUNs detected as snapshot LUNs (1011387)

Note: Keeping the existing signature will cause problems in the future, such as preventing the increase of the datastore size, and preventing the datastore from automatically mounting on new hosts, etc. So, "force mounting" (mounting the datastore while keeping the existing signature) is just a temporary step to gain immediate access. After that, please either schedule a maintenance window for the VMs on that datastore and assign the new signature, or migrate the VMs off the datastore so they are not affected by the maintenance.

実際、今回は500GBのHDDから1TBのHDDにクローンしたため、ESXiからデータストアを容量いっぱいに拡張しようとしたのだが、ESXiから空き領域は見えているのに拡張することができなかった。
ESXi3

無事にデータストアが追加できたら、VMをインベントリに追加していく。
今回は手探り状態でちゃんとした手順をなぞったわけではないので、自分の環境では必要な作業だったが、実は勝手にインベントリに追加されるかもしれない。

comments powered by Disqus