From owner-freebsd-questions@freebsd.org Thu Jun 25 23:39:52 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6E6198C630 for ; Thu, 25 Jun 2015 23:39:52 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85F051EE4 for ; Thu, 25 Jun 2015 23:39:52 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by iebrt9 with SMTP id rt9so65172103ieb.2 for ; Thu, 25 Jun 2015 16:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SzgMDUoon5gGrTvU0T3gz3sWC6cqtyZaMAxT/mawg10=; b=pk1CAPpTht0DvYw+Kgmy3vir4MjMSGx9iXENBNMwLXaaGh/y0tGFTyY4f+GNHLG+z7 Lc/ktluXrHugCbrdrMAuVK6bwftHGoG1SBOXnOQQeqHNZfEZ4o/NhFxJzUDxKFKEzIjv sAodARkuEv3TbLANv8PEgZ6RmzJi4qPjQqqTt9Fq/J2aMNsdX5tjy4DZI4C3fgLKP2SA z80WyfFkTUeOjKKUw1f1ExbEUOn6E39xfkhHqmAnULZB25iDbF9SOD34xT5jDOL1pEHD 6A555AqobOlXLmZ4Myk1dSI8OwTSBCxlM/ZpOUZvf99wmlrg12WBUVYjXygEgX5lurHS oZcA== MIME-Version: 1.0 X-Received: by 10.42.215.11 with SMTP id hc11mr155418icb.78.1435275591928; Thu, 25 Jun 2015 16:39:51 -0700 (PDT) Received: by 10.50.30.202 with HTTP; Thu, 25 Jun 2015 16:39:51 -0700 (PDT) Date: Thu, 25 Jun 2015 19:39:51 -0400 Message-ID: Subject: how to fix "CORRUPT" partition table in mirrored drive From: William Dudley To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 23:39:52 -0000 I have a mirrored drive: gpart show -l => 63 78156225 ad0 MBR (37G) 63 78156162 1 (null) [active] (37G) 78156225 63 - free - (31k) => 0 78156162 ad0s1 BSD (37G) 0 41943040 1 (null) (20G) 41943040 2097152 2 (null) (1.0G) 44040192 34115970 4 (null) (16G) => 63 3907029104 mirror/gm0 MBR (1.8T) [CORRUPT] 63 3907029105 1 (null) [active] (1.8T) => 0 3907029105 mirror/gm0s1 BSD (1.8T) 0 335544320 4 (null) (160G) 335544320 209715200 5 (null) (100G) 545259520 209715200 6 (null) (100G) 754974720 3152054385 7 (null) (1.5T) I tried to fix the corrupt partition table like this: gpart recover mirror/gm0 gpart: recovering 'mirror/gm0' failed: Function not implemented So how do I fix the corrupt partition table? Can I un-mirror the two drives and then do the gpart recover and then re-mirror them? A google search of the above error message turns up nothing at all relevant. Thanks, Bill Dudley