Network Storage Protocols Discussions
A NFS customer would like to change the default export for when you create a volume from the open setting that comes with a filer to a more locked down custom setting.
The way thery manage their filer means they create new volumes regularly and then have to stop the open export, create their own locked down export and change the export.
I know we can stop the auto export 🙂
You can just turn off the default export ....
by this options :nfs.export.auto-update off
But change the default settings to this, i have never show this tye of custom ...
Probably not exactly what you're after, but a viable option might be;
- turn off that export option you mentioned (options nfs.export.auto-update I believe)
- use a script to provision the volume and export the locked down NFS mount
vol create volume1 aggr1 1000g
vol options volume1 no_atime_update on
Ross, if you want to export a qtree, instead of the volume, do you need to change the default export? Or just lock it down?
ie create qtree called /vol/volume1/volume1 and then reference /vol/volume1/volume1 instead of /vol/volume1 when accessing the export from hosts.