From owner-freebsd-questions@FreeBSD.ORG Sun May 9 06:50:25 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 9D32816A4CE; Sun, 9 May 2004 06:50:25 -0700 (PDT) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC88843D48; Sun, 9 May 2004 06:50:19 -0700 (PDT) (envelope-from lee@dilkie.com) Received: from borg (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.12.11/8.12.11) with ESMTP id i49DnwtX009143 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 9 May 2004 09:50:00 -0400 (EDT) (envelope-from lee@dilkie.com) From: "Lee Dilkie" To: "'Greg 'groggy' Lehey'" Date: Sun, 9 May 2004 09:49:56 -0400 Message-ID: <026d01c435cc$84099ec0$c10133ce@dilkie.com> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20040508224009.GA60566@wantadilla.lemis.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-Scanned-By: MIMEDefang 2.42 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: Sun, 09 May 2004 13:50:25 -0000 Update on my progress. The "setstate up" allows me to read my array now. I seem to have a read error on /dev/da1s1e about 262M from the start of the disk. (i'm using dd if=/dev/da*s1e to copy the contents of each drive to separate files, in case i screw something up and I need to restore a drive and re-try the vinum... don't know if that a dumb idea or not but it seemed logical). anyway, i have to figure out a way to get around this read error. or find out what file(s) it affects so i can avoid trying to copy them. Any pointers would be welcome (as I fire up google... where would we be without search engines?) >> 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. Darn. I wish i had done that for you but I rebooted my server and vinum is running correctly now. When this is all finished, I'll see if I can get vinum stuck again and retrieve anything you wish. thanks for the help folks(greg), the saga continues. -lee >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Greg 'groggy' >Lehey >Sent: Saturday, May 08, 2004 6:40 PM >To: Lee Dilkie >Cc: freebsd-questions@freebsd.org >Subject: Re: vinum striped volume has corrupt plex, help needed > > >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. >