From owner-freebsd-geom@FreeBSD.ORG Fri Dec 5 17:16:12 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49BD1065676 for ; Fri, 5 Dec 2008 17:16:12 +0000 (UTC) (envelope-from Hilko.Meyer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2126E8FC0A for ; Fri, 5 Dec 2008 17:16:11 +0000 (UTC) (envelope-from Hilko.Meyer@gmx.de) Received: (qmail invoked by alias); 05 Dec 2008 17:16:09 -0000 Received: from p57A2B68D.dip.t-dialin.net (EHLO schrein.Speedport_W_700V) [87.162.182.141] by mail.gmx.net (mp011) with SMTP; 05 Dec 2008 18:16:09 +0100 X-Authenticated: #749823 X-Provags-ID: V01U2FsdGVkX19mT0oBTLJm1+M42aLsfy+qA+nPp8Nd8gqq7ltxS/ WMhoksjySmW/7b From: Hilko Meyer To: Ulf Lilleengen Date: Fri, 05 Dec 2008 18:16:02 +0100 Message-ID: <6snij41mh5vtm92ch1d045upgjj6atbkn1@mail.gmx.net> References: <20081130153558.GA2120@nobby.lan> <20081130222445.GA1528@carrot.studby.ntnu.no> <20081201021720.GA1949@carrot.studby.ntnu.no> <20081204063410.GA1465@nobby.lan> In-Reply-To: <20081204063410.GA1465@nobby.lan> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 Cc: adnan@hochpass.uni-hannover.de, freebsd-geom@freebsd.org Subject: Re: System freeze with gvinum X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 17:16:12 -0000 Ulf Lilleengen schrieb: >On Thu, Dec 04, 2008 at 03:02:39AM +0100, Hilko Meyer wrote: >> Unfortunately I have some other work for you. After changing the >> BIOS-setting to AHCI, I tried gvinum with 6.4 again. And strangely >> enough it worked. No freeze with newfs and I could copy several GB to >> the volumes, but after a reboot gvinum list looks like that: >>=20 >> | D sata3 State: up /dev/ad10 A: 9/476939 = MB (0%) >> | D sata2 State: up /dev/ad8 A: 9/476939 = MB (0%) >> | D sata1 State: up /dev/ad4 A: 9/476939 = MB (0%) >> |=20 >> | 2 volumes: >> | V homes_raid5 State: down Plexes: 1 Size: = 465 GB >> | V dump_raid5 State: down Plexes: 1 Size: = 465 GB >> |=20 >> | 2 plexes: >> | P homes_raid5.p0 R5 State: down Subdisks: 3 Size: = 465 GB >> | P dump_raid5.p0 R5 State: down Subdisks: 3 Size: = 465 GB >> |=20 >> | 6 subdisks: >> | S homes_raid5.p0.s0 State: stale D: sata1 Size: = 232 GB >> | S homes_raid5.p0.s1 State: stale D: sata2 Size: = 232 GB >> | S homes_raid5.p0.s2 State: stale D: sata3 Size: = 232 GB >> | S dump_raid5.p0.s0 State: stale D: sata1 Size: = 232 GB >> | S dump_raid5.p0.s1 State: stale D: sata2 Size: = 232 GB >> | S dump_raid5.p0.s2 State: stale D: sata3 Size: = 232 GB >>=20 >> Then we updated to FreeBSD 7.1-PRERELEASE, but nothing changed. After = a >> reboot the volumes are down. In dmesg I found >> g_vfs_done():gvinum/dump_raid5[READ(offset=3D65536, = length=3D8192)]error =3D 6 >> but I think, that occurred during a try to mount a volume. >>=20 >Well, this can happen if there was errors reading/writing to volumes >previously. When volumes are in the down state, it is not possible to = use >them. You have a few options: > >If currently have any data on the volumes, and would like to recover = without >reinitializing the volumes, you can try and force the subdisk states to = up by >doing: > >1. 'gvinum setstate -f up ' on all subdisk. The plexes should = then >go into the upstate as all the subdisks are up. >2. Do fsck on the volumes to ensure that they are ok. If so, you are = ready to >go again. Note that you might have to pass -t ufs to fsck as vinum = volumes >previously have set their own disklabels and other weird stuff. That didn't helped. After a reboot were the subdisks stale again. >If you don't have any valuable data yet, you can run 'gvinum start = ' >on all volumes, which should reinitialize the plexes, That worked, All up after a reboot. Took nine hours per volume... In dmesg I found | GEOM_VINUM: subdisk 'homes_raid5.p0.s2' init: finished successfully | GEOM_VINUM: subdisk 'homes_raid5.p0.s0' init: finished successfully | GEOM_VINUM: plex homes_raid5.p0 state change: down -> up | GEOM_VINUM: g_access failed on drive sata2, errno 1 | GEOM_VINUM: subdisk 'homes_raid5.p0.s1' init: finished successfully Do I have to worry about "g_access failed on drive sata2, errno 1"? >or you can just recreate the entire config. Recreating the entire config >might also work if you have data, but I'd try the tip above first. I've tried that before writing the last mail, but didn't mentioned that. Has not worked. thanks for your help, Hilko