On 04/ 4/10 10:51 AM, Jennifer Pioch wrote:
How can I grow swap on a zpool in Opensolaris?

I have:

$ zfs list | grep -F swap
rpool/swap                  816M  24.4G   112M  -

I want to extend this to 4G swap. How do I do that?

Did you try

# swap -d

to delete this one and then create larger one? AFAIK that's
the only way to change the size of an existing swap file. You
could just add a new one, too (swap -a). swap -l will tell you
what the system thinks the swap dataset is called. Make sure
to update /etc/vfstab if you add rather than replace. Google
for creating zfs swap if you aren't sure how to make a swap
dataset.

HTH -- Frank

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to