0.5 preparation
before ========= ========= server 1T hard
to add a hard drive, here is a piece of ready 1T hard drive, mounted on the server.
============= goal: to achieve a storage pool datastore ======== of 1.8T
1. Turn EXSi ssh port 6.7
1.1 press F2 to enter the login screen, enter your user name and password, Troublesboot Options press the enter key to enter the lower page;
1.2 ssh option is selected enter key switch to enable or disable. (Disable display is turned on, the option is turned off)
2. Add the physical disk storage to ESXi, identified as a virtual disk
After 2.1 Xshell enter SSH, before the first physical hard disk to find
find the physical disk command:
# ls -l /vmfs/devices/disks/
Here are the results
by the previous server comparison chart, you can determine the above red box is my hard drive before
the physical device is seen below in the "storage" in the
2.2 to physical hard disk is identified as a vmdk virtual disk
configuration templates# vmkfstools -z /vmfs/devices/disks/<--ls -l /vmfs/devices/disk--查到的物理磁盘块编号> /vmfs/volumes/datastore1/<--自定义新的虚拟磁盘名称-->.vmdk
I have here the following command, we define a new 1tST of vmdk virtual disk
# vmkfstools -z /vmfs/devices/disks/t10.ATA_____ST1000DM0032D1SB102__________________________________Z9A32M34
/vmfs/volumes/datastore1/1tST.vmdk
2.3 into the management web, refresh the page, the device can be seen, the new hard drive, click, there will be the hard disk device
3. Add management page through the hard disk, and increase the storage capacity of the pool
at this time may have been seen to identify a second physical disks
.
3.1 new storage pool datastore2
3.2 before the drive is formatted in the format VMFS 6
confirm completion and formatting 3.3
At this point, there has been a second storage pool, you can continue to add disks to a VM
3.4 datastore2 merged into datastore1, the realization of a disk of 2T
3.4.1 click datastore2, go after the operation "Delete"
3.4.2 click datastore1, "increase capacity"
3.4.3 "Adding to an existing VMFS data store the data area" for the datastore1
beginning ST checked prior to 3.4.4, it has been created as a 1T hard disk VMFS
3.4.5 confirm completion
Finally, we see the purpose of reaching the storage pool for the successful expansion 1.8T
Information on the official website link: https://kb.vmware.com/s/article/1017530?lang=zh_CN#q=%E8%A3%B8