Re: geom mirror problem

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 10/07/04

  • Next message: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"
    Date: Thu, 7 Oct 2004 10:26:52 +0200
    To: John Hay <jhay@icomtek.csir.co.za>
    
    
    

    On Thu, Oct 07, 2004 at 08:51:26AM +0200, John Hay wrote:
    +> > +> Anyway here are some more detail. I'm running the latest RELENG_5 with
    +> > +> Pawel's with g_mirror.c v 1.34 and 1.35 from current applied. After
    +> > +> syncing and rebooting I see these messages:
    +> > [...]
    +> >
    +> > Is this 5.3 or 6-CURRENT?
    +>
    +> I guess "latest RELENG_5 with ... g_mirror.c v 1.34 and 1.35 from current"
    +> makes it somewhere past 5.3-beta7, but not current. :-)

    Sorry, I missed that.

    +> > Could you try this patch:
    +> >
    +> > http://people.freebsd.org/~pjd/patches/gmirror.patch
    +>
    +> I did, but it does not boot, it stops with a mountroot> prompt. Hand
    +> written it looks something like this:
    +>
    +> #######################################################
    +> GEOM_MIRROR: Device gm0 created (id=861616013)
    +> GEOM_MIRROR: Device gm0: provider ad0 detected
    +> GEOM_MIRROR: Device gm0: provider ad2 detected
    +> Mounting root from ufs:/dev/mirror/gm0s1a
    +> setrootbyname failed
    +> Root mount failed: 6
    +> Manual root filesystem specification
    +> ...
    +> mountroot>
    +> #######################################################

    But you still need:

            http://people.freebsd.org/~pjd/patches/gmirror.2.patch

    Could you try again with both those patches?
    If it works, could you try only with gmirror.2.patch?

    -- 
    Pawel Jakub Dawidek                       http://www.FreeBSD.org
    pjd@FreeBSD.org                           http://garage.freebsd.pl
    FreeBSD committer                         Am I Evil? Yes, I Am!
    
    


    • application/pgp-signature attachment: stored

  • Next message: Ruslan Ermilov: "Re: 5.3-BETA7: /etc/rc.d/ntpdate not using "$ntpdate_flags" from rc.conf ?"

    Relevant Pages

    • gmirror woes on 6.2-S, Aug 1
      ... I just swapped a gmirror pair of disks into a new box and have run into a ... GEOM_MIRROR: Device gm0: provider ad12 detected. ... ad10 was seen at boot and is currently attached. ... meno# gmirror forget gm0 ...
      (freebsd-questions)
    • Re: geom mirror problem
      ... +> rebooting twice it stopped both times at the mountroot> prompt and ... +> GEOM_MIRROR: Device gm0: provider ad0 detected ... +> mountroot> ...
      (freebsd-current)
    • Re: geom mirror problem
      ... I did, but it does not boot, it stops with a mountroot> prompt. ... GEOM_MIRROR: Device gm0: provider ad0 detected ... Mounting root from ufs:/dev/mirror/gm0s1a ...
      (freebsd-current)
    • Re: long pause in startup
      ... This machine hangs for a very long time between the second processor launching and geom_mirror kicking in. ... It does always boot, but the hang is more than a minute - just enough to make one nervous when rebooting remotely... ... GEOM_MIRROR: Device gm0: provider da0 detected. ... GEOM_MIRROR: Device gm0: provider da0 activated. ...
      (freebsd-stable)
    • Re: how to get more logging from GEOM?
      ... GEOM_MIRROR: Device gm0: provider ad0 detected. ... GEOM_MIRROR: Device gm0: rebuilding provider ad0. ... Every single boot in the last two ...
      (freebsd-stable)