STATUS: how to reference a swap-only ZFS pool

"Christopher (home)" <[email protected]> Wed, 18 Jul 2012 19:03:38 -0500
Newsgroups gmane.os.solaris.managers
Message-ID <[email protected]>
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
> [email protected]
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers