From owner-freebsd-fs@FreeBSD.ORG Tue Nov 25 22:37:22 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F5F26A2 for ; Tue, 25 Nov 2014 22:37:22 +0000 (UTC) Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24CF41A1 for ; Tue, 25 Nov 2014 22:37:21 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id p10so1445258pdj.39 for ; Tue, 25 Nov 2014 14:37:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=eEc3NyfPVHf6V8y1V2ij6Vfyc9ooV+0kHRnTt4j3+yk=; b=XSQZPpdtZprC0Su/tSAuovIDoKLMk64is3NWm7xBPd6vyj4eWIIjKnEmeI07wrNgWL 1aXKsJedZQdelYMGrqDW6z6el6lJX+FtYlXeSdBuDzUAzyXPD9/YjcBKhd8ojAyR1EYw lUQwjOyU0kuExFzEquZ+6WT0tK0/8HoH+Gs+P+UzLnB9tRrpJohoZ0LfdzMoH4cyY9q4 hb3O0SVCCHZkRrSHB968Vlz7adNovVKns9FunPFj5cpiENOQAWt1IGbPnWleiObwkM1o cM/sxLOJTnVAgF4VirNW0ZjJChOm6oxRLy4UC/dneOcn8JCHh+WoArmE5lKTBj2j28d3 12Qw== X-Gm-Message-State: ALoCoQnnQbIwkMjjnwK4HLrmPUd7193JZ8LuBcCa7f54rlgOFo3y4tihAVLGSIWvBkHtjdB0lzAq X-Received: by 10.66.124.196 with SMTP id mk4mr46780050pab.144.1416954540465; Tue, 25 Nov 2014 14:29:00 -0800 (PST) Received: from Michaels-MacBook-Pro.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPSA id i10sm2439657pdr.21.2014.11.25.14.28.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 14:28:59 -0800 (PST) Message-ID: <547502A9.5060903@callfortesting.org> Date: Tue, 25 Nov 2014 14:28:57 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: How to manually validate a gpart layout? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2014 22:37:22 -0000 Hello all, The kernel will report this at boot if a primary GPT is invalid: GEOM: da1: the primary GPT table is corrupt or invalid How does one manually validate the table with gpart? I sense that 'gpart recover' will perform enough of a test to say that recovery is not needed but it is not clear if this is the same test that the kernel is performing. Thank you, Michael (And yes, I asked Michael W. Lucas if it is covered in his new book (GO BUY IT!) and alas, no, it is not.)