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
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.
echo 1 > /proc/vmware/config/NFS/MaxVolumes
The second one cant be scripted afaik.
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?
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.
Oh and to modify any other advanced settings, look up the advanced settings in the VIC and follow the same format for /<section>/<setting>