Booting from ZFS raidz

Nikolay Denev ndenev at gmail.com
Mon Jan 12 02:36:01 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 10 Jan, 2009, at 13:56 , Nikolay Denev wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On 2 Jan, 2009, at 15:17 , Doug Rabson wrote:
>
>>
>> On 22 Dec 2008, at 10:29, Arnaud Houdelette wrote:
>>
>>> As I'm fairly interrested in this kind of setup, I set up a  
>>> virtual machine (VirtualBox) with 3 HD.
>>> Sources are from a fresh current (csup yesterday). Applied your  
>>> patch successfully.
>>>
>>> Done a make installworld / installkernel  to the zfs root.
>>> Applied the bootcode as Stephan.
>>>
>>> The seem's the loader gets loaded, but it cant proceed further.
>>> I got those kind of errors :
>>
>> I'm going to have to try and reproduce this but it looks as if you  
>> make have installed a gptzfsboot which doesn't include the raidz  
>> support.
>>
>
>
> I have just tried installing the new gptzfsboot with a 7.1-STABLE  
> install, but all i got is a :
> "No ZFS pools located, can't boot" message.
>
> I used 7.1-STABLE DVD, but I have copied and installed /boot/pmbr / 
> boot/gptzfsboot and /boot/loader from a
> - -CURRENT system built with your patch and LOADER_ZFS_SUPPORT
>
> All my disks have valid guid partition tables with p1 of type  
> freebsd-boot with installed pmbr and gptzfsboot from -CURRENT,
> and p2 partition of type freebsd-zfs with a valid pool that i can  
> mount using LiveFS.
>
> Any suggestions?
>
> - --
> Regards,
> Nikolay Denev
>
>

I was able to boot from the raidz pool, and now I have working 7.1- 
STABLE install booting off raidz pool. Sweet!
The problem was that I had "export"ed the pool, and gptzfsboot was not  
able to find it. I had to boot from the LiveFS CD,
zpool import it, reboot and everything worked.

Now I can only wait for ZFS v13 to hit -STABLE :)

Thanks!

- --
Regards,
Nikolay Denev




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)

iEYEARECAAYFAklrHQcACgkQHNAJ/fLbfrnEnACgrwgaBvMXpd+Iqu0jRSTy6XsS
TlsAoJ7rWe+b7iEedphf8wqTOpuRpwfg
=J7ZE
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list