Configure an NFS Datastore using command line tools.
[root@vmhost root]# esxcfg-nas
esxcfg-nas <options> [<label>]
-a|–add Add a new NASc filesystem to /vmfs volumes.
Requires –host and –share options.
Use –readonly option only for readonly access.
-o|–host <host> Set the host name or ip address for a NAS mount.
-s|–share <share> Set the name of the NAS share on the remote system.
-y|–readonly Add the new NAS filesystem with readonly access.
-d|–delete Unmount and delete a filesystem.
-l|–list List the currently mounted NAS file systems.
-r|–restore Restore all NAS mounts from the configuration file.
(FOR INTERNAL USE ONLY).
-h|–help Show this message.
[root@vmhost root]# esxcfg-nas –add –host 192.168.15.252 –share /storage/iso ISO
Connecting to NAS volume: ISO
ISO created and connected.
[root@vhost root]# esxcfg-nas –list
ISO is /storage/iso from 192.168.15.252 mounted

Categories
Tag Cloud
Blog RSS
Comments RSS
Last 50 Posts
Back
Back
Void « Default
Life
Earth
Wind
Water
Fire
Light 