Re: gpt zfs booting - loader takes 25s

2010-12-05 Thread Bruce Cran
On Tue, 30 Nov 2010 17:08:03 -0800
mer...@stonehenge.com (Randal L. Schwartz) wrote:

 I imagine something high-up in the kernel is asking the ZFS for the
 first block of a file, and only at that point does all the paperwork
 processing for consistency check come into play, so there are no
 messages, just a pause.

It seems you're right: I checked and the HDD light is permanently on
during the pause.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


gpt zfs booting - loader takes 25s

2010-11-30 Thread Bruce Cran
I've recently installed a ZFS-only system which is booting from GPT
using a 'legacy' BIOS. Something I noticed straight away is that the loader
takes a very long time: it pauses after enumerating the disks but before
displaying information about the installed memory:

BTX loader 1.0.0  BTX version is 1.02
Consoles: internal video/keyboard
BIOS drive C: is disk0
BIOS drive D: is disk1
BIOS drive E: is disk2
BIOS drive F: is disk3
- pauses for 25 seconds, with the spinner occasionally moving
BIOS 631kB/3666816kB available memory

Is it normal for booting to take such a long time when booting from GPT?

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gpt zfs booting - loader takes 25s

2010-11-30 Thread Randal L. Schwartz
 Bruce == Bruce Cran br...@cran.org.uk writes:

Bruce Is it normal for booting to take such a long time when booting
Bruce from GPT?

Are you shutting down cleanly?

I noticed my VPS takes a bit when I've done a hard reboot, but not when
I let it go through all the nice sync, even though there aren't any
console messages.

I imagine something high-up in the kernel is asking the ZFS for the
first block of a file, and only at that point does all the paperwork
processing for consistency check come into play, so there are no
messages, just a pause.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gpt zfs booting - loader takes 25s

2010-11-30 Thread Bruce Cran
On Tue, 30 Nov 2010 17:08:03 -0800
mer...@stonehenge.com (Randal L. Schwartz) wrote:

 I imagine something high-up in the kernel is asking the ZFS for the
 first block of a file, and only at that point does all the paperwork
 processing for consistency check come into play, so there are no
 messages, just a pause.

I'm doing a clean reboot, and I don't remember it taking this long when
I had a ZFS-only system booting from a disk with an MBR scheme.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org