[CFT] Patch to bsdinstall to support root-on-ZFS and GELI

Allan Jude freebsd at allanjude.com
Mon Oct 21 15:50:25 UTC 2013


On 2013-10-21 11:45, Johan Broman wrote:
> Hi!
>
> Sorry for the delayed answer. I've patched zfsboot and rebuilt the
> release. I now get an error message that ada2 can't be used, which is
> correct. Good stuff! :)
>
> ( I've recreated the test environment using a KVM guest with four SATA
> drives instead of the server I was using. I makes it easier to test
> stuff. )
>
> Here's the screenshot:
>
> http://212.181.212.146/bsdinstall/Screenshot_2013-10-21.png
>
>
> Maybe one should be unable to select drives that are part of a graid
> in the first place? Or is that out-of-scope for bsdinstall at this
> point? (As I guess that requires too many changes/new lines)
>
>
> Cheers
> Johan
>
>
> On 19/10/13 22:20, Teske, Devin wrote:
>>
>> On Oct 19, 2013, at 10:07 AM, Johan Broman wrote:
>>
>>> I recreated the graid mirror on ada2 and ada3 and reran the
>>> installation. I'm unable to scroll the msgbox using PgDn or arrow
>>> keys. There is no indication that the action failed and I'm returned
>>> to the ZFS setup screen if I hit OK.
>>>
>>> I have screen shots (taken with my phone) of the msgbox and "ps
>>> auxwww" output. Let me know what kind of debug info you would like.
>>> I've put the screen shots here:
>>>
>>> http://212.181.212.146/bsdinstall
>>
>> I've added a patch to fix debugging in the zfsboot script...
>>
>> http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_zfs/
>>
>> Feedback welcome.
>>
>> Johan,...
>>
>> Can you see if the patch sheds some better light as to what's failing?
>>
>> The patch won't fix the problem, but it should give us an accurate error
>> message so that we can learn what precisely is returning an error
>> status.
>>
>> Thanks in advance.
>>
I do notice that Devin's manually prefixing the error message with the
tool name, is partially redundancy when the tool does it it self, but we
can't always be sure it will do that.

the graid thing is rather hard to detect, especially when it is a
faulted array that doesn't even appear in graid status etc.

-- 
Allan Jude



More information about the freebsd-current mailing list