From owner-freebsd-questions@freebsd.org Sat Mar 31 12:41:57 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B16BEF5231A for ; Sat, 31 Mar 2018 12:41:57 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-8.antispamcloud.com (out1-8.antispamcloud.com [185.201.16.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3879981A2C for ; Sat, 31 Mar 2018 12:41:56 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx62.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1f2FpO-0003XE-RM; Sat, 31 Mar 2018 14:41:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uz9AR5rcFLrLCsy7onFH4B633wTcuVvXv47xH447Phs=; b=ZI3ExQIyj2giPUGh1pds+0g4nx VztqWf6gJST5vCi1hrcofb4ljDvqFQGDp70//uhU4gF9rMjTxAqsX8hQxpK/Ql7UeoFf2ADrCkqPN W4n3ZQ5AKsqm5d6O6/bjaYqy6w9T8zrRLXiE9jgSf5YJQ/WYyNmvyDbiVarVDV0p6s1ZYCXk4uz4j NBqJOwc/2XTRb9PsnWbmYgi/zxIqtt7ltcshmX6NnWwakItFkcdVdZYjwTejX/8ovEoeG1BMUf3s7 Jtldx6fvUd92/0/59tTk/TT6K0l73bbn+nWTljduKUV6/ObdWG59ffzQFiu5asbYd2tqFRACJQEiL baGAtUhw==; Received: from [114.125.102.186] (port=53435 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1f2FoZ-0000Qu-3s; Sat, 31 Mar 2018 19:41:02 +0700 Date: Sat, 31 Mar 2018 20:40:56 +0800 From: Erich Dollansky To: "Jean M. Vandette" Cc: "freebsd-questions@freebsd.org" Subject: Re: gpart recovery FreeBSD 7.4 Message-ID: <20180331204056.619965d1.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <6b89534c97b14e51b67581e34efac71c@securenet.net> <20180330221523.0b5f8fdd.freebsd.ed.lists@sumeritec.com> <20180331070140.00a1b6fa.freebsd.ed.lists@sumeritec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.5 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: ham X-AntiSpamCloud-Outgoing-Evidence: Combined (0.10) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5v5u6mhJsIR33g7CVkHQ/ap602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO4WVEjIK39e0l3PJA6vYUNi1gthAiUJtF1GFtCwOi7APvyegFAN3MVG+8Mu8M+ESLE+f zSH/OCabdgYrKxSFlmxprZdPWqTAoPoTgl30IzxbfsG/2kgpB5ftniSwTVZYIIl9wd8Cdu9P7nDm 4wCNFvoS2TIc5KWIJ11Cs3TsJMjTBXfTi7gDmaugbDBQV1VSRkxgANYCyD585IGoHNHA90K+ebhG qw0UC+6i7tkVEyBKGYJwT+HFpsvK90gWDRA4t76lEaoB788kk1VRHzrv8x5evune9FPWQSxbftJN ZtX4PAOCjUgciZoe1nbnonHdmEwzxPv6OleYcjgzAbIebFgNNF1hrtK2exjyNIotpcZLeuAZ/8RV tRJqu4SdYrxuM7pJnfcEt04DlAClzJj9jZZhw7smKxiBSI9drrNP8BBEa+HDctSZyW8CR81P4pQC FII0cyBdmsO5awJEhhc5swfbdYWZ/x+YqveaPZoICKmvKTjECb0PwpN4olPuA0AI98r9/dnZt1bw kV6uInQw1zvplT8a5+n3ySCBzMXcMBWy7LDo0EQIuN6+I2HmNhU0zgSbim/SVyno0B3RySaFIK8Y A/xVRGO7+JWiHUyfHfigZzkrBa9h1GDSVpHpVAtNMlE/ysjG6tUEQD6xEcaTRXv+U40ZuszfG3cE tjztauj7nTJ6/EA8gxsziBc7oj/FfNO9gIk57oxDo3KUROVwCMEhu1/rdU1t/SWu+yxj6TsA/yB1 Bf3afzpNMCyHCCOoOu9FDEC0qWVO9s1gUOB9E8TKetXaAKfb6c91porY+p1+bzpvRn+S5DHP3/ZY 60+6J6Q5SxnInJFvr+p9fIGahgVlFawbDxpzYifNwA/+CbHAFhW5sHcd0FkjAklkP86zCtkYtIfM ta2Z7X3p/nLlaoZADw8Lk0F6zE7+BzYj4/ypNn8JRlAY1YIkECVE3hYDLA== X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 12:41:58 -0000 Hi, On Fri, 30 Mar 2018 23:34:08 +0000 "Jean M. Vandette" wrote: > Well I booted on 11.1 and the entire disk disappeared > Since I had the layout I was able to add the partitions > back but still cannot fsck or mount anything. I did not > newfs the partitions. So data should be still there... just need to > get to it. did you make a copy of the crucial parts of the media with dd or one of its friends? > > The layout seems to have changed however see below: Could it be that either GPT entries are faulty or the disk is dying and reports now a smaller size? Ok, a smaller size will result in a different behaviour. If you know the original layout, you should be able to read the GPT tables and compare them with what they should be. If you have the copy, just edit them with the values you want. When the values match, the partitions suddenly appear. I know, this is real hard core. Erich