From owner-freebsd-stable@FreeBSD.ORG Tue Jul 19 16:28:06 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54B5916A41F for ; Tue, 19 Jul 2005 16:28:06 +0000 (GMT) (envelope-from shock@cs.ucr.edu) Received: from barrichello.cs.ucr.edu (barrichello.cs.ucr.edu [138.23.169.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CA9643D53 for ; Tue, 19 Jul 2005 16:28:06 +0000 (GMT) (envelope-from shock@cs.ucr.edu) Received: from localhost (localhost.localdomain [127.0.0.1]) by barrichello.cs.ucr.edu (Postfix) with ESMTP id 08E8B1240F4; Tue, 19 Jul 2005 15:59:17 +0000 (America/Los_Angeles) Received: from barrichello.cs.ucr.edu ([127.0.0.1]) by localhost (barrichello.cs.ucr.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14137-03; Tue, 19 Jul 2005 08:59:11 -0700 (PDT) Received: from [10.10.238.88] (wg03.ucr.edu [138.23.2.196]) by barrichello.cs.ucr.edu (Postfix) with ESMTP id E7BB3124078; Tue, 19 Jul 2005 15:59:10 +0000 (America/Los_Angeles) In-Reply-To: <63c3899e05070909363077ca9c@mail.gmail.com> References: <63c3899e05070807487e0891de@mail.gmail.com> <20050708233854.GA64117@ratchet.nebcorp.com> <63c3899e05070909363077ca9c@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Stephen Hock Date: Tue, 19 Jul 2005 09:27:58 -0700 To: Chris Hodgins X-Mailer: Apple Mail (2.733) X-Virus-Scanned: amavisd-new at cs.ucr.edu Cc: freebsd-stable@freebsd.org Subject: Re: gmirror, sparc and SCSI problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:28:06 -0000 On Jul 9, 2005, at 9:36 AM, Chris Hodgins wrote: > Danny, > > Thanks for the link. This was actually the first link we tried to get > working and after it failed to work we followed the link on the page > to http://people.freebsd.org/~rse/mirror/. > > Everything worked fine until we arrived at this step below. > # mount /dev/mirror/gm0s1a /mnt > > It seems that gmirror does not give us any partitions. A listing of > the mirror directory shows only the gm0 node even though da0 is > partitioned. When mounting the mirror it seems that /dev/mirror/gm0 > only represents the root partition. How can we get the mirror to > recognise the other partitions? > > Thanks > Chris > _______________________________________________ > Chris, Based on my experience, it doesn't work to partition the underlying disk device da0, but rather the mirror device gm0. I've had a lot of success writing out new labels with # bsdlabel -w /dev/mirror/gm0 # bsdlabel -e /dev/mirror/gm0 Editing the partition table by hand is a bummer, but for now, since mirror devices don't show up in fdisk/disklabel tools in /stand/ sysinstall, this is the only way I know of to do it. -Stephen