gptzfsboot problem on HP P410i Smart Array
Sergey V. Dyatko
sergey.dyatko at gmail.com
Thu Apr 10 17:31:41 UTC 2014
On Thu, 10 Apr 2014 13:13:22 -0400
John Baldwin <jhb at freebsd.org> wrote:
> On Thursday, April 10, 2014 12:59:25 am Andreas Nilsson wrote:
> > On Thu, Apr 10, 2014 at 1:04 AM, Rainer Duffner <rainer at ultra-
> secure.de>wrote:
> >
> > >
> > > Am 10.04.2014 um 00:02 schrieb Matthew Seaman <matthew at FreeBSD.org>:
> > >
> > > > On 09/04/2014 22:52, Rainer Duffner wrote:
> > > >> And no, as the server is in a remote datacenter, an USB-stick is not an
> > > option.
> > > >>
> > > >> It's slow enough booting via a virtual USB-image over iLO...
> > > >
> > > > Uh... it only has to read the kernel+modules from the USB stick one time
> > > > while booting. Otherwise, there really shouldn't be any IO inside /boot
> > > > unless you login and do stuff in that directory manually. Your root
> > > > filesystem would be on the normal hard drives.
> > > >
> > > > Anyhow the question is moot, since you don't have the same problem I
> did.
> > > >
> > > >> No, it's actually just a single RAID6-0 disk created by the P410i...
> > > >
> > > > If you're going to use the RAID controller to generate a virtual drive,
> > > > do you really need to use ZFS on top of that? Couldn't you partition
> > > > your virtual drive and put / onto a small UFS partition and then make a
> > > > zpool on the rest?
> > >
> > >
> > > I don't want to sacrifice two disks for a RAID1 boot-disk.
> > > Normally, I would actually do that, but in this case, the server is a
> > > MySQL-slave to a master that has 12 disks - and should the master die,
> > > this system has to take over its work.
> > >
> > > You never specified exactly how it fails. But I'll take a guess:
> >
> > *Attempting Boot From Hard Drive (C:)*
> >
> > *gptzfsboot: error 1 lba 32*
> >
> > *gptzfsboot: error 1 lba 1*
> >
> > *g**ptzfsboot: No ZFS pools located, can't boot*
> >
> >
> > A workaround is
> > http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026624.html
>
> I believe the proper fix for that bug was committed here:
>
> http://svnweb.freebsd.org/base?view=revision&revision=243025
>
possible, but it doesn't help in my case (lenovo b450 laptop). I install
fbsd11-current ~month ago in it and problem still persist, proposed by avg@
patch works fine in my case:
Index: sys/boot/i386/zfsboot/zfsboot.c
===================================================================
--- sys/boot/i386/zfsboot/zfsboot.c (revision 263419)
+++ sys/boot/i386/zfsboot/zfsboot.c (working copy)
@@ -302,6 +302,7 @@
* region in the SMAP, use the last 3MB of 'extended' memory as a
* high heap candidate.
*/
+ high_heap_size = 0;
if (bios_extmem >= HEAP_MIN && high_heap_size < HEAP_MIN) {
high_heap_size = HEAP_MIN;
high_heap_base = bios_extmem + 0x100000 - HEAP_MIN;
--
wbr, tiger
More information about the freebsd-current
mailing list