12 月 272012
 

要使用vmotion,iscsi,nfs功能,必须启用VMkernel端口,ESX 4.1默认不启用,ESXi 5.x默认启用。

esx410-nfs-01

esx410-nfs-02

esx410-nfs-03

esx410-nfs-04

在 vCenter Server“SZVCENTER01”上调用对象“datastoreSystem-44”的“HostDatastoreSystem.CreateNasDatastore” 失败。

esx410-nfs-05

挂载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主机的当前网络设置

esx410-nfs-06 esx410-nfs-07

 

esx410-nfs-08

esx410-nfs-09 esx410-nfs-10

esx410-nfs-11

esx410-nfs-12

esx410-nfs-13

esx410-nfs-14

esx410-nfs-15

使用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

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)