From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 00:00:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3C7F16A475 for ; Tue, 22 Jan 2008 00:00:16 +0000 (UTC) (envelope-from jeff@wildernessfringe.com) Received: from aquarius.lunarpages.com (aquarius.lunarpages.com [209.200.244.65]) by mx1.freebsd.org (Postfix) with ESMTP id B698D13C4D5 for ; Tue, 22 Jan 2008 00:00:16 +0000 (UTC) (envelope-from jeff@wildernessfringe.com) Received: from [205.217.32.52] (helo=[127.0.0.1]) by aquarius.lunarpages.com with esmtp (Exim 4.68) (envelope-from ) id 1JH6Jc-0007me-7K for freebsd-questions@freebsd.org; Mon, 21 Jan 2008 15:44:32 -0800 Message-ID: <47952D9C.8040703@wildernessfringe.com> Date: Mon, 21 Jan 2008 15:41:16 -0800 From: Jeff Pflueger User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=23B69FAF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - aquarius.lunarpages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - wildernessfringe.com X-Source: X-Source-Args: X-Source-Dir: Subject: gmirror challenge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 00:00:16 -0000 I have a server and am using gmirror to mirror two disks. The intent was to double my security...but my experience has been that it has generally doubled the amount of time that the server goes down! gm0s1 is the name of the mirror. The mirror is Freebsd's boot source. ad4s1 is one provider ad6s1 is another provider problems arose after a power outage. gmirror would work furiously at rebuilding ad4s1 to no avail and eventually I'd get an error like "GMIRROR provider gm0s1 destroyed" and the server would go down. I could reboot and do a little from within the system before this would happen again. So I booted FreeBSD from disk, went into FixIt mode from sysinstall, then selected the cd/dvd option and then: chroot /dist mount_devfs devfs /dev kldload geom_mirror and then gmirror clear ad4s1 (no problem, that worked) - but, unfortunately I am unable to boot off of ad4 when ad6 has its SATA cable unplugged - I think that the drive is hosed/corrupted. but, here's another problem: gmirror clear ad6s1 gives me this error: "Can't clear metadata on ad6s1: Invalid argument. Not fully done." So without the metadata cleared on ad6s1, I can't boot from it and I can't boot from ad4s1 because I suspect that it is hosed... anybody have any suggestions on how to clear the metadata of ad6s1 so I can boot from it without it going into gmirror and being unhappy? Thanks for any help! Jeff