Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Dec 2015 20:24:31 -0800
From:      perryh@pluto.rain.com (Perry Hutchison)
To:        vsasjason@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: resizing a memstick image, on FreeBSD 8
Message-ID:  <566509ff.g544Lh1bPOtUUjOv%perryh@pluto.rain.com>
In-Reply-To: <CAA2O=b-opboJzWVRgFMt3-NSt7ScXUXLjmhDRfxhu92N3m7Gpg@mail.gmail.com>
References:  <566299bf.2z11XFWfUMRFyXGs%perryh@pluto.rain.com> <CAA2O=b92G7Zjb8AOoSCDaaM_-a13qM-E_Cj6hjfUurn3+u3zWg@mail.gmail.com> <5663c0d6.8giker3InrIlK8n+%perryh@pluto.rain.com> <CAA2O=b-opboJzWVRgFMt3-NSt7ScXUXLjmhDRfxhu92N3m7Gpg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Anton Sayetsky <vsasjason@gmail.com> wrote:
> 2015-12-06 7:00 GMT+02:00 Perry Hutchison <perryh@pluto.rain.com>:
> > Is it possible to accomplish that on the FreeBSD 8 system that I'm
> > using to set things up for the FreeBSD 10.2 install?  While it is
> > the FreeBSD 8 kernel that suggests "recovery":
> >   GEOM: da2: the secondary GPT table is corrupt or invalid.
> >   GEOM: da2: using the primary only -- recovery suggested.
> >
> > the FreeBSD 8 gpart apparently does not understand "recover":
> >   # gpart recover da2
> >   gpart: Unknown command: recover.
...
> > I didn't find any mention of recovering from a missing or corrupted
> > secondary GPT in either the FreeBSD 8 Handbook or the FreeBSD 8
> > gpart(8) manpage.
>
> You can recover GPT after updating to 10. Even if one of the GPT
> copies corrupted, disk is fully functional.

That depends how one defines "full" functionality.  In this case,
without resizing, it is not possible to create an additional
partition so as to utilize the ~3GB of unused space on the "disk",
e.g. for packages that one intends to install before having the
network up and running.

I suppose it would be possible to self-recover it (while running
the live FS from it) -- the geom foot-shooting flag might need to
be set -- but it does seem odd that the FreeBSD 8 kernel suggests
"recovery" and yet the recovery mechanism is not easily found in
the FreeBSD 8 documentation (if such a mechanism even exists).



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?566509ff.g544Lh1bPOtUUjOv%perryh>