(8.3-RELEASE,9.1-BETA) Can't mount the partitions created via
4. 11-RELEASE
Andrey V. Elsukov
bu7cher at yandex.ru
Tue Jul 24 19:59:58 UTC 2012
On 24.07.2012 19:18, Norihiko Murase wrote:
> does have 2 slices (FDISK partitions) as follows:
> (1) sysid 165=0xA5 (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=0xA5 (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#
> Fixit# dd if=/dev/ad16 count=1 skip=1 | 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.....wd0s1...|
> 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> 00000020 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...|
> 00000030 ff 00 00 00 df 04 00 00 c1 3e 00 00 30 d9 31 01 |.........>..0.1.|
> 00000040 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................|
> 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> *
> 00000080 00 00 00 00 57 45 56 82 b4 21 08 00 00 20 00 00 |....WEV..!... ..|
> 00000090 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............|
> 000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
> 000000b0 00 00 00 00 30 d9 31 01 00 00 00 00 00 00 00 00 |....0.1.........|
> 000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
So, there is only empty bsdlabel with partition 'c'. You can see this
empty BSD label in the your geom config dump.
<class id="0xc110a460">
<name>PART</name>
<geom id="0xc85d9b00">
<class ref="0xc110a460"/>
<name>ada0</name>
<rank>2</rank>
<config>
<scheme>BSD</scheme>
<entries>8</entries>
<first>0</first>
<last>20044079</last>
<fwsectors>63</fwsectors>
<fwheads>16</fwheads>
<state>OK</state>
<modified>false</modified>
</config>
<consumer id="0xc8626b40">
<geom ref="0xc85d9b00"/>
<provider ref="0xc84b6c80"/>
<mode>r0w0e0</mode>
<config>
</config>
</consumer>
</geom>
</class>
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).
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20120724/46aa92e0/signature.pgp
More information about the freebsd-geom
mailing list