From owner-freebsd-geom@FreeBSD.ORG Mon Jul 23 12:10:34 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E66D71065670 for ; Mon, 23 Jul 2012 12:10:33 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward4.mail.yandex.net (forward4.mail.yandex.net [IPv6:2a02:6b8:0:602::4]) by mx1.freebsd.org (Postfix) with ESMTP id 562768FC12 for ; Mon, 23 Jul 2012 12:10:33 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward4.mail.yandex.net (Yandex) with ESMTP id 14D911BC19A7; Mon, 23 Jul 2012 16:10:20 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343045420; bh=IX43cxNTMKj0W+L6kvdOsCRh4Ys5XrE4yLKaMy1C4Do=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=MnNsA9+h8t8dNMpBc45x1FKCpySfQcLl/bJc6Fkmzl5lyd2Les77mCmzlfJCdtKtj HFXj4naruQpA+f9RH/P5j7tteHB8m0ecHLpJFfJtAWdbO3Hgh4G/VLbzzt5NrGayqR B/lw8a19YhL1E7NAsD48UYVlV3XXnkl4kyd2wWT0= Received: from smtp4.mail.yandex.net (localhost [127.0.0.1]) by smtp4.mail.yandex.net (Yandex) with ESMTP id DDEA65C03CF; Mon, 23 Jul 2012 16:10:19 +0400 (MSK) Received: from ns.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by smtp4.mail.yandex.net (nwsmtp/Yandex) with ESMTP id AJKulcZt-AJKi6jMK; Mon, 23 Jul 2012 16:10:19 +0400 X-Yandex-Rcpt-Suid: mur1080224@inter7.jp X-Yandex-Rcpt-Suid: freebsd-geom@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343045419; bh=IX43cxNTMKj0W+L6kvdOsCRh4Ys5XrE4yLKaMy1C4Do=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=jO/08m98/V96la7F00fyWfW66nddNKmlCslqEfg09/USPPj09o0t/1KeyFXNiYoBP ByIn5ho04UE6G4kNq3I6e3jlgAH3Fb6BLrPJSptrF7tnN3XgXuttrapvwpIeioWI25 m3iEf+6OUSOuq6WHpfNVKYSg8S11nkiQPrxcZRKY= Message-ID: <500D3F2B.9090509@yandex.ru> Date: Mon, 23 Jul 2012 16:10:19 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Norihiko Murase References: <20120723134658.153fa6c%mur1080224@inter7.jp> <500CE556.10105@yandex.ru> <20120723174321.22c65ae%mur1080224@inter7.jp> In-Reply-To: <20120723174321.22c65ae%mur1080224@inter7.jp> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: (8.3-RELEASE,9.1-BETA) Can't mount the partitions created via 4. 11-RELEASE X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 12:10:34 -0000 On 23.07.2012 12:43, Norihiko Murase wrote: > I've obtained the result mentioned above respectively for > - "old" HDD (the partitions were created by FreeBSD 4.11-RELEASE.) > - "new" HDD (the partitions were created by FreeBSD 8.3-RELEASE.) > I attach these results to this e-mail message. > > I hope this is helpful... > Hi, if i understand correctly, you have bsdlabel's metadata just after MBR, and it overlaps MBR (maybe you have configured dangerous dedicated disk?). You can try backup first 16 sectors and try to overwrite second sector (where bsdlabel is) with zeroes. I.e.: # dd if=/dev/ada0 of=./backup count=16 # dd if=/dev/zero of=/dev/ada0 count=1 seek=1 After that your MBR should appear and you will see ada0s1 and ada0s2. If this will not help, or you will get not what you have wanted, then you can restore sectors from the backup. -- WBR, Andrey V. Elsukov