I am running RH 6.1 and mounting Solaris 2.6 filesystems using NFS. 
I would like to mount them ro.

Users could not open files in directories mounted this way, so 
reviewed the posts from the recent past and found this one:


>Date: Wed, 12 May 1999 16:19:18 -0400 (EDT)
>From: "Steve \"Stevers!\" Coile" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: NFS between 2.2.6 and 2.0.36
>Message-ID: 
><[EMAIL PROTECTED]>
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>On Wed, 12 May 1999, Zach Tippit wrote:
>  > I've just upgraded one of our servers to 2.2.6.  It is an NFS server to a
>  > machine running 2.0.36(both redhat-5.2).  I installed all of the necessary
>  > packages to make 2.2.6 happy, however the client machine mounts the server
>  > in read-only mode, even though it reports it being mounted in read-write
>  > mode.  Has anyone seen this problem before?  I'm running the newest(beta
>  > 40) nfs server and client packages on each side, btw.
>
>I found that the NFS (knfsd) packages included with RHL 6.0 export
>filesystems read-only by default, despite the man page, so you might
>try exporting them read-write explicitly.
>
>Also, make sure your NFS mount options on the 2.2 box include the
>"nolock" option.  Otherwise your 2.2 box may try to get file locks via
>NFS/lockd and fail because the 2.0 box doesn't do NFS file locking.
>
>--
>Steve Coile               R e d   H a t             Systems Administration
>[EMAIL PROTECTED]             S o f t w a r e               (919) 547-0012

The problem is that the nolock option works only when I take the ro 
option off.    For example, this doesn't work (users see files as 
locked, can't open them):

ro,nosuid,nolock,rsize=8192,wsize=8192,intr,soft

But this does (users can open files):

nosuid,nolock,rsize=8192,wsize=8192,intr,soft

(the file system is mounted rw)

By the way ... the order doesn't matter.  Nolock,ro and ro,nolock 
both lock the users out of the files.

Can anyone tell me how to get ro and nolock to work together?

Am I expecting too much to think that RH should work with Solaris out 
of the box?












--
Peter Stoddard
System Administrator,
Environmental Monitoring and Pest Management Branch
California Department of Pesticide Regulation
California Environmental Protection Agency
(916) 324-4078, (916) 801-2395
[EMAIL PROTECTED]  1*


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to