[indiana-discuss] I need more swap, 2008.11

Sherry Moore sherry.moore at sun.com
Tue Dec 2 12:47:54 PST 2008


Hi Scott,

This is what you can do:

    # swap -d /dev/zvol/dsk/rpool/swap
    # zfs volsize=4g rpool/swap
    # /sbin/swapadd

Sherry

On Tue, Dec 02, 2008 at 02:12:33PM -0600, Scott Fehrman wrote:
> I need to add more swap to my 2008.11 install ... or do I ...
>
> I need 4 GB of swap on a laptop with 2GB of ram, the default install gave 
> me 1GB of swap
>
> zfs list shows ...  1023M used of 85.9G avail for rpool/swap
>
> Is it possible to increase the "rpool/swap" to 4096M.
>
> Or, should I make a new rpool for an extra swap file (someone told me this 
> is not a good idea)
>
> -Scott
>
> Scott Fehrman
> Sun Microsystems, Inc.
> Two Pierce Place, Suite 1500
> Itasca, IL 60123 US
> Phone x47632/+1 630 285 7632
> Email Scott.Fehrman at Sun.COM
>
>
>

> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


-- 
Sherry Moore, Solaris Core Kernel	http://blogs.sun.com/sherrym



More information about the indiana-discuss mailing list