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

EmailPermalink
Tags


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Spam protection by WP Captcha-Free


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

About



    No Child Pages.