VMware Cloud Community
gnm_forum_guy
Contributor
Contributor
Jump to solution

Server command line config

Does anyone know how to do the following from the console on an esx server 3 host?

i Set any of the the advanced features particularly NFS.MaxVolumes

ii refresh the NFS storage, you can add storage using esxcfg-nas -a -o but cannot see it in the virtual centre untill you go in and click refresh

Any help would be greatly apreciated

Reply
0 Kudos
1 Solution

Accepted Solutions
merse
Hot Shot
Hot Shot
Jump to solution

esxcfg-advcfg -q -s 12 /NFS/MaxVolumes

Then restart the mgmt-vmware service.

edit: added -q as it's for a script so output supressed.

View solution in original post

Reply
0 Kudos
4 Replies
cheeko
Expert
Expert
Jump to solution

echo 1 > /proc/vmware/config/NFS/MaxVolumes

The second one cant be scripted afaik.

gnm_forum_guy
Contributor
Contributor
Jump to solution

Thanks for the path to the configuration.

/proc/vmware/config/NFS/MaxVolumes

I would like to do this in a script but I am having problem editing the file I get an error that I cannot replace it.

Any ideas?

Reply
0 Kudos
merse
Hot Shot
Hot Shot
Jump to solution

esxcfg-advcfg -q -s 12 /NFS/MaxVolumes

Then restart the mgmt-vmware service.

edit: added -q as it's for a script so output supressed.

Reply
0 Kudos
merse
Hot Shot
Hot Shot
Jump to solution

Oh and to modify any other advanced settings, look up the advanced settings in the VIC and follow the same format for /<section>/<setting>

Reply
0 Kudos