Date: Fri, 25 Jan 2002 13:59:32 +0100 (CET) From: Martin Blapp <mb@imp.ch> To: Greg Lehey <grog@FreeBSD.org> Cc: <freebsd-stable@FreeBSD.org> Subject: Re: double fault with vinum and 4.5 RC3 Message-ID: <20020125134718.I58067-100000@levais.imp.ch> In-Reply-To: <20020125131225.E4778@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I've found now a way to work around this vinum limitation. It seems that a vinum mirror is not able to handle this case: Crash of the "Master disk", "Slave Disk becomes Master instead, and we boot the Slave Disk as Master. I had to do the following steps: 1) Reboot 1) Change SCSI ID's. ID1 > ID2, ID2 > ID1 3) Boot up the previous SLAVE disk into SUM 4) Partition da1 the same as da0 5) Disklabel da1 the same way as da0 6) dd bs=4096k if=/dev/da0a of=/dev/da1a 7) reboot 8) Change SCSI ID's. ID2 > ID1, ID1 > ID2 9) Boot up the previous SLAVE disk into SUM 10) echo "drive vinumdrive0 device /dev/da0e" > configfile echo "drive vinumdrive2 device /dev/da0f" >> configfile echo "drive vinumdrive4 device /dev/da0g" >> configfile 11) vinum start 12) vinum start vinumdrive0 13) vinum start vinumdrive2 14) vinum start vinumdrive4 15) vinum stop 16) vinum start var.p0.s0 17) vinum start docsis.p0.s0 18) vinum start docsisvar.p0.s0 And then vinum gets happy and rebuilds. The only difference here is that we have to reboot and change SCSI ID's twice, instead of only one time. Martin Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org> ------------------------------------------------------------------ Improware AG, UNIX solution and service provider Zurlindenstrasse 29, 4133 Pratteln, Switzerland Phone: +41 061 826 93 00: +41 61 826 93 01 PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020125134718.I58067-100000>