Re: ZFS boot on zfs mirror

2009-05-26 Thread Mickael MAILLOT
Hi, i prefere use zfsboot boot sector, an example is better than a long talk: $ zpool create tank mirror ad4 ad6 $ zpool export tank $ dd if=/boot/zfsboot of=/dev/ad4 bs=512 count=1 $ dd if=/boot/zfsboot of=/dev/ad6 bs=512 count=1 $ dd if=/boot/zfsboot of=/dev/ad4 bs=512 skeep=1 seek=1024 $ dd

Re: ZFS boot on zfs mirror

2009-05-26 Thread Dmitry Morozovsky
On Tue, 26 May 2009, Mickael MAILLOT wrote: MM Hi, MM MM i prefere use zfsboot boot sector, an example is better than a long talk: MM MM $ zpool create tank mirror ad4 ad6 MM $ zpool export tank MM $ dd if=/boot/zfsboot of=/dev/ad4 bs=512 count=1 MM $ dd if=/boot/zfsboot of=/dev/ad6 bs=512

Re: ZFS boot on zfs mirror

2009-05-26 Thread Lorenzo Perone
Hi All, Thanx for all the feedback! Philipp: Your idea is really fine, with manageBE :) Would surely be nice for a test/development machine, I'll think about using it... (sounds a bit like FreeBSD goin' the Nexenta way...) Mickael: Your example looks much more like what I was looking for (and

Re: ZFS boot on zfs mirror

2009-05-26 Thread George Hartzell
Dmitry Morozovsky writes: On Tue, 26 May 2009, Mickael MAILLOT wrote: MM Hi, MM MM i prefere use zfsboot boot sector, an example is better than a long talk: MM MM $ zpool create tank mirror ad4 ad6 MM $ zpool export tank MM $ dd if=/boot/zfsboot of=/dev/ad4 bs=512 count=1 MM

Re: ZFS boot on zfs mirror

2009-05-26 Thread Andriy Gapon
on 26/05/2009 19:21 George Hartzell said the following: Dmitry Morozovsky writes: On Tue, 26 May 2009, Mickael MAILLOT wrote: MM Hi, MM MM i prefere use zfsboot boot sector, an example is better than a long talk: MM MM $ zpool create tank mirror ad4 ad6 MM $ zpool

Re: ZFS boot on zfs mirror

2009-05-26 Thread George Hartzell
Andriy Gapon writes: on 26/05/2009 19:21 George Hartzell said the following: Dmitry Morozovsky writes: On Tue, 26 May 2009, Mickael MAILLOT wrote: MM Hi, MM MM i prefere use zfsboot boot sector, an example is better than a long talk: MM MM $ zpool

Re: ZFS boot on zfs mirror

2009-05-26 Thread Andriy Gapon
on 26/05/2009 19:42 George Hartzell said the following: I'm still confused about the two parts of zfsboot and what's magical about seeking to 1024. Can't help with answer to this, but cc-ing the one who can (I think). I am interested too :-) -- Andriy Gapon

Re: ZFS boot on zfs mirror

2009-05-26 Thread Doug Rabson
On Tue, 26 May 2009 19:57:03 +0300, Andriy Gapon a...@icyb.net.ua wrote: on 26/05/2009 19:42 George Hartzell said the following: I'm still confused about the two parts of zfsboot and what's magical about seeking to 1024. Can't help with answer to this, but cc-ing the one who can (I think).

Re: ZFS boot on zfs mirror

2009-05-25 Thread Philipp Wuensche
Lorenzo Perone wrote: Hello to all, Having licked blood now, and read the news from Kip Macy about - zfs boot for all types now works I was wondering if anyone has some updated tutorial on how to achieve a zfs-only bootable FreeBSD with a mirrored zpool. My own howto and script