Not having a rescue disk handy (working in a remote location for the next
week), I almost was very stuck -- having added data=writeback to my mount
options of /, when data=writeback caused the mount boot scripts to fail
with:

EXT3-fs: cannot change data mode on remount

So / was mounted ro, and it wouldn't allow me to mount with mount -o
remount,rw because it kept on trying to parse the /etc/fstab file I was
attempting to change and would add the data=writeback option which caused
it to fail.  But of course, being ro, I couldn't then modify
/etc/fstab.  Chicken and egg.

It would have been a lot easier if I could have just told mount to ignore
/etc/fstab.  Eventually, I thought of bind mounting some random directory
over the top of /etc temporarily, so that it appeared there was no
/etc/fstab file at all.  That was sufficient to be able to remount / with
the correct options and rw, and was then able to unbind that random
directory and modify /etc/fstab.

Incidentally, I did try to do the obvious solution of saying:

mount -o remount,rw,data=ordered /
(to override /etc/fstab's settings)

but unless I made a tyop, this didn't
work.  Which would also be a bug, but since I didn't log enough
information, I shan't report it.

-- 
TimC
"It was eleven more than necessary."
     -- Jacques Anquetil, after winning a cycling race by twelve seconds



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to