Re: [zfs-discuss] Best practice for swap and root pool

2008-11-28 Thread Chris Ridd
On 28 Nov 2008, at 00:07, Peter Brouwer, Principal Storage Architect wrote: > > > dick hoogendijk wrote: >> >> On Thu, 27 Nov 2008 12:58:20 + >> Chris Ridd <[EMAIL PROTECTED]> wrote: >> >> >>> I'm not 100% convinced it'll boot if half the mirror's not there, >>> >> Believe me, it will (been

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-27 Thread Peter Brouwer, Principal Storage Architect
dick hoogendijk wrote: On Thu, 27 Nov 2008 12:58:20 + Chris Ridd <[EMAIL PROTECTED]> wrote: I'm not 100% convinced it'll boot if half the mirror's not there, Believe me, it will (been there done that). You -have- to make sure though that both disks have installgru

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-27 Thread dick hoogendijk
On Thu, 27 Nov 2008 12:58:20 + Chris Ridd <[EMAIL PROTECTED]> wrote: > I'm not 100% convinced it'll boot if half the mirror's not there, Believe me, it will (been there done that). You -have- to make sure though that both disks have installgrub ... And that your bios is able to boot from the

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-27 Thread Chris Ridd
On 26 Nov 2008, at 17:08, Chris Ridd wrote: > It feels a lot like "don't start from here" (ie from my 2008.05 > install) so I'm doing an install of 101b from CD onto one of the new > disks right now. At least format's not showing a swap slice now, > yippee. I'll try and get it mirroring afterward

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-27 Thread Casper . Dik
>On Wed, Nov 26, 2008 at 04:30:59PM +0100, "C. Bergstr?m" wrote: >> Ok. here's a trick question.. So to the best of my understanding zfs >> turns off write caching if it doesn't own the whole disk.. So what if s0 >> *is* the whole disk? Is write cache supposed to be turned on or off? > >Actual

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread A Darren Dunham
On Wed, Nov 26, 2008 at 04:30:59PM +0100, "C. Bergstr?m" wrote: > Ok. here's a trick question.. So to the best of my understanding zfs > turns off write caching if it doesn't own the whole disk.. So what if s0 > *is* the whole disk? Is write cache supposed to be turned on or off? Actually, ZFS

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Chris Ridd
On 26 Nov 2008, at 14:37, Darren J Moffat wrote: > dick hoogendijk wrote: >> On Wed, 26 Nov 2008 12:51:04 + >> Chris Ridd <[EMAIL PROTECTED]> wrote: >>> But what do I do with that swap slice? Should I ditch it and create >>> an rpool/swap area? Do I still need a boot slice? > > > Depending on

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Toby Thain
On 26-Nov-08, at 10:30 AM, C. Bergström wrote: > ... Also is it more efficient/better > performing to give swap a 2nd slice on the inner part of the disk > or not > care and just toss it on top of zfs? I think the thing about swap is that if you're swapping, you probably have more to worry a

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread C. Bergström
dick hoogendijk wrote: > On Wed, 26 Nov 2008 15:29:50 +0100 > "C. Bergström" <[EMAIL PROTECTED]> wrote: > > >> To clear up some confusion.. >> This is from a default indiana install >> format -e >> verify.. >> Part TagFlag Cylinders SizeBlocks >> 0 root

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread C. Bergström
Darren J Moffat wrote: > dick hoogendijk wrote: > >> On Wed, 26 Nov 2008 12:51:04 + >> Chris Ridd <[EMAIL PROTECTED]> wrote: >> >> >>> I'm replacing the disk with my rpool with a mirrored pool, and >>> wondering how best to do that. >>> >>> The disk I'm replacing is partitioned with r

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread dick hoogendijk
On Wed, 26 Nov 2008 14:37:21 + Darren J Moffat <[EMAIL PROTECTED]> wrote: > dick hoogendijk wrote: > > I've never seen a ZFS system on seperate slices. Slices are things > > from the past ;-) > > Unfortunately not the case for ZFS pools that are to be booted from. > This is because we can't

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread dick hoogendijk
On Wed, 26 Nov 2008 15:29:50 +0100 "C. Bergström" <[EMAIL PROTECTED]> wrote: > To clear up some confusion.. > This is from a default indiana install > format -e > verify.. > Part TagFlag Cylinders SizeBlocks > 0 rootwm 262 - 19453 147.02GB(

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Guido
Hi, maybe this [1] will help you. For more Information read also the linked Blog [2]. HTH [1] http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html [2] http://malsserver.blogspot.com/2008/08/mirroring-resolved-correct-way.html -- This message posted from opensolaris.org

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Darren J Moffat
dick hoogendijk wrote: > On Wed, 26 Nov 2008 12:51:04 + > Chris Ridd <[EMAIL PROTECTED]> wrote: > >> I'm replacing the disk with my rpool with a mirrored pool, and >> wondering how best to do that. >> >> The disk I'm replacing is partitioned with root on s0, swap on s1 >> and boot on s8, whi

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread C. Bergström
Chris Ridd wrote: > On 26 Nov 2008, at 13:12, dick hoogendijk wrote: > > >> On Wed, 26 Nov 2008 12:51:04 + >> Chris Ridd <[EMAIL PROTECTED]> wrote: >> >> >>> I'm replacing the disk with my rpool with a mirrored pool, and >>> wondering how best to do that. >>> >>> The disk I'm replacing

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Chris Ridd
On 26 Nov 2008, at 13:12, dick hoogendijk wrote: > On Wed, 26 Nov 2008 12:51:04 + > Chris Ridd <[EMAIL PROTECTED]> wrote: > >> I'm replacing the disk with my rpool with a mirrored pool, and >> wondering how best to do that. >> >> The disk I'm replacing is partitioned with root on s0, swap on

Re: [zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread dick hoogendijk
On Wed, 26 Nov 2008 12:51:04 + Chris Ridd <[EMAIL PROTECTED]> wrote: > I'm replacing the disk with my rpool with a mirrored pool, and > wondering how best to do that. > > The disk I'm replacing is partitioned with root on s0, swap on s1 > and boot on s8, which is what the original 2008.05 i

[zfs-discuss] Best practice for swap and root pool

2008-11-26 Thread Chris Ridd
I'm replacing the disk with my rpool with a mirrored pool, and wondering how best to do that. The disk I'm replacing is partitioned with root on s0, swap on s1 and boot on s8, which is what the original 2008.05 installer created for me. I've partitioned the new disk in the same way and am no