From owner-freebsd-geom@FreeBSD.ORG Mon Jun 23 11:27:44 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 A058C106567A for ; Mon, 23 Jun 2008 11:27:44 +0000 (UTC) (envelope-from andrea@ragedrecords.com) Received: from carota.brancatelli.it (brancatelli.it [84.233.228.130]) by mx1.freebsd.org (Postfix) with ESMTP id 2B29A8FC25 for ; Mon, 23 Jun 2008 11:27:43 +0000 (UTC) (envelope-from andrea@ragedrecords.com) Received: from webmail.ragedrecords.com (localhost.brancatelli.it [IPv6:::1]) by carota.brancatelli.it (8.13.8/8.13.8) with SMTP id m5NB6WUn053625 for ; Mon, 23 Jun 2008 13:06:32 +0200 (CEST) (envelope-from andrea@ragedrecords.com) Received: from 217.133.85.183 (auth. user andrea@ragedrecords.com@localhost) by webmail.ragedrecords.com with HTTP; Mon, 23 Jun 2008 12:06:32 +0100 To: freebsd-geom@freebsd.org Date: Mon, 23 Jun 2008 12:06:32 +0100 X-Mailer: IlohaMail/0.8.14 (On: webmail.ragedrecords.com) Message-ID: <722jk9fo.1214219192.4360070.andrea@ragedrecords.com> From: "Andrea Brancatelli" Bounce-To: "Andrea Brancatelli" Errors-To: "Andrea Brancatelli" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00, DK_POLICY_SIGNSOME autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on carota.brancatelli.it Subject: GMirror problem updating from FreeBSD 6.2 to 7.0 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: Mon, 23 Jun 2008 11:27:44 -0000 Hello everybody. I have a problem with GMirror that maybe you can help me to solve. I had a FreeBSD 6.2 machine running ok for about an year with a couple of mirrors in it. One was named Maxtor and coupled, guess what, a pair of Maxtor HD. They both contained a single parition that was mounted, guess again, under /Maxtor :) What I did was shutdown the 6.2 machine pop in a new HD and put FreeBSD 7.0 over it. Everything went OK, I even mirrored the boot drive. Then I replugged the Maxtor HardDrives and powered on the machine. The Maxtor mirror appeared in /dev/mirror but there was nothing else, I mean, just /dev/Maxtor, no /dev/Maxtors1 or anything else. I gave a quick look at dmesg and found that when it found the mirror he updated the metadata from V3 to V4. I thought that maybe of this the machine didn't reread the drive after updating the metadata. So I went for the easy way and rebooted the machine. After the reboot something else appeared: I had both /dev/Maxtor and /dev/Maxtors1. The only problem is that no matter what I cannot read the bsd label out of it. No /dev/Maxtors1a in any way. bdslabel /dev/Maxtors1 doesn't report anything significant, I think he doesn't find any bsdlabel, but I wouldn't know how. So I freezed as the mirror contains very important data that i really don't wanna loose. And before you ask, no, I don't have tape backups or anything as I tought a mirror would be a safely-enough storage. What should I do? Maybe write a new bsdlabel and hope it matches the previous one (it should as I think