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



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 you. If you
want, you can try the loader I am using from:
http://www.egr.msu.edu/~mcdouga9/loader


Hi, thanx a lot for this hint. Meanwhile, I was almost giving up,
and had a try with ZFS on Root with GPT partitioning, using
gptzfsboot as the bootloader, a UFS root partition as boot
partition (gmirrored to both disks), and the rest (inclusive of a
zvol for swap!) on ZFS. This worked perfectly on the first try.
(if anyone is interested, I can post my commented command
series for that, but it's just a mix of the available tutorials on
the web..).

I'll be glad do give the zfs-only solution a new try.
Had the same impression, that the loader was involved in the
problem, but had no env at hand to build a -CURRENT right
away... (I did, in fact, repeat the dd-steps a zfsboot
bootloader from a recent 8- snapshot iso... with the results
being the same as before...).

Sidenote: I encountered a few panics when using rsync with the
HAX flags enabled (rsync -avxHAX from UFS to ZFS).
I'll try to figure out which one of the flags caused it...
(Hard links, ACLs, or eXtended attributes..).
Never had even the slightest problem with rsync -avx.

Thanx for posting me your loader, I'll try with this tomorrow night!
(any hint, btw, on why the one in -STABLE seems to be
broken, or whether it has actually been fixed by now?)

Regards,
Lorenzo

(...)

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

forth not found
definitions not found
only not found
(the above repeated several times)

can't load 'kernel'

and I get thrown to the loader prompt.
lsdev does not show any ZFS devices.

(...)


_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable"
    ... I'm trying to install FreeBSD current with a ZFS RAIDZ pool booting from GPT. ... The loader then proceeds to load the kernel, opensolaris, and zfs modules. ... I still have the USB drive booting the 200905 snapshot and the livefs DVD snapshot available. ...
    (freebsd-current)
  • Re: request: LOADER_ZFS_SUPPORT
    ... the least inconsequential was rebuilding loader with ZFS support. ... There is also no need to build a different installation image, ... also don't rebuild the system, you rebuild one tiny part of it, just the ...
    (freebsd-current)
  • Upgrade from 8.2-STABLE to 9.0-RELEASE wedges on SuperMicro H8DGiF-based system
    ... We have a ZFS storage server that was running 8.2-STABLE (from around ... the loader complained about not being able to determine ... When alphadrive locks up, there are no entries made in any log files; ... 8x Seagate 7200.12 1.5 TB SATA harddrives ...
    (freebsd-stable)
  • Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable"
    ... I've tried putting printf's in various places in the ZFS boot code but still have no idea what is wrong. ... current with a ZFS RAIDZ pool booting from GPT. ... The loader then proceeds to load the kernel, opensolaris, and zfs ...
    (freebsd-current)