Re: Disk devices changed after upgrade to current

From: Mel Flynn <mel.flynn+fbsd.current_at_mailing.thruhere.net>
Date: Sun, 12 Jul 2009 22:31:44 -0800
On Sunday 12 July 2009 22:04:56 Alson van der Meulen wrote:
> * Mel Flynn <mel.flynn+fbsd.current_at_mailing.thruhere.net> [2009-07-13 
07:43]:
> > Nowhere up there I'm saying to use ufsid's:
> > [...]
> > I made these labels under 7.1-STABLE then cross-installed on the second
> > slice. glabel is in GENERIC for a while now (7.1-RELEASE?), so it's
> > something you can use without problems and they even work on livefs cd's.
>
> Yep, glabel works fine. As far as I know, glabel stores its information
> in the last sector, and makes the provider a sector smaller. This means
> that you can't add it to an existing filesystemi without risking
> corruption.

glabel will warn if the last sector is not empty.

> Using an ufsid requires figuring out the id from dmesg and
> editting fstab, to start using glabel you have to enter single user
> mode, dump, glabel, newfs, restore, edit fstab.

TBH, I'd prefer glabel to "tag the ufsid with the human name", but for the 
moment we have to live with the last sector implementation. The procedure you 
describe however, is the worst case scenario. I've made these labels without 
the dump/newfs/restore. And because I was cross installing on a different 
slice, even without the single user mode part.

> I'm not aware of any
> sysinstall support for glabels either, so even for new installs it
> requires booting with a livefs and manual partitioning.

By definition, new installs are not affected by upgrade surprises. The 
surprise here that sliceless disks, have their 's1' dropped when upgrading 
from 7 to 8.x and using labels would eliminate this surprise and any future 
change in disk naming conventions.
-- 
Mel
Received on Mon Jul 13 2009 - 04:31:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC