Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

Exports file

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


neil at mbari

May 8, 2008, 3:27 PM

Post #1 of 2 (172 views)
Permalink
Exports file

I want configure an exports file to grant a client ro access when Iıve
excluded the subnet the client belongs to from rw access.

The man page reads: ³You cannot exclude an NFS client identifier from the
ro= or rw= option and include the same NFS client identifier in the other
option², but Iım wondering if that restriction applies to subnets.

This is what I have now:

/vol/vol0/dir1 -sec=sys,rw=-123.123.4.0/24:123.123.0.0/16,root=adminhost

And I want something like this:

/vol/vol0/dir1
-sec=sys,ro=123.123.4.4,rw=-123.123.4.0/24:123.123.0.0/16,root=adminhost

Is this possible?


kparker2 at nc

May 9, 2008, 5:49 AM

Post #2 of 2 (149 views)
Permalink
RE: Exports file [In reply to]

Most permissive permission always applies. So here, client will get RW from
the "rw=-123.123.4.0/24" statement. ro will be dropped as client gets most
permissive permission when conflict.

Try it! You can also play with 'exportfs -c' (I think "-c" is the arg - give
it a client name and it will show you what exported and how)

Best regards,
~~~~~~~~~~~~~~~~
Kevin Parker
Mobile: 919.606.8737
http://theparkerz.com <blocked::http://theparkerz.com/>
~~~~~~~~~~~~~~~~


_____

From: owner-toasters[at]mathworks.com [mailto:owner-toasters[at]mathworks.com] On
Behalf Of Conner, Neil
Sent: Thursday, May 08, 2008 6:28 PM
To: Toasters
Subject: Exports file


I want configure an exports file to grant a client ro access when I've
excluded the subnet the client belongs to from rw access.

The man page reads: "You cannot exclude an NFS client identifier from the
ro= or rw= option and include the same NFS client identifier in the other
option", but I'm wondering if that restriction applies to subnets.

This is what I have now:

/vol/vol0/dir1 -sec=sys,rw=-123.123.4.0/24:123.123.0.0/16,root=adminhost

And I want something like this:

/vol/vol0/dir1
-sec=sys,ro=123.123.4.4,rw=-123.123.4.0/24:123.123.0.0/16,root=adminhost

Is this possible?

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.