ESXi storage
Topology
ESXi local storage
本地存储
It is installed on the ESXi operating system server 本地磁盘
. ESXi本地存储
It needs to be 本地存储
formatted into a file system before it can be used VMFS
.
You can 多块磁盘
put it into a VMFS
file system.
1. Create local storage
Open ESXi web控制台
and
click on the left 存储
-》数据存储
-》新建数据存储
Create a new VMFS
data store
VMFS数据存储
Fill in the storage for this new one 名称
, 选择
and the bottom one will be used as VMFS storage 磁盘
.
Select partition options, general selection 使用全部磁盘
, VMFS6
; click 下一步
.
Click 完成
.
Click as prompted 是
.
2. Local storage increases capacity
Click 存储
–》数据存储
–> on the left to add a data area 增加容量
to an existing VMFS
data store
Select which local disk capacity you want to add to 已有的VMFS数据存储
Select
the partition option, generally select 使用全部磁盘
; VMFS6
click 下一步
.
Click 完成
.
Click 是
.
View 扩容后
the VMFS datastore 容量
.
Add NFS storage to ESXi
1. Install NFS server
https://blog.csdn.net/omaidb/article/details/120926883
2.ESXi connects to NFS storage
If ESXi wants to connect NFS服务器
, it needs to NFS服务器
be configured vmkernel的ip地址
so that NFS服务器
it can work ESXi
properly 网络互通
.
# 查看nfs版本
nfsstat -m nfs服务器
Select the corresponding NFS version
to view the capacity after NFS存储
mounting .VMFS
IP SAN storage
Use iSCSI as a storage share for ESXi.
1. Set up an iSCSI server
https://blog.csdn.net/omaidb/article/details/120091644
2.ESXi configures iSCSI as IPSAN storage
Open , click on ESXi
the left -》-》web控制台
存储
适配器
配置iSCSI
Discover shared disk
# 发现共享磁盘-Discovery
## -m 动作类型 discovery(发现)
## -t st 是发现动作的固定格式
## -p 服务端的地址
iscsiadm -m discovery -t st -p 192.168.1.1:3260
Select iSCSI已启用
, enter 名称和别名
;
click 添加动态目标
, enter in addressiscsi服务器ip