On Tue, Dec 16, 2008 at 1:34 PM, Tamer Embaby <t...@tsemba.org> wrote:
> Hello all, > > I have a Solaris 10 U5 server with 3 partitions: > > 1- UFS for / > 2- swap for swap space > 3- the rest is used as ZFS pool (/zfs_pool) > > Now I need to add more more swap space using "swap -a <file>" > and I don't have enough space on /, can create this file on > the ZFS pool and then add it to the swap space? > > For instance: > > # mkfile 4g /zfs_pool/some_zfs_fs/swap_002 > # swap -a /zfs_pool/some_zfs_fs/swap_002 > > Is this supported? Will it work? > > Zpool verison: 4 > ZFS version: N/A > > Thanks, > Tamer > You want to rather do the following: zpool create -V 4G zfs_pool/swapspace1 swap -a /dev/zvol/dsk/zfs_pool/swapspace1 -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke My blog: http://initialprogramload.blogspot.com
_______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org