SUMMARY: how to reference a swap-only ZFS pool

From: Christopher (home) <cbarnar1_at_earthlink.net>
Date: Fri Jul 20 2012 - 16:29:04 EDT
I had actually intentionally not used the -V flag under the (incorrect)
assumption that since this was a swap partition I should not use it.  Wrong.
I recreated swappool/swapdev with the -V option to zfs create and the
/dev/zvol/dsik devices are now there.  Thanks to more individuals than I can
count.

On Jul 18, 2012, at 7:03 PM, Christopher (home) wrote:

> Many people have told me about using zfs create to zfs create
> swappool/swapvol.  The problem is that nothing is appearing in /dev/zvol
> except for my already existing pool.  Nothing new.
>
> /dev/zvol/dsk/epicpool
> /dev/zvol/rdsk/epicpool
>
> and thats it.  No swappool.
>
> I am creating that pool, and zpool status shows that it is there, but it is
> not in /dev/zvol.
>
> Christopher
>
> On Jul 17, 2012, at 7:15 AM, Christopher (home) wrote:
>
>> I have created a pool of two mirrored disks that will be used as
>> additinal swap.
>>
>> root on rudun-epiccache101:/opt/local/scripts# zpool status
>> [...]
>> pool: swappool
>> state: ONLINE
>> scan: none requested
>> config:
>>
>>      NAME        STATE     READ WRITE CKSUM
>>      swappool    ONLINE       0     0     0
>>        c1t0d0s1  ONLINE       0     0     0
>>        c1t1d0s1  ONLINE       0     0     0
>>
>> errors: No known data errors
>> root on rudun-epiccache101:/opt/local/scripts#
>>
>> My question is, what is the device name?  I want to add it as an
>> additional swap area (swap -a) but I have not been able to figure out
>> what the entry is for the swap command to reference this new pool.
>>
>> What would the name of this pool be for the purposes of swap -a?


Christopher L. Barnard
-------------------
comment your code as if the maintainer is a homicidal maniac who knows where
you live.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jul 20 16:29:28 2012

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:19 EST