Root fs mounted in ro

I created a RAID1 array using this. All runs OK. There was a power outage in my server room. Now when I launch my freebsd FreeBSD system I get this:
Code:
GEOM_MIRROR: Device mirror/gm0 launched (3/3)
Trying to mount root from ufs:/dev/mirror/gm0s1a
WARNING: / was not properly dismounted
fstab: /etc/fstab:3: Inappropriate file type or format
fstab: /etc/fstab:5: Inappropriate file type or format
Starting file system checks:
fstab: /etc/fstab:3: Inappropriate file type or format
fstab: /etc/fstab:5: Inappropriate file type or format
fstab: /etc/fstab:3: Inappropriate file type or format
WARNIG: R/W mount of / denied. Filesystem is not clean - run fsck
mount: /dev/mirror/gm0s1a : Operation not permitted
Mounting roor filesystem rw failed, startup aborted
I have rootfs mounted in ro mode. How can I umount them, to run fsck?
 
As long as the filesystem is mounted read-only, fsck(8) should be able to do it's work. It can't fix certain errors when a filesystem is mounted read-write. In that case you'd have to unmount it first.
 
Back
Top