zfs parition probing causing long delay at BTX loader
peter.maloney at brockmann-consult.de
Fri Oct 21 10:30:24 UTC 2011
On 10/20/2011 07:23 PM, Steven Hartland wrote:
> Installing a new machine here which has 10+ disks
> we're seeing BTX loader take 50+ seconds to enumerate
> the disks.
I am running 8-STABLE. On my system with 22 disks, it took much longer
than a minute (maybe 5 minutes... not sure, but overall boot was about 7
minutes). While this time is passing, I can watch the leds on the disks
blink in order, many times in a loop.
My IO card is a LSI SATA/SAS 9211-8i 6Gb/s.
After I upgraded the firmware to version 11, it seems to take much less
time, but I didn't time it. And watching the LEDs last time I rebooted,
I don't notice them all blinking the same way. Instead, all were solid
for a second or two after the long wait, and then only the root disks.
So if you have the same card, I suggest you update the firmware. (I
updated for stability rather than boot speed, and it seemed stable until
it froze today, after 2 weeks)
> After doing some digging I found the following thread
> on the forums which hinted that r198420 maybe the
> A quick change to zfs.c reverting the change to
> support 128 partitions back to 4 and BTX completes
> instantly like it used to.
> svn commit which introduced this delay is:-
> the specific file in that changeset:-
> So the questions are:-
> 1. Can this be optimised so it doesn't have to test all
> of the possible 128 GPT partitions?
> 2. If a optimisation isn't possible or is too complex to
> achieve would it be better to have the partitions defined
> as an option which can be increased if needed as I suspect
> 99.99% if not 100% of users won't be making use of more
> than 4 partitions even with GPT, such as what the attached
> patch against 8.2-RELEASE achieves.
> This e.mail is private and confidential between Multiplay (UK) Ltd.
> and the person or entity to whom it is addressed. In the event of
> misdirection, the recipient is prohibited from using, copying,
> printing or otherwise disseminating it or any information contained in
> In the event of misdirection, illegible or incomplete transmission
> please telephone +44 845 868 1337
> or return the E.mail to postmaster at multiplay.co.uk.
> freebsd-stable at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
Tel: +49 4152 889 300
Fax: +49 4152 889 333
E-mail: peter.maloney at brockmann-consult.de
More information about the freebsd-stable