Date: Sun, 28 Jun 2009 15:24:31 +0400 From: Aisaka Taiga <spambox@haruhiism.net> To: Daniel O'Connor <doconnor@gsoft.com.au> Cc: Alexander Motin <mav@freebsd.org>, freebsd-current@freebsd.org, scottl@freebsd.org Subject: Re: RFC: ATA to CAM integration patch Message-ID: <4A4752EF.8030101@haruhiism.net> In-Reply-To: <200906282038.58968.doconnor@gsoft.com.au> References: <4A4517BE.9040504@FreeBSD.org> <200906281758.34283.doconnor@gsoft.com.au> <4A473F14.70009@haruhiism.net> <200906282038.58968.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, hope you're having a nice day, Daniel O'Connor wrote: > I think you want glabel label swap /dev/ad0s1b > > 'create' is the manual method which won't store any metadata - 'label' > stores it in the last sector of the provider. > I might be mistaken here as I tried that in May, when I upgraded my production server to 7.2; I probably tried using the 'label' subcommand or it wouldn't show up on boot, right? (There was a mistype in my earlier message; should be "label for provider ad0s1b is label/swap", not "ad0s1a".) > I think if you use label you'd be OK (but you'd need to newfs because > the created provider is 1 sector smaller). I'll check, though that'd require backing up and reformatting everything. > The other alternative is to > use /dev/ufsid/xxx which won't require a newfs as your existing FS's > have an ID already (presuming you are using GENERIC). The problem with ufsids is that unlike a manually set label, you can't really distinguish between them (as opposed to the default scheme of sXY where for a boot device you can be almost 80% certain that ad0s1a is /, f is /usr, etc etc - especially if the default number of partitions was created). -- Kamigishi Rei KREI-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A4752EF.8030101>