Needing a larger swap than the default I followed the steps at:
http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#ZFS_Swap_and_Dump_Devices
and at:
http://docs.sun.com/app/docs/doc/819-5461/ggvlr?a=view

Namely:

zfs create -V 2G -b 4k rpool/swap (I've also tried just zfs create -V 2G 
rpool/swap)
pfexec swap -a /dev/zvol/dsk/rpool/swap
This works during the current session.

After a reboot this swap is no longer available.
pfexec swap -a /dev/zvol/dsk/rpool/swap gives the following error message:
/dev/zvol/dsk/rpool/swap: No such file or directory

However it does exist:
rod...@opensolaris:~$ ls -la /dev/zvol/dsk/rpool/swap 
lrwxrwxrwx   1 root     root          35 Oct  1 22:34 /dev/zvol/dsk/rpool/swap 
-> ../../../../devices/pseudo/z...@0:1c

I have to execute  pfexec zfs destroy -r rpool/swap and start again after each 
reboot.
It doesn't help adding an entry to /etc/vfstab.

A similar issues happens with rpool/dump.

I'm using the OSOL release (build 124 32 bit) following the /dev repo not SXCE.

I'm running a zfs root pool mirror in case that's relevant:

rod...@opensolaris:~$ zpool status -v
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c8t0d0s0  ONLINE       0     0     0
            c8t0d0p2  ONLINE       0     0     0

errors: No known data errors

Is this a ZFS bug or am I missing something critical?
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to