I'll take this one.

Rainer Orth wrote:
> During the ZFS Beta program, when switching from swapping to a slice to
> swapping to a zvol, I ran across the annoying fact that the zvol wasn't
> added automatically during boot.  I've filed
> 
> 6405330       swap on zvol isn't added during boot
> 
> for this, and provided a full analysis and fix in the process.  The trivial
> patch is here:
> 
> ===================================================================
> RCS file: RCS/devices-local,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 devices-local
> --- devices-local     2006/04/11 07:56:22     1.1.1.1
> +++ devices-local     2006/05/05 20:13:19
> @@ -76,4 +76,9 @@
>       /usr/sbin/zfs volinit || exit $SMF_EXIT_ERR_FATAL
>  fi
>  
> +#
> +# Add swap again to allow for swapping to zvols.
> +#
> +/sbin/swapadd -1
> +
>  exit $SMF_EXIT_OK
> 
> Since this is still unfixed, I'd like to see it integrated asap, and am
> thus looking for a sponsor.
> 
> My contributor agreement is OS0023.
> 
>       Rainer
> 
> -----------------------------------------------------------------------------
> Rainer Orth, Faculty of Technology, Bielefeld University
> _______________________________________________
> request-sponsor mailing list
> request-sponsor at opensolaris.org

-- 
Eric Lowe       Solaris Kernel Development     Austin, Texas
Sun Microsystems.  We make the net work.       x40577/+1(512)366-9080

Reply via email to