From owner-freebsd-geom@FreeBSD.ORG Tue Jul 24 19:59:58 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53588106564A for ; Tue, 24 Jul 2012 19:59:58 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward10.mail.yandex.net (forward10.mail.yandex.net [IPv6:2a02:6b8:0:202::5]) by mx1.freebsd.org (Postfix) with ESMTP id 682378FC08 for ; Tue, 24 Jul 2012 19:59:57 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward10.mail.yandex.net (Yandex) with ESMTP id C443C1023A43; Tue, 24 Jul 2012 23:59:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343159995; bh=v3+9qbFT6juhwDe3bk2FmaqCRajuKujQLy/nP0ygSbQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=r9P6YMTao0G4mx+IyYutxMIBGfcxlzLBOHRtLpbtMEijczSyEs7LNJriYo9m43nH3 amBjgXzno3/o+51G639QO1bSxU3snaMFaLSGGuR17DJ/ouP+uEPttWQ5My+RNidbmq mLdzcyJJguuGdsy1s5KF8bIjWr0tAi0lbwXzKX6s= Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id A171B1580211; Tue, 24 Jul 2012 23:59:55 +0400 (MSK) Received: from dynamic-178-141-5-132.kirov.comstar-r.ru (dynamic-178-141-5-132.kirov.comstar-r.ru [178.141.5.132]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id xtKOMnbp-xtKabpah; Tue, 24 Jul 2012 23:59:55 +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=1343159995; bh=v3+9qbFT6juhwDe3bk2FmaqCRajuKujQLy/nP0ygSbQ=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:X-Enigmail-Version:Content-Type; b=U5htmbI9Hm1gAGHRxQVpJ6KFfHVsMOlsSchJy1Y4wjfgaFsQMETnZJBrymECMKw7L jKM+3wX1ng2y3+BYKkNj7M+uWxrkCABkve134+vxpSu4V8IfwmZXKkveIOocUtkFxp ik6j8yX18UbiZpn7bwUlEiWjpZmv7qHSEpTGkuJU= Message-ID: <500EFEB6.3040500@yandex.ru> Date: Tue, 24 Jul 2012 23:59:50 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120406 Thunderbird/10.0.3 MIME-Version: 1.0 To: Norihiko Murase References: <20120723134658.153fa6c%mur1080224@inter7.jp> <500CE556.10105@yandex.ru> <20120723174321.22c65ae%mur1080224@inter7.jp> <500D3F2B.9090509@yandex.ru> <20120725001857.3a5526b%mur1080224@inter7.jp> In-Reply-To: <20120725001857.3a5526b%mur1080224@inter7.jp> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD3F52DC50C45C206E3149E87" 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: Tue, 24 Jul 2012 19:59:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD3F52DC50C45C206E3149E87 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 24.07.2012 19:18, Norihiko Murase wrote: > does have 2 slices (FDISK partitions) as follows: > (1) sysid 165=3D0xA5 (FreeBSD) > flag 80 (active) > start 63, size 14801409 (7227 MB) > BSD partitions: a, b, c, e, f, g > - 'a' is for "root" of the 4.11-RELEASE system. > (2) sysid 165=3D0xA5 (FreeBSD) > flag 00 > start 14801472, size 5242608 (2559 MB) > BSD partitions: c, e > - 'e' is used for /home > Is this HDD under "dangerous dedicated" mode? No, this is not DD mode. Probably, you did sometime `bsdlabel -w ad16` and it has created metadata on the ad16. > Before I start to erase (overwrite with zeroes) this, does > the following (the dump of the second sector of this "old" HDD) > match what you expect? It will be good, if you would made backup of the first 16 sectors of the ad16s1 too. > Fixit#=20 > Fixit# dd if=3D/dev/ad16 count=3D1 skip=3D1 | hexdump -C > 1+0 records in > 1+0 records out > 512 bytes transferred in 0.000272 secs (1882107 bytes/sec) > 00000000 57 45 56 82 05 00 00 00 77 64 30 73 31 00 00 00 |WEV.....wd= 0s1...| > 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..........= =2E.....| > 00000020 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |..........= =2E.?...| > 00000030 ff 00 00 00 df 04 00 00 c1 3e 00 00 30 d9 31 01 |.........>= =2E.0.1.| > 00000040 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |..........= =2E.....| > 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..........= =2E.....| > * > 00000080 00 00 00 00 57 45 56 82 b4 21 08 00 00 20 00 00 |....WEV..!= =2E.. ..| > 00000090 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |. ........= =2E.....| > 000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..........= =2E.....| > 000000b0 00 00 00 00 30 d9 31 01 00 00 00 00 00 00 00 00 |....0.1...= =2E.....| > 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..........= =2E.....| So, there is only empty bsdlabel with partition 'c'. You can see this empty BSD label in the your geom config dump. PART ada0 2 BSD 8 0 20044079 63 16 OK false r0w0e0 Your MBR contains two slices ad16s1 and ad16s2, ad16s2 contains 2 partitions 'c' and 'e'. So, if you erase second sector of ad16 they all should appear. Note, in the FreeBSD 8.0+ partition 'c' is not visible, and default partitioning tool is now gpart(8). --=20 WBR, Andrey V. Elsukov --------------enigD3F52DC50C45C206E3149E87 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQDv63AAoJEAHF6gQQyKF6opMH/3mx+PdIA3Q/vvTMJNsf6c1c 3Xn4oLrhNuhfDcDGJPtxM0x/M4540QQSwqe3/lDxx+JplRMUKMZota1i0pWcUfDV keF0uNU+7epxLxIVABGX4qr4AR7wJe+RZ0HCeYX7HcTi5BSDtIsZ2pJhC2BdEcWn DscrMaFYYq3f9s249592m8J2IdobWl5Mxafdt6nMs/cKY1nuo0R2wu/3hzEfGQBc APMlO6Bxj6FPYsvuuZkEEn4WhfaHqx8I1JSuzvIRQBfQQwAbWl0oiJY+7x7ta8LP XW5Keu/KJXAwoHOeVyBZhFoEZnOxFbTWEJTmi5bAxjKz3Q8+rfQHCjhQ6t3k9Z0= =jDu1 -----END PGP SIGNATURE----- --------------enigD3F52DC50C45C206E3149E87--