Date: Sun, 12 Jul 2009 22:31:44 -0800 From: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net> To: freebsd-current@freebsd.org Cc: Alson van der Meulen <alson+ml@alm.flutnet.org> Subject: Re: Disk devices changed after upgrade to current Message-ID: <200907122231.44564.mel.flynn%2Bfbsd.current@mailing.thruhere.net> In-Reply-To: <20090713060456.GA2565@tafi.alm.flutnet.org> References: <fdfa5f6e734eaf50cc774efb62bbdba2@xtaz.co.uk> <200907122143.26830.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <20090713060456.GA2565@tafi.alm.flutnet.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 12 July 2009 22:04:56 Alson van der Meulen wrote: > * Mel Flynn <mel.flynn+fbsd.current@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907122231.44564.mel.flynn%2Bfbsd.current>