Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2005 15:24:58 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Chris Hodgins <christopher.hodgins@gmail.com>
Cc:        Danny Howard <dannyman@toldme.com>, freebsd-stable@freebsd.org
Subject:   Re: gmirror, sparc and SCSI problems
Message-ID:  <20050710152458.A63576@newtrinity.zeist.de>
In-Reply-To: <63c3899e05070909363077ca9c@mail.gmail.com>; from christopher.hodgins@gmail.com on Sat, Jul 09, 2005 at 05:36:43PM %2B0100
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 Sat, Jul 09, 2005 at 05:36:43PM +0100, Chris Hodgins wrote:
> On 7/9/05, Danny Howard <dannyman@toldme.com> wrote:
> > On Fri, Jul 08, 2005 at 03:48:52PM +0100, Chris Hodgins wrote:
> > > Hi all,
> > >
> > > Experiencing a few difficulties setting up raid mirroring across two
> > > SCSI disks on a sparc based server.  Disk da0 contains a working and
> > > recent install of FreeBSD 5-4 RELEASE and da1 is blank.  We have been
> > > following the guidance given in the first part of
> > > http://people.freebsd.org/~rse/mirror/ but have hit numerous problems.
> > 
> > Chris,
> > 
> > These instructions are useful if you don't want to boot into recovery
> > console to set things up offline.  You can save a lot of fancy footwork
> > if you have physical access and a CD-ROM, and don't mind about 15
> > minutes of downtime.  My crib sheet is at
> > http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ .
> > 
> > If it does work for you, plesae let me know.  I'd be plased to hear that
> > it can handle Sparc. :)
> > 
> > Sincerely,
> > -danny
> > 
> 
> 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?
> 

Sparc and sparc64 don't use slices so instead of fdisk(8) and
bsdlabel(8) one just uses sunlabel(8) on sparc64. This should
also mean that instead of `mount /dev/mirror/gm0s1a /mnt` one
would use e.g. `mount /dev/mirror/gm0a /mnt` on sparc64.
I don't know though if gmirror(8) needs to be made aware of
this for e.g. `gmirror label` to do the right thing or maybe
already is, i.e.  whether it needs further changes in order to
make it work on sparc64.

Marius




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050710152458.A63576>