From owner-freebsd-questions@FreeBSD.ORG Sat May 8 15:39:54 2004 Return-Path: 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 14C5316A4CE for ; Sat, 8 May 2004 15:39:54 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31E4143D1F for ; Sat, 8 May 2004 15:39:53 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 5C39D2BD71 for ; Sun, 9 May 2004 08:39:50 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 0D13A51675; Sun, 9 May 2004 08:10:10 +0930 (CST) Date: Sun, 9 May 2004 08:10:10 +0930 From: Greg 'groggy' Lehey To: Lee Dilkie Message-ID: <20040508224009.GA60566@wantadilla.lemis.com> References: <011001c43523$2abbba50$c10133ce@dilkie.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <011001c43523$2abbba50$c10133ce@dilkie.com> User-Agent: Mutt/1.4.1i 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 cc: freebsd-questions@freebsd.org Subject: Re: vinum striped volume has corrupt plex, help needed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 22:39:54 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 8 May 2004 at 13:37:42 -0400, Lee Dilkie wrote: > Hi there, > > I've been running a 5 disk vinum array (sripted, no redundancy) for a few > months now. It's composed of 5 scsi drives of 4G each. I bought a new 120G > ide drive, with the intention of copying over all the files from the vinum > array and retiring the array (the scsi drives are really loud). > > All was fine until the file copy part. Shortly after starting, i started to > get scsi errors and the scsi system reset the drives and re-spun them up in > an attempt to provide data (this i could hear). Eventually vinum reported a > read error. My machine kinda locked up because there were swap partitions on > the scsi drives and things just went south when the OS couldn't swap > properly. > > I rebooted and fsck'd my other partitions just fine but vinum reported that > the plex was corrupt and one of the subdisks was stale (see "vinum list" > output below). I also include the output from the command to read and parse > the vium table on each drive ( as describe at > http://www.vinumvm.org/vinum/how-to-debug.html ). it sure looks to me like > all the disks have the same vinum info. > > When i tried to vinum start striped.p0.s1, most of the time i would get an > error "Input/output error (5)" but a couple of times the command hung (as it > is right now). It would be interesting to see the ps -l output for that process and any other Vinum-related processes. > Also, I reconfured my scsi (2940uw) to the lowest transfer speed, > disabled wide negotation (these are wide fast drives), disabled > disconnect and disabled synchronous transfers. Basicly, i slowed > them down as slow as they can go. I am able to successfully read > each drive (tested the first 1G of each using "dd if=/dev/da*s1e > of=/dev/null bs=1m count=1000"). That might work for a while. > There were no write operations to the vinum volume when things > crashed. I'm hoping i can get vinum up and running again so i can > copy off this data. Vinum protects you by making it difficult to access data of dubious integrity. > Question to the group. Would a vinum create using the original > configuration (i have the file) recover this situation so i could > mount and read the disk? Yes. > Is there something else to do that will help? Yes. Do: vinum -> setstate up striped.p0.s1 striped.p0 When you're happy with the data, do: vinum -> setdaemon 4 vinum -> saveconfig 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 Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAnWHJIubykFB6QiMRAuH9AJ918zrMm2JfD/6ANhc03KQDDizE/wCff3CR kkuzQvyRC/DWA2kIsr9Ux3s= =UThD -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--