Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-06-01 Thread Lorenzo Perone
On 31.05.2009, at 09:18, Adam McDougall wrote: I encountered the same symptoms today on both a 32bit and 64bit brand new install using gptzfsboot. It works for me when I use a copy of loader from an 8-current box with zfs support compiled in. I haven't looked into it much yet but it might help

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-06-01 Thread Alberto Villa
On Thu, May 28, 2009 at 3:58 PM, Lorenzo Perone wrote: > the result is, when choosing the disk with the zfs boot > sectors in it (in my case F5, which goes to ad6), the kernel > is not found. the console shows: > > forth not found > definitions not found > only not found > (the above repeated seve

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-31 Thread Enrico M.
On Thursday 28 May 2009 15:58:04 Lorenzo Perone wrote: > Hi, > > I tried hard... but without success ;( > > the result is, when choosing the disk with the zfs boot > sectors in it (in my case F5, which goes to ad6), the kernel > is not found. the console shows: > > forth not found > definitions not

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-31 Thread Adam McDougall
I encountered the same symptoms today on both a 32bit and 64bit brand new install using gptzfsboot. It works for me when I use a copy of loader from an 8-current box with zfs support compiled in. I haven't looked into it much yet but it might help you. If you want, you can try the loader I am usi

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-28 Thread Lorenzo Perone
On 28.05.2009, at 21:46, Mickael MAILLOT wrote: hi, did you erase gmirror meta ? (on the last sector) with: gmirror clear ad6 ohps I had forgotten that. just did it (in single user mode), but it didn't help :( Shall I repeat any of the other steps after clearing gmirror meta? thanx a lot f

Re: ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-28 Thread Mickael MAILLOT
hi, did you erase gmirror meta ? (on the last sector) with: gmirror clear ad6 2009/5/28 Lorenzo Perone : > Hi, > > I tried hard... but without success ;( > > the result is, when choosing the disk with the zfs boot > sectors in it (in my case F5, which goes to ad6), the kernel > is not found. the

ZFS booting without partitions (was: ZFS boot on zfs mirror)

2009-05-28 Thread Lorenzo Perone
Hi, I tried hard... but without success ;( the result is, when choosing the disk with the zfs boot sectors in it (in my case F5, which goes to ad6), the kernel is not found. the console shows: forth not found definitions not found only not found (the above repeated several times) can't load 'k

Re: ZFS boot on zfs mirror

2009-05-26 Thread Doug Rabson
On Tue, 26 May 2009 19:57:03 +0300, Andriy Gapon 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). > I am int

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 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: > >

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 a

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=5

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 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=5

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 i

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 an

ZFS boot on zfs mirror

2009-05-25 Thread Lorenzo Perone
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. While gmirror is a very nice thing, and I suppose it