RESOLVED: (8.3-RELEASE, 9.1-BETA) Can't mount the partitions created via 4.11-RELEASE

Norihiko Murase mur1080224 at inter7.jp
Wed Jul 25 03:22:16 UTC 2012


Hi,

Thanks to Mr. Andrey V. Elsukov's advice, I could RESOLVE
the problem (trouble) mentioned originally at
  * URL: http://lists.freebsd.org/pipermail/freebsd-geom/2012-July/005345.html
    Date: Mon, 23 Jul 2012 13:46:58 +0900
    Message-ID: <20120723134658.153fa6c%mur1080224 at inter7.jp>
    To: freebsd-geom at freebsd.org
    From: Norihiko Murase <mur1080224 at inter7.jp>
    Subject: (8.3-RELEASE,9.1-BETA) Can't mount the partitions created via 4.11-RELEASE
Now, the partitions in the "old" HDD that were created by
4.11-RELEASE can be mount(8)-ed successfully
under 8.3-RELEASE and under 9.1-BETA as well as
under 7.4-RELEASE.


The solution was shown by Mr. Andrey V. Elsukov at
  * URL: http://lists.freebsd.org/pipermail/freebsd-geom/2012-July/005348.html
    Date: Mon, 23 Jul 2012 16:10:19 +0400
    Message-ID: <500D3F2B.9090509 at yandex.ru>
    From: "Andrey V. Elsukov" <bu7cher at yandex.ru>
    Subject: Re: (8.3-RELEASE,9.1-BETA) Can't mount the partitions created via 4. 11-RELEASE
    |>You can try backup first 16 sectors and try to overwrite second sector
    |>(where bsdlabel is) with zeroes.

As this e-mail message says, I executed the following command:
  # dd if=/dev/zero of=/dev/ad16 count=1 seek=1
under the live system of FreeBSD 7.4-RELEASE, and then
rebooted.
# Well, the backup of the top 16 sectors were not necessary
# eventually.  :-)

After that, the partitions can be mount(8)-ed successfully
via the device node "ad16s[12]*" without any trouble.

As he said, the contents in the sector 2 (counting from 1)
of this "old" HDD were stale and junk, which prevented the
system from mount(8)-ing the partitions.

Additionally, after the reboot, the following "ad#c" device
nodes:
  ad16c
  ad16cs1
  ad16cs1{a,b,c,e,f,g}
  ad16cs2
  ad16cs2{c,e}
were NOT found in /dev any longer under the live system of
FreeBSD 7.4-RELEASE.


To Mr. Andrey V. Elsukov:
Thank you very much for your advice!!



Sincerely,
---
Norihiko Murase <mur1080224 at inter7.jp>


More information about the freebsd-geom mailing list