Hi Rodney,
I've not seen this problem.
Did you install using LiveCD or the automated installer?
Here are some things to try/think about:
1. After a reboot with no swap or dump devices, run this command:
# zfs volinit
If this works, then this command isn't getting run on boot.
Let me know the outcome.
2. Your mirrored root pool devices, c8t0d0s0 and c8t0d0p2, might
overlap. s0 is slice 0 and p2 is an fdisk partition that might contain
s0. I would recommend detaching c8t0d0p2 and attach a different slice,
s1 or s7. Don't use the p* devices at all, other than letting the
Solaris installer install into them.
Mirroring to a slice on a different disk would be best.
3. We're not sure if detaching c8t0d0p2 also solves the swap/dump
devices from disappearing, but if they overlap, then maybe it will.
Cindy
On 10/14/09 04:34, Rodney wrote:
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?
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss