On Sat, Jul 09, 2005 at 05:36:43PM +0100, Chris Hodgins wrote: > On 7/9/05, Danny Howard <[EMAIL PROTECTED]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
