Re: Most directories locked read-only: unlocked!



On Thu, Jan 19, 2006 at 10:04:17PM -0500, Ken Heard wrote:
>
> I then was able to amend /etc/fstab for the root directory mount by
> fixing the typo. I also removed the "errors=remount-ro" option.
> Apparently the Debian installer always adds this option to the fstab
> mount line for the root directory, and no one on the list could
> enlighten me as to what purpose it serves by being there,

The idea simply is to prevent greater damage, in case a filesystem
should start to develop minor inconsistencies, due to hardware slowly
beginning to fail, or whatever. In that case, you'd be glad to have
some mechanism in place that immediately stops further write accesses,
if any such problem is detected -- as mildly broken filesystems tend to
get corrupted exponentially, if you just keep writing to them...

It probably simply hasn't occurred to the developers that, by treating
all types of mount errors the same way, poor admins might get into the
somewhat unfortunate situation of locking themselves out, if they
accidentally put a wrong option into fstab -- as you have witnessed...

I think it would indeed make sense to keep such mere syntax errors from
resulting in a read-only mount. Maybe you want to file a wishlist bug.

Almut


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • RE: Machine not Booting - Continued
    ... The fstab is not to blame for this issue as i have just run mkraid /dev/md0 ... and then a mount -a and the area mounted straight away. ... it has no proper file system to mount. ...
    (RedHat)
  • Re: How to set /etc/fstab again after system has started
    ... That is the incorrect statement. ... With an appropriate entry in fstab, it takes very little, ... but without it the mount command needs more information. ... The previous poster went off on a tangent, ...
    (comp.os.linux.misc)
  • Re: fstab problem
    ... >>But this in fstab does not work ... > I then rebooted to make sure would mount. ... My face is new, my license is expired, and I'm under a doctor's care!!!! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?
    ... > mount_nfs commandline switches I needed. ... You are not restricted to only the -o option with fstab. ... Since mount wasn't able to understand those switches on ...
    (freebsd-stable)
  • Machine not Booting - Update
    ... When i try a mount -a when the machine has come up i get the error below. ... I know the fs type is OK, the options are right in the fstab and i only ... This transmission is confidential and must not be used or disclosed by ... within the Corus group of companies, ...
    (RedHat)