Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NFS default export - can this be changed to a custom setting?
2010-06-19
03:20 AM
4,807 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 🙂
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
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 ...
sorry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
i.e.
vol create volume1 aggr1 1000g
vol options volume1 no_atime_update on
vol options volume1 convert_ucode on
vol options volume1 create_ucode on
vol options volume1 nosnapdir on
exportfs -io rw="192.168.0.100 255.255.255.0" /vol/volume1
or, if your client uses netgroups to provision NFS access;
exportfs -io ro,root=@trusted,rw@friendly /vol/volume1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
