Date: Wed, 16 Jul 2008 15:37:02 GMT From: Stef Walter <stef@memberwebs.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/125680: atacontrol depends on executable in /usr Message-ID: <200807161537.m6GFb2qu003241@www.freebsd.org> Resent-Message-ID: <200807161540.m6GFe1vA057389@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125680 >Category: misc >Synopsis: atacontrol depends on executable in /usr >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 16 15:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Stef Walter >Release: 6.3-RELEASE-p2 >Organization: >Environment: FreeBSD m2.npubs.com 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #3: Fri Jul 11 15:39:09 UTC 2008 root@m2.npubs.com:/usr/obj/usr/src/sys/RACK2 i386 >Description: When using atacontrol from single user mode, one cannot rebuild a RAID array. The command /usr/bin/nice is not mounted or available in single user mode. # atacontrol rebuild ar0 /usr/bin/nice: not found The raid is marked as rebuilding, but never completes. When rebooted the RAID is marked as ready: ar0: 476937MB <Intel MatrixRAID RAID1> status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master However this obviously results in file system corruption: bad dir ino 50722 at offset 0: mangled entry panic: ufs_dirbad: bad dir cpuid = 1 Uptime: 25s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... >How-To-Repeat: Remove one drive of an ata raid device: # atacontrol detach ata3 Reboot into single user mode, add spare and try to rebuild: # atacontrol addspare ar0 ad6 # atacontrol rebuild ar0 >Fix: Move /usr/bin/nice to /bin/nice >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807161537.m6GFb2qu003241>