Rodney wrote:
Thanks Cindy and Darren.

I installed from the 2009.06 LiveCD and updated via the /dev repo to build 124 
(and each in between over time).

After a reboot zfs volinit runs. After that I can add the zfs swap manually.

What's the next step to make it run at boot?

Update /etc/vfstab with a like something like this:

/dev/zvol/dsk/rpool/swap        -               -               swap    -       
no      -

replacing rpool/swap with what ever your dataset for swap is.

And if it's gone in future builds that what replaces it?

The work that the *private* 'zfs volinit' step did is all now automatic and done in the kernel. Massive boot time improvements for system with very large numbers of ZVOLs.

Regarding mirroring to a slice on the same disk it's because I'm using a laptop 
with 1 hard disk.
I created  two primary partitions using 50% each. I installed OSOL on the first 
and mirrored to the 2nd primary partition. I'm using compression. I thought 
this was a good way to get redundancy while also gaining back a lot of the lost 
space.

I've tried that in the past (about 3 years a go IIRC) and it just hurts performance. Since you can't physically replace either side of the mirror you will get the same level of protection (maybe even better) and better performance by setting the property copies to 2 (eg 'zfs set copies=2 rpool').

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to