From owner-freebsd-stable@FreeBSD.ORG Thu May 12 06:00:37 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BAC716A4E1 for ; Thu, 12 May 2005 06:00:37 +0000 (GMT) Received: from mail.zrz.tu-berlin.de (mail.zrz.TU-Berlin.DE [130.149.4.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5958743D3F for ; Thu, 12 May 2005 06:00:36 +0000 (GMT) (envelope-from petero@itp.physik.tu-berlin.de) Received: from localhost ([127.0.0.1] helo=mail.zrz.TU-Berlin.DE) by mail.zrz.tu-berlin.de with esmtp (exim-4.51) id 1DW6kN-0001Vw-L9; Thu, 12 May 2005 08:00:35 +0200 Received: from mail.zrz.TU-Berlin.DE ([130.149.4.15]) by mail.zrz.TU-Berlin.DE (MailMonitor for SMTP v1.2.2 ) ; Thu, 12 May 2005 08:00:35 +0200 (CEST) Received: from ella.physik.tu-berlin.de ([130.149.114.172]) by mail.zrz.tu-berlin.de with esmtp (exim-4.51) id 1DW6kN-0001Vh-Jw; Thu, 12 May 2005 08:00:35 +0200 Received: from ella.physik.tu-berlin.de (localhost [127.0.0.1]) j4C60ZSu025295; Thu, 12 May 2005 08:00:35 +0200 (CEST) (envelope-from petero@ella.physik.tu-berlin.de) Received: (from petero@localhost) by ella.physik.tu-berlin.de (8.13.1/8.13.1/Submit) id j4C60YP8025294; Thu, 12 May 2005 08:00:34 +0200 (CEST) (envelope-from petero) Date: Thu, 12 May 2005 08:00:34 +0200 From: Peter Orlowski To: secmgr Message-ID: <20050512060034.GA25077@ella.physik.tu-berlin.de> References: <8b6eae96050510071037d3b6e4@mail.gmail.com> <4280C277.4030904@jim-liesl.org> <27C1250C-9BFD-4FA8-876C-09DF5504B058@isncom.com> <4280EE3C.8050505@jim-liesl.org> <20050511095142.GA12629@ella.physik.tu-berlin.de> <428243EA.9070707@jim-liesl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <428243EA.9070707@jim-liesl.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Sophos MailMonitor on mail.zrz.tu-berlin.de; Thu, 12 May 2005 08:00:35 +0200 cc: freebsd-stable@freebsd.org Subject: Re: State of gvinum RELENG_5 or RELENG_5_4 ?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: peter.orlowski@physik.tu-berlin.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 06:00:37 -0000 On Wed, May 11, 2005 at 11:42:02AM -0600, secmgr wrote: > > > >I had to erase the gmirror metadata on the intact disk to get it > >to work again. > > > What steps did you take to the gmirror the disk so you could get your > data back? I took the physically intact disk and did a gmirror clear /dev/ad4 . Then I could fsck the filesystems on it and use it as plain /dev/ad4, i.e. no longer as a mirrored disk. Probably I could have started over with gmirror label m1 ad4 but I was reluctant to do that to a disk that had all the user data on it. So I rather changed the fstab not to use the mirror any more. At some stage in that procedure I also lost the gmirror metadata on the gmirrored system disk. It's not clear to me how that happened, but when I tried to boot the system after removing the physically broken SATA-disk, that is with only the "logically broken" part of the data gmirror installed (before erasing the gmirror metadata), it found only the broken data gmirror (and did not want to use it), but the intact gmirrored system disk had completely disappeared. That didn't change when I tried to boot with the system disks alone. I had to boot a rescue system and tell fstab to use a plain disk as the system disk, too. > > At this point, I'm thinking that as far as S/W RAID goes in FreeBSD, the > "R" is pretty meaningless Well, "R" does not mean "redundant" but "realtime backup" ;-(. Peter