12月 272012
要使用vmotion,iscsi,nfs功能,必须启用VMkernel端口,ESX 4.1默认不启用,ESXi 5.x默认启用。
在 vCenter Server“SZVCENTER01”上调用对象“datastoreSystem-44”的“HostDatastoreSystem.CreateNasDatastore” 失败。
挂载NFS存储的ESX控制台命令格式
# esxcfg-nas -a <datastore name> -o <nfs server hostname/ip> -s <mount point>
使用ESX控制台命令挂载NFS存储时的错误提示
[root@esx01 ~]# esxcfg-nas -r [root@esx01 ~]# esxcfg-nas -l [root@esx01 ~]# esxcfg-nas -a nfsdatastore1 -o 192.168.1.202 -s /store Connecting to NAS volume: nfsdatastore1 Unable to connect to NAS volume nfsdatastore1: Unable to mount, no VMkernel TCP stack found [root@esx01 ~]#
查看ESX主机的当前网络设置
使用ESX控制台命令挂载NFS存储
[root@esx01 ~]# esxcfg-nas -a nfsdatastore1 -o 192.168.1.202 -s /store
Connecting to NAS volume: nfsdatastore1nfsdatastore1 created and connected.
[root@esx01 ~]#
使用ESX控制台命令查看当前挂载的NFS存储
[root@esx01 ~]# esxcfg-nas -l
nfsdatastore1 is /store from 192.168.1.202 mounted