No swap file on ZFS?

A developer just requested extra swap space on a Solaris 10 server for debugging purpose. I quickly created a 4GB file using mkfile(1M). Then, tried to add this space and got the following error: [ 00:17 root@13-www3 0 ] /zpool # swap -a /zpool/swap /zpool/swap: Invalid operation for this filesystem

Released!

Finally, I got it: [ 23:40 mex@4-moonshine 0 ] ~ $ ls sol-10-u2*.zip -rw-r–r– 1 root root 560051445 Jun 26 22:47 sol-10-u2-ga-x86-dvd-iso-a.zip -rw-r–r– 1 root root 560483400 Jun 26 22:52 sol-10-u2-ga-x86-dvd-iso-b.zip -rw-r–r– 1 root root 560681477 Jun 26 23:22 sol-10-u2-ga-x86-dvd-iso-c.zip -rw-r–r– 1 root root 560174980 Jun 26 23:25 sol-10-u2-ga-x86-dvd-iso-d.zip -rw-r–r–

1 2