VMware: NFS datastore handling on commandline

list nfs datastores

esxcfg-nas -l

restore nfs datastores

esxcfg-nas -r

delete nfs datastores:

esxcfg-nas -d myDatastore

or

esxcli storage nfs remove -v myDatastore

add nfs datastores:

esxcfg-nas -a myDatastore -o nas-ip -s /vol/volume

VMware KBs:
KB1005057
KB1029301

This entry was posted in VMware and tagged . Bookmark the permalink.