Date: Sat, 4 Mar 2006 14:12:10 +0100 From: Joacim Melin <listor@melin.org> To: Joacim Melin <listor@melin.org> Cc: Kris Kennaway <kris@obsecurity.org>, ticso@cicely.de, freebsd-sparc64@freebsd.org Subject: Re: Software raid on Sparc64 Message-ID: <D4151ECA-5EED-44D2-9DF1-8C65BC738A60@melin.org> In-Reply-To: <3A086198-3D98-4088-A116-06A4F2E7F35B@melin.org> References: <E74688C1-D308-486F-8E91-6545487DE4D6@melin.org> <20060303080109.GA81736@xor.obsecurity.org> <C013B6D2-541E-4D00-AE45-2040E3AB218D@melin.org> <20060303112051.GJ79058@cicely12.cicely.de> <3A086198-3D98-4088-A116-06A4F2E7F35B@melin.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Never mind my last email. Figured it out. The box now boots from /dev/mirror/gm0: klingklang# gmirror status Name Status Components mirror/gm0 DEGRADED ad0 So I try to add /dev/ad1 to the raid with this command: klingklang# gmirror insert gm0 /dev/ad1 Not all disks connected. but /dev/ad1 is there! I can prepare it with the dd command: klingklang# dd if=/dev/zero of=/dev/ad1 bs=512 count=79 79+0 records in 79+0 records out 40448 bytes transferred in 0.019480 secs (2076387 bytes/sec) I'm a bit confused. Joacim On 4 mar 2006, at 13.55, Joacim Melin wrote: > Thanks! > > However, there is no loader.conf in /boot. There is one in /boot/ > defaults though. Is that just a template file for a loader.conf or > is that the actual one where I put in geom_mirror_load="YES" ? > > Joacim > > On 3 mar 2006, at 12.20, Bernd Walter wrote: > >> On Fri, Mar 03, 2006 at 09:06:34AM +0100, Joacim Melin wrote: >>> I created the raid, did a dump from my current root (/dev/ad0) to >>> the >>> second drive /dev/ad1). I then take it that the box would start >>> from / >>> dev/ad1 so I could put /dev/ad0 into the raid with gmirror but it >>> just rebooted to /dev/ad0 and the raid, /dev/mirror/gm0, was gone. >> >> You have to put the following into /boot/loader.conf: >> geom_mirror_load="YES" >> If you don't then GEOM won't check for gmirror labels. >> >> And of course put the name of the mirrored partition into fstab. >> If you still have ad0 in the fstab on your boot drive, why should >> the system mount anything else? >> >>> I have a system installed on /dev/ad0 already. I found one howto >>> where you could break out of the install phase and do the gmirror >>> thing but since this box (Netra X1) is headless and only operated >>> via >>> a serial connection I haven't found out how to make that happen. >> >> It is much easier to do a normal installation leaving a few sectors >> unpartitioned space at the end of the drive for the later label and >> then migrate. >> >>>> gmirror should just work, BTW. >> >> At least it does here. >> >> -- >> B.Walter http://www.bwct.de http://www.fizon.de >> bernd@bwct.de info@bwct.de support@fizon.de >> > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64- > unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D4151ECA-5EED-44D2-9DF1-8C65BC738A60>