From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 18:53:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D54716A4CE for ; Tue, 6 Apr 2004 18:53:00 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FCAC43D39 for ; Tue, 6 Apr 2004 18:53:00 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id D38B672DCA; Tue, 6 Apr 2004 18:51:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id CC14372DBF; Tue, 6 Apr 2004 18:51:44 -0700 (PDT) Date: Tue, 6 Apr 2004 18:51:44 -0700 (PDT) From: Doug White To: Will Saxon In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED8CBBEE3@bragi.housing.ufl.edu> Message-ID: <20040406184328.L93257@carver.gumbysoft.com> References: <0E972CEE334BFE4291CD07E056C76ED8CBBEE3@bragi.housing.ufl.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: drive failure, now 'cannot alloc 494581644 bytes for inoinfo' and 'bad inode number 3556352 to nextinode' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 01:53:00 -0000 Please wrap your lines, thanks. On Tue, 6 Apr 2004, Will Saxon wrote: > Today, I had a drive fail in a large raid 5 array hosted off of a ciss > device. I removed the bad drive but before I was able to get another > drive swapped in, another drive seemed to just lose power and then the > system panicked. Ouch. Thats Not Good. You might want to have that enclosure checked out. > I swapped in a spare drive and restarted the system. The controller said > the array was 'ok' and would recover. However, FreeBSD is having a hard > time fsck'ing the partition. I can pretty much assure you the volume isn't OK. The types of errors you're seeing are indicative of severe corruption, usually due to random data being written over critical filesystem blocks. I'd suggest running a parity verify against the volume to force corrections to start with -- this can't make it any worse than it already is, and may recover the damaged blocks on the disk that lost power. You could also try running fsck against an alternate superblock to get around any corruption thats specific to the primary superblock, but my experience with this kind of failure has shown that there's usually more significant damage than just a mulched superblock. Its quite likely that the filesystem is not recoverable. Hope you have backups :-) > At the time of the crash, I was using FreeBSD 5.2.1-RC2, however I have > since updated to 5.2.1-RELEASE-p4. The array has 1 partition and 2 > slices - one 4GB swap slice and 1 400+GB storage slice. This was being > used in a samba pilot and had the softupdates, suiddir, noexec, nodev > and acl options enabled. > > Basically, in phase 1 fsck -y complains that it cannot allocate enough > bytes for inoinfo, then there are a bunch of the following: > > UNKNOWN FILE TYPE I=####### > UNEXPECTED SOFT UPDATE INCONSISTENCY > > then finally: > > fsck_4.2bsd: bad inode number 3556352 to nextinode > > Any ideas? > > -Will > > _____________________________________________ > Will Saxon > Systems Programmer - Network Services > Department of Housing and Residence Education > University of Florida > Email: wills@housing.ufl.edu > Phone: (352) 392-2171 x10148 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org