Re: installing YDL: fstab e readonly filesystem


Subject: Re: installing YDL: fstab e readonly filesystem
From: Darron Froese (darron@fudgehead.com)
Date: Fri Jul 14 2000 - 16:41:11 MDT


on 7/13/00 1:50 AM, Pierluigi Ricci at pierluigi.ricci@rcs.it wrote:

> Thank you for the help, but still have problems:
> I have the root on the partition named hda11, I tried the command you told me:
> mount -o remount,rw /dev/hda11
> mount -o remount,rw /root
> mount -o remount,rw /
> but the answer is always the same:
>
> can't create lock file /etc/mtab~61: Read only file system (use -n
> flag to override)
> can't create lock file /etc/mtab~62: Read only file system (use -n
> flag to override)
> can't create lock file /etc/mtab~63: Read only file system (use -n
> flag to override)
>
> Where I'm wrong???

I don't know what's going on I just remounted a filesystem to test (slightly
modified output, but with the important stuff intact):

root@ans darron]# df -h
/dev/sda6 290M 141M 135M 51% /web
[root@ans darron]# cd /web
[root@ans /web]# touch file
[root@ans /web]# ls -l
-rw-r--r-- 1 root root 0 Jul 14 16:38 file
[root@ans /web]# mount -o remount,ro /web
[root@ans /web]# touch file2
touch: file2: Read-only file system
[root@ans /web]# mount -o remount,rw /web
[root@ans /web]# touch file2
[root@ans /web]# ls -l
-rw-r--r-- 1 root root 0 Jul 14 16:38 file
-rw-r--r-- 1 root root 0 Jul 14 16:39 file2

It seems to work here....that's all I had to do to get it working.

Maybe you have another filesystem mounted that's read only.

-- 
Darron
darron@fudgehead.com



This archive was generated by hypermail 2a24 : Fri Jul 14 2000 - 16:44:41 MDT