From owner-freebsd-geom@FreeBSD.ORG Thu Oct 30 18:06:31 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17C5C1065677 for ; Thu, 30 Oct 2008 18:06:31 +0000 (UTC) (envelope-from brandon@brandonvalentine.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id EF82E8FC16 for ; Thu, 30 Oct 2008 18:06:30 +0000 (UTC) (envelope-from brandon@brandonvalentine.com) Received: by wa-out-1112.google.com with SMTP id n4so365827wag.27 for ; Thu, 30 Oct 2008 11:06:30 -0700 (PDT) Received: by 10.114.183.20 with SMTP id g20mr8825046waf.77.1225388618590; Thu, 30 Oct 2008 10:43:38 -0700 (PDT) Received: by 10.114.53.17 with HTTP; Thu, 30 Oct 2008 10:43:38 -0700 (PDT) Message-ID: <93ed877d0810301043l17395d91l2319e59611f6e69d@mail.gmail.com> Date: Thu, 30 Oct 2008 12:43:38 -0500 From: "Brandon Valentine" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: gmirror partitions not mounting on boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 18:06:31 -0000 Hi folks, I've got a vexing problem with gmirror I haven't seen before. So far my mailing list searches have not turned up a similar problem. I'm hoping it's something simple I've overlooked, but so far no luck. I followed the gmirror setup instructions from this howto to the letter, going so far as to paste the sample code into shell scripts and substituting in the names of my disks (ad4 and ad6): http://people.freebsd.org/~rse/mirror/ I'm on 7.0-RELEASE-p5 as installed fresh from CD and updated via freebsd-update. Using the default kernel and userland, no custom modifications or recompiles. On boot the boot stops after: Oct 30 17:19:12 champ GEOM_MIRROR: Device mirror/gm0 launched (2/2). Oct 30 17:19:12 champ Trying to mount root from ufs:/dev/mirror/gm0a The machine enters single-user mode with only the root partition mounted. A simple "mount -a ; exit' will mount all the drives and send it into multiuser mode. It will not mount them automatically. I have geom_mirror_load="YES" in /boot/loader.conf and here's my fstab: # Device Mountpoint FStype Options Dump Pass# /dev/mirror/gm0b none swap sw 0 0 /dev/mirror/gm0a / ufs rw 1 1 /dev/mirror/gm0g /home ufs rw 2 2 /dev/mirror/gm0e /tmp ufs rw 2 2 /dev/mirror/gm0f /usr ufs rw 2 2 /dev/mirror/gm0d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 Once I execute "mount -a ; exit" in single-user mode gmirror shows the mirror status correctly: champ# gmirror status Name Status Components mirror/gm0 COMPLETE ad4s1 ad6s1 Any ideas? Thanks, -- Brandon D. Valentine http://www.brandonvalentine.com