Our bootloader implementation does not know how to read gang blocks.
Compare the code from OpenSolaris' variant of grub with what we have
and find the differences:
Search for zio_read_data here:
And compare with our zio_read here:
We seem to be missing gang block check. That would explain why zfsboot
works only sometimes. If all the files are written using regular
blocks, then we're OK. However, some time later (i.e. during upgrade
or after an edit), some data can end up written to disk in a gang
block and that would make zfsboot choke.
On Fri, Sep 25, 2009 at 1:57 PM, Stefan Bethke <firstname.lastname@example.org> wrote:
> Am 25.09.2009 um 17:41 schrieb Ollivier Robert:
>> According to Ollivier Robert:
>>> By popular demand:
>> I've succeeded in booting off raidz!
>> There is a remaining issue with /boot/loader getting zfs errors at boot
>> resulting in loader.conf not being read. After setting the various
>> manually (vm.kmem_size, vfs.root.mountfrom) and loading zfs, it works...
>> I've updated the howto to reflect that.
>> Any help in tackling the last issue is welcome.
> In my various experiments, I sometimes got a setup that would load many, but
> not all files. However, re-running the script to re-create the zpool, or
> copying files to the filesystem would make any successive reboots not work
> Stefan Bethke <email@example.com> Fon +49 151 14070811
> firstname.lastname@example.org mailing list
> To unsubscribe, send any mail to "email@example.com"