power failure, boot, and fsck

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Jul 9 09:46:44 UTC 2012


> After a power failure at home, my FreeBSD server automatically starts
> again but fails to mount my UFS /boot disk because it was not properly
> unmounted. Here is my fstab:
>
> $ cat /etc/fstab
> # Device         Mountpoint     FStype     Options     Dump     Pass#
> /dev/da0s1a      /boot-disk     ufs        rw          0        0

why 0 and 0? no fsck for boot-disk?

BTW wouldn't rw,noauto be helpful or /boot-disk is actually needed after 
boot?

> that looks like (copied from another thread; devices and mount points
> don't match):
>
> UFS: /dev/ad10s3f (/usr)
> Automatic file system check failed, help!
> error aborting boo (sending sigtem to parent)!
> init: /bin/sh on /etc/rc terminated abnormally, going to single user mode.
> enter full pathname of shell or RETURN for /bin/sh:

fsck_y_enable=YES

something must be seriously wrong anyway if you boot partition (that is 
mostly untouched) got corrupted! check out things a bit.


BTW. Enable ahci it really works better


More information about the freebsd-questions mailing list