Read-Only file system

Micheal Patterson micheal at
Thu Oct 14 14:47:37 PDT 2004

----- Original Message ----- 
From: "steveb99" <steveb99 at>
Cc: <freebsd-questions at>
Sent: Thursday, October 14, 2004 4:28 PM
Subject: Read-Only file system

> I appear to have hosed myself and having trouble finding out what I do
> and how to fix it.  It appears that many of my file-systems are now
> saying they are read-only and I can't do anything with them, even when I
> login as root.
> I'm still learning so not a production mess. Can someone point to me how
> a file system can become Read-Only, the file permissions are fine.
> Also can this be repaired if so what should I be reading to learn to do
> that.
> TIA,
> Steve B.

First thing I would look at would be to make sure that the settings in
/etc/fstab are configured to be mount your slices as read write (rw) instead
of read only (r).

Your /etc/fstab should have entries similar to the one below. This would be
a normal one.

/dev/da0s1a             /               ufs     rw              1       1

Where you see rw, if that is an r only, then the file system will be mounted
as read only and cause your problem.


Micheal Patterson
Senior Communications Systems Engineer

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

More information about the freebsd-questions mailing list