Vinum swap and 5.2-RC

Greg 'groggy' Lehey grog at FreeBSD.org
Wed Dec 10 16:30:48 PST 2003


On Wednesday, 10 December 2003 at 14:52:05 -0500, Paul Mather wrote:
> I'm currently running 5.1-RELEASE-p11 and am planning on upgrading to
> 5.2-RELEASE when it is released.  I thought I'd get a jump on things,
> as well as help out testing the current 5.2-RC, so I cvsupped
> RELENG_5_2 and did a make buildworld and make buildkernel.
>
> When I rebooted in single-user after doing make installkernel, I went
> to do the usual preparations to do a "make installworld" but found
> that the 5.2-RC kernel would not let me swap on my Vinum swap
> partition.  When I do "swapon -a" (for my md swap-backed /tmp), I get:
>
>      /dev/vinum/swap: Operation not supported by device
>
> I searched the mailing lists and found a thread from late this
> September saying swapping to Vinum devices no longer works in
> -CURRENT.  So, I guess I need to revert back to swapping to the actual
> devices, and losing a little RAID 1 functionality there.  (I have the
> system set up as two mirrored drives, including root, as per the
> chapter from _The Complete FreeBSD_ that Greg Lehey makes available on
> his WWW site.)
>
> I still have the original install partitions from before going
> "all-Vinum" on the system.  So, I can change my /etc/fstab to use
> /dev/ad0s1b (and /dev/ad1s1b) as swap devices.  My question is this:
> do I need to delete my "swap" volume from my Vinum configuration, so
> as not to confuse Vinum re: possible inconsistencies?

No.  If you don't do anything with it, there can't be any inconsistencies.

I'll look at the cause of the problems.

Greg
--
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031211/3b56ed06/attachment.bin


More information about the freebsd-current mailing list