From: Ondrej Valousek <webserv@s3group.cz>
To: "autofs@linux.kernel.org" <autofs@linux.kernel.org>
Subject: Re: Read-only map
Date: Thu, 30 Oct 2008 18:28:18 +0100 [thread overview]
Message-ID: <4909EEB2.8040100@s3group.cz> (raw)
In-Reply-To: <3ddb09290810301023h4cf0e769w9b9ad8e396e3df0d@mail.gmail.com>
I tried on RHEL 5.2 and it works, too.
But it still does not work with the automounter - still does the mount
--bind (probably)....
Ondrej
Steve Linn wrote:
> Interesting. I tried it on a Suse 9,3, Open Suse 10.3 kernel and
> an earlier RHEL and they failed. Opensuse 11 works though.
>
> root@fid1 ~]$ mount -o ro lid40:/etc /mnt/test1
> [root@fid1 ~]$ mount -o rw lid40:/etc /mnt/test2
> [root@fid1 ~]$ touch /mnt/test2/passwd
> touch: cannot touch `/mnt/test2/passwd': Read-only file system
> [root@fid1 ~]$ cat /proc/version
> Linux version 2.6.9-34.0.1.EL.ADSKsmp (root@strasbourg) (gcc version
> 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Tue Aug 12 21:24:17 EDT 2008
> [root@fid1 ~]$ cat /etc/redhat-release
> Red Hat Enterprise Linux WS release 4 (Nahant Update 3)
>
>
> suse11build /root# mount -o ro lid40:/etc /mnt/test1
> suse11build /root# mount -o rw lid40:/etc /mnt/test2
> suse11build /root# touch /mnt/test2/passwd
> suse11build /root# cat /proc/version
> Linux version 2.6.25.9-0.2-pae (geeko@buildhost) (gcc version 4.3.1
> 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) )
> #1 SMP 2008-06-28 00:00:07 +0200
>
> suse11build /root# cat /etc/SuSE-release
> openSUSE 11.0 (i586)
> VERSION = 11.0
>
> Sorry about that,
> Steve
>
> On Thu, Oct 30, 2008 at 6:32 AM, Jeff Moyer <jmoyer@redhat.com> wrote:
>
>> "Steve Linn" <steve.linn@gmail.com> writes:
>>
>>
>>> We had the same problem. The kernel we were running had a
>>> "feature" where if the client mounts the same server and directory
>>> it would bind them together. You would get RO or RW depending
>>>
>> The RHEL 5.2 kernel does not have that issue.
>>
>> Cheers,
>>
>> Jeff
>>
>>
prev parent reply other threads:[~2008-10-30 17:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 15:08 Read-only map Ondrej Valousek
2008-10-29 17:25 ` Jeff Moyer
2008-10-30 0:11 ` Steve Linn
2008-10-30 13:32 ` Jeff Moyer
[not found] ` <3ddb09290810301023h4cf0e769w9b9ad8e396e3df0d@mail.gmail.com>
2008-10-30 17:28 ` Ondrej Valousek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4909EEB2.8040100@s3group.cz \
--to=webserv@s3group.cz \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.