tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* remount ro: clarification
@ 2001-10-26 17:54 Lucas Carey
  0 siblings, 0 replies; only message in thread
From: Lucas Carey @ 2001-10-26 17:54 UTC (permalink / raw)
  To: tru64-unix-managers

there's been some confusion, I'll clarify my question.
I linux it is possible, in multi-user mode, to take a filesystem that is
mounted read-write and remount it read-only. This can be done to an active
filesystem. here is an example
#mount | grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (rw)
#pwd
/mnt/sda7/ExonIntron
#umount /mnt/sda7
umount: /mnt/sda7: device is busy
#mount -o ro,remount /mnt/sda7
#mount | grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (ro)
#pwd
/mnt/sda7/ExonIntron
#mount -o rw,remount /mnt/sda7
#mount |grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (rw)

I have taken a filesystem that I cannot unmount because I am in it, and
remounted it read-only. This is done while the system is up and running, and
while processes are running that have the target filesystem as thier working
directory. umount [filesystem] ; mount -o ro [filsystem] and related commands
will not work.

On Friday 26 October 2001 11:50 am, I wrote:
> In linux it is possible to remount a directory from rw to ro.
> mount -o remount ro [dir]
> Is this possible in Tru64 v5.1a, Advfs? I would like to have slave
> /usr/local/ servers that normally have ro mounts, but they need to remount
> the directories rw in order to sync them up to the master. I tried mount -u
> -o ro [dir] and got: Operation not supported.
>
> -Lucas Carey

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-26 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 17:54 remount ro: clarification Lucas Carey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox