Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 09:27:58 -0700
From:      Stephen Hock <shock@cs.ucr.edu>
To:        Chris Hodgins <christopher.hodgins@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: gmirror, sparc and SCSI problems
Message-ID:  <B1D26906-D473-4CF4-8E43-37EDAB588563@cs.ucr.edu>
In-Reply-To: <63c3899e05070909363077ca9c@mail.gmail.com>
References:  <63c3899e05070807487e0891de@mail.gmail.com> <20050708233854.GA64117@ratchet.nebcorp.com> <63c3899e05070909363077ca9c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1D26906-D473-4CF4-8E43-37EDAB588563>