05 Feb 2010 @ 9:42 AM 
Google Buzz

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.

More specifically:

[root@vmhost root]# esxcfg-nas –add –host 192.168.15.252 –share /storage/iso ISO
Connecting to NAS volume: ISO
ISO created and connected.

Result:

[root@vhost root]# esxcfg-nas –list
ISO is /storage/iso from 192.168.15.252 mounted

  • Share/Bookmark
Posted By: Tito
Last Edit: 05 Feb 2010 @ 09:42 AM

EmailPermalinkComments (0)
Tags

 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 260
  • Comments » 81
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.