From owner-freebsd-current@FreeBSD.ORG Sat May 7 16:54:38 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00F5C16A4DB; Sat, 7 May 2005 16:54:38 +0000 (GMT) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 704C443D7B; Sat, 7 May 2005 16:54:36 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from sentinel (195.198.193.104) by pne-smtpout2-sn2.hy.skanova.net (7.1.026.7) id 42662CF100485E55; Sat, 7 May 2005 18:54:35 +0200 From: "Daniel Eriksson" To: Date: Sat, 7 May 2005 18:56:25 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcVTJbR/2uv01v3+QRSXuHpINNUfRA== cc: 'Pawel Jakub Dawidek' Subject: geom_mirror for root partition, not possible on recent CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 16:54:38 -0000 I decided to play around with geom_mirror to see if it is anything I could use on one of my servers. After installing 5.4-RC4 and hooking it up to mirror the entire disk (mostly following the process described at http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/) I went ahead and cvsuped the latest CURRENT (2005.05.07.01.00.00) and rebuilt the system. After installing the new CURRENT kernel, the system is unable to find the geom_mirror device during boot (old 5.4-RC4 kernel finds it just fine). The difference is in the details I guess: 5.4-RC4: -------- ... GEOM_MIRROR: Device gm0 created (id=1741615369). GEOM_MIRROR: Device gm0: provider da0 detected. GEOM_MIRROR: Device gm0: provider da1 detected. GEOM_MIRROR: Device gm0: provider da1 activated. GEOM_MIRROR: Device gm0: provider da0 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Mounting root from ufs:/dev/mirror/gm0s1a 6-CURRENT: ---------- ... GEOM_MIRROR: Device gm0 created (id=1741615369). GEOM_MIRROR: Device gm0: provider da0 detected. GEOM_MIRROR: Device gm0: provider da1 detected. Trying to mount root from ufs:/dev/mirror/gm0s1a Manual root filesystem specification: ... mountroot> ? List of GEOM managed disk devices: da1 da0 To me it looks like gmirror never gets around to activating and launching the mirror under CURRENT. Booting with verbose logging adds no output to the 6-CURRENT case. Am I missing some critical step needed to get gmirror working on CURRENT that isn't needed on STABLE? /Daniel Eriksson