ESXiホストのデータストア領域の拡張

今回データストアの増設用に、SSDのWesternDigital WDS400T2X0Eを購入しました。

増設するとこんな感じ。

ESXiホストにsshでログインして、SSDを認識しているか確認。

[root@localhost:~] /usr/lib/vmware/misc/bin/fdisk -l
Found valid GPT with protective MBR; using GPT

Disk /dev/disks/t10.NVMe____WD_BLACK_SN770_2TB______________________EBE22F4E8B441B00: 3907029168 sectors, 3089M
Logical sector size: 512
Disk identifier (GUID): adc5ceb7-41bd-410d-81a3-0d61e68dbe62
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134

Number  Start (sector)    End (sector)  Size Name
     1              64          204863  100M BOOT
     5          208896         8595455 4095M BOOTBANK1
     6         8597504        16984063 4095M BOOTBANK2
     7        16986112       268435455  119G OSDATA
     8       268437504      3907029134 1735G datastore1

<今回追加したSSDが認識されている>
fdisk: device has more than 2^32 sectors, can't use all of them
Disk /dev/disks/t10.NVMe____WD_BLACK_SN850X_4000GB__________________DACE10414A441B00: 2048 GB, 2199023255040 bytes, 4294967295 sectors
267349 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Disk /dev/disks/t10.NVMe____WD_BLACK_SN850X_4000GB__________________DACE10414A441B00 doesn't contain a valid partition table

こちらでも確認ができる。

[root@localhost:~] esxcli storage core device capacity list
Device                                                                Physical Blocksize  Logical Blocksize  Logical Block Count         Size  Format Type
--------------------------------------------------------------------  ------------------  -----------------  -------------------  -----------  -----------
t10.NVMe____WD_BLACK_SN850X_4000GB__________________DACE10414A441B00                4096                512           7814037168  3815447 MiB  512e
t10.NVMe____WD_BLACK_SN770_2TB______________________EBE22F4E8B441B00                4096                512           3907029168  1907729 MiB  512e

ESXi Host Clientにアクセスして、ブラウザからデータストアの拡張作業を行います。

ストレージ新しいデータストア をクリック。

既存のVMFSデータストアにエクステンを追加します を選択

拡張したいデータストアを選択

先程増設したSSDを選択

使用するディスク容量と、ファイルシステムのバージョンを選択

完了 をクリックしてデータストアを作成します。

新規追加するディスク内の既存データが消去される旨の確認がでるので、はい を選択。

完了すると、ストレージから確認が出来る。時間がかかると思いましたが、一瞬で完了しました。

無事にESXiのデータストアの拡張が完了しました。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です