From owner-freebsd-questions Sun Oct 27 19:36:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EE9137B401 for ; Sun, 27 Oct 2002 19:36:12 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2D5043E6E for ; Sun, 27 Oct 2002 19:36:10 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 598F181471; Mon, 28 Oct 2002 14:06:08 +1030 (CST) Date: Mon, 28 Oct 2002 14:06:08 +1030 From: Greg 'groggy' Lehey To: Tom Parquette Cc: questions@freebsd.org Subject: Re: Corrupt vinum concatenated drive -- Hardware? Message-ID: <20021028033608.GG73536@wantadilla.lemis.com> References: <3DBCAD3E.7030000@twcny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DBCAD3E.7030000@twcny.rr.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 27 October 2002 at 22:21:34 -0500, Tom Parquette wrote: > I had something happen to my concatenated vinum drive. > Looking at /var/log/messages I think it may be calling out a hardware > problem on one of my drives. > > This configuration has been running for a week or so without complaining. > > I call myself VERY green with vinum and I would appreciate someone > looking over my sholder. > > From messsages: > ad7: READ command timeout tag=0 serv=0 - resetting > ata3: resetting devices .. done > ad7: WRITE command timeout tag=0 serv=0 - resetting > ata3: resetting devices .. done > ad7: WRITE command timeout tag=0 serv=0 - resetting > ata3: resetting devices .. > ad7: removed from configuration Yup, the disk driver has "deleted" the drive. It doesn't usually mean that there's much in the way of data corruption. Check your cables and things. > vinum: FreeBSD.p0.s2 is stale by force > vinum: FreeBSD.p0 is corrupt > fatal :FreeBSD.p0.s2 write error, block15846552 for 65536 bytes > FreeBSD.p0.s2: user buffer block 120283440 for 65536 bytes > vinumdrive2: fatal drive I/O error, block 15846552 for 65536 bytes > vinum: drive vinumdrive2 is down And this is Vinum's reaction. > I checked the output from disklabel -r for ad5, 6, and 7. The sizes for > vinum agree with the values for C: The first thing you need to do is fix the hardware issue. Try doing dd if=/dev/ad7c of=/dev/null bs=64k. That will copy the data to the bit bucket, and if there are any problems, you should see them there. What you do with Vinum depends on the configuration. If you have another plex in an affected volume, you'll need to restart the plex. If it's the only one, you can use maintenance commands like setstate and saveconfig to get it back up again. > (I'm having problems with cut and paste otherwise I'd provide the > actual output.) Don't cut and past, save the information to a file. Most of that stuff is in the system log file /var/run/messages anyway. Just include it in your message. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message