Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Dec 2013 16:45:57 +0700
From:      Eugene Grosbein <egrosbein@rdtc.ru>
To:        stable@freebsd.org
Subject:   fsck_y_enable is broken for SUJ as well as fsck_ffs
Message-ID:  <529DA855.9040406@rdtc.ru>

next in thread | raw e-mail | index | archive | help
Hi!

Some time ago one of my 9.2-STABLE (r258509) servers crashed
due to power outage and could not come back by itself when power restored:
http://www.grosbein.net/freebsd/fsck_ffs.gif

First I thought that was due to missing fsck_y_enable="YES"
in its /etc/rc.conf, so I just went to single user mode,
ran "fsck -y" manualy (it successfully fixed all errors)
and added fsck_y_enable="YES" to /etc/rc.conf

However, today the server had same long-time power outage,
UPS'es died and when power restored, I've got exactly same problem
with this server, including fsck_ffs segfault.

# camcontrol devlist
<WDC WD2003FYYS-02W0B1 01.01D02>   at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD2003FYYS-02W0B1 01.01D02>   at scbus1 target 0 lun 0 (ada1,pass1)
# gmirror status
      Name    Status  Components
mirror/gm0  COMPLETE  ada0 (ACTIVE)
                      ada1 (ACTIVE)
# df -h
Filesystem                               Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0s1a                         1G    136M    790M    15%    /
devfs                                    1,0k    1,0k      0B   100%    /dev
/dev/mirror/gm0s1d                       503M    335M    127M    72%    /usr
/dev/mirror/gm0s1e                       9,9G    4,1G      5G    45%    /var
/dev/mirror/gm0s1f                        19G     11G    6,4G    65%    /usr/local
/dev/mirror/gm0s1g                        81G     34G     39G    47%    /home
/dev/mirror/gm0s2a                       1,7T     97G    1,5T     6%    /backup

/usr is mounted read-only.

This server is SuperMicro SYS-5016T-MTFB with IPMI 2.0 board
emulating USB keyboard for IP KVM. The keyboard works fine in BIOS setup
and in FreeBSD multiuser mode but does not work at all in single user mode,
so I was forced to enable IPMI SOL (Serial over LAN) feature to be able
to control the service in the single and learn how to direct serial console
to COM3 it emulates. So many critical bugs in the STABLE branch, sigh...

Eugene Grosbein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?529DA855.9040406>