RFC: ATA to CAM integration patch
Aisaka Taiga
spambox at haruhiism.net
Sun Jun 28 11:24:21 UTC 2009
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
More information about the freebsd-current
mailing list