From nobody@FreeBSD.org  Thu Dec 25 02:37:09 2003
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0729E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2003 02:37:09 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9BD43D55
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2003 02:37:08 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBPAb7dL026934
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Dec 2003 02:37:07 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id hBPAb741026933;
	Thu, 25 Dec 2003 02:37:07 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200312251037.hBPAb741026933@www.freebsd.org>
Date: Thu, 25 Dec 2003 02:37:07 -0800 (PST)
From: William Dell Wisner <william@dell.wisner.name>
To: freebsd-gnats-submit@FreeBSD.org
Subject: can no longer use vinum volumes for swap
X-Send-Pr-Version: www-2.0

>Number:         60555
>Category:       kern
>Synopsis:       [vinum] can no longer use vinum volumes for swap
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 25 02:40:00 PST 2003
>Closed-Date:    Sat Aug 28 17:52:23 GMT 2004
>Last-Modified:  Sat Aug 28 17:52:23 GMT 2004
>Originator:     William Dell Wisner
>Release:        5.2-RC2
>Organization:
>Environment:
FreeBSD prost.limitless.co.uk 5.2-RC FreeBSD 5.2-RC #0: Tue Dec 23 22:50:28 GMT 2003     wisner@prost.limitless.co.uk:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Sometime since 5.1-RELEASE, it has become impossible to use a vinum volume as a swap device. Attempts to mount a vinum volume as swap yield the error: swapon: /dev/vinum/swap: Operation not supported by device. The upshot is that anybody using vinum for swap who upgrades to 5.2 will lose access to swap devices.

This problem was discussed three months ago on the freebsd-current mailing list (see http://lists.freebsd.org/pipermail/freebsd-current/2003-September/011233.html).

I have marked this bug as high priority because if (as seems quite likely) it is not fixed for 5.2-RELEASE, it needs to be documented so that sites with such a configuration know of the problem before attempting to upgrade. I was caught flat-footed by this, and would have been even more so if it had been an important production server I upgraded.
>How-To-Repeat:
Try to activate a vinum volume as a swap device.      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sat Aug 28 17:49:58 GMT 2004 
State-Changed-Why:  
AFAIK it was not documented that swap on vinum does not work 
in 5.2. The upcoming 5.3 has gvinum which AFAIK works with swap, and there 
is an item on the TODO list, to update the handbook's vinum chapter. 

If you are interested in documenting vinum in 5.x please contact 
the freebsd-doc Mailintlist 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60555 
>Unformatted:
