要使用vmotion,iscsi,nfs功能,必須啟用VMkernel端口,ESX 4.1默認不啟用,ESXi 5.x默認啟用。
在 vCenter Server“SZVCENTER01”上調用對象“datastoreSystem-44”的“HostDatastoreSystem.CreateNasDatastore” 失敗。
掛載NFS存儲的ESX控制臺命令格式
# esxcfg-nas -a -o -s
使用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 /storeConnecting to NAS volume: nfsdatastore1nfsdatastore1 created and connected.[root@esx01 ~]#
使用ESX控制臺命令查看當前掛載的NFS存儲
[root@esx01 ~]# esxcfg-nas -lnfsdatastore1 is /store from 192.168.1.202 mounted