From owner-freebsd-stable@FreeBSD.ORG Mon Nov 17 17:44:56 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A252106564A for ; Mon, 17 Nov 2008 17:44:56 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id E02CE8FC14 for ; Mon, 17 Nov 2008 17:44:55 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 0523633C62; Mon, 17 Nov 2008 09:44:55 -0800 (PST) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 9F73433C5B; Mon, 17 Nov 2008 09:44:54 -0800 (PST) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18721.44437.401689.422651@almost.alerce.com> Date: Mon, 17 Nov 2008 09:44:53 -0800 To: CmdLnKid In-Reply-To: References: <18716.48723.452606.66518@almost.alerce.com> <18720.55070.363778.698000@almost.alerce.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org, George Hartzell Subject: Re: problem moving gmirror between two machines. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2008 17:44:56 -0000 CmdLnKid writes: > On Sun, 16 Nov 2008 21:29 -0000, hartzell wrote: > > > George Hartzell writes: > > > > > > I have an HP DL360 with a pair of 1TB seagate disks that's been > > > running -STABLE with a ZFS root partition set up using the tools > > > available here: > > > > > > http://yds.coolrat.org/zfsboot.shtml > > > > > > It's been working great. As part of trying to understand what's going > > > on, I csup'ed to -RELENG earlier today and rebuilt/installed the > > > kernel and world whilst running on the DL360, so everything should be > > > current. > > > > > > I tried to move the disks into an HP DL320 G4 and it fails to boot > > > because it can't find /dev/mirror/boot (which it wants to mount onto > > > /strap and then parts get nullfs'ed onto /boot and /rescue). It gives > > > me the opportunity to start a shell, and from that shell I can do a > > > zfs mount -a and get all of the zfs filesystems mounted, but there's > > > nothing in /dev/mirror. No gmirror status and list are silent. > > > > > > I can move the disks back into the older machine and they work fine. > > > > > > I've run fdisk -s ad4 and bsdlabel -A /dev/ad4s1a and diffed the > > > output from the two machines and they're identical. > > > > > > I've booted with kern.geom.mirror.debug=2 and the DL320G4 tastes > > > /dev/ad4s1a (along with everything else) but doesn't do anything with > > > it. > > > > > > Any ideas? > > > > > > > [for the archives] > > > > Solved. gmirror had been set up with -h specifying the device, and > > although the newer server used the same device names for its disks > > (ad[46]) it assigned them to different hot swap bays. Once I switched > > the disks everything came up fine. > > > > g. > > Wouldn't it be more feasible in this situation to just glabel the disks > and mount them from /dev//