Re: RFC: ATA to CAM integration patch

From: Aisaka Taiga <spambox_at_haruhiism.net>
Date: Sun, 28 Jun 2009 15:24:31 +0400
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
Received on Sun Jun 28 2009 - 09:24:21 UTC

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