Date: Mon, 6 Jun 2005 16:34:49 +0200 From: "Conrad Burger" <conrad.burger@swistgroup.com> To: <freebsd-geom@freebsd.org> Subject: RE: Gmirror - need information and help Message-ID: <88B5DDE8C1A06741B754B910DE2DEFBB49A91C@HERMES.swistgroup.com>
next in thread | raw e-mail | index | archive | help
************************************************************ Click here to view our e-mail legal notice: http://www.swistgroup.com/email.htm or call: +27 21 888 7920 ************************************************************ Thanks for the reply. Just figured out "gmirror forget gm0" removes all the old "config stuff" and puts the mirror in "COMPLETE" mode. System1's mirror is happy and system2's mirror is busy syncing. Now if someone could just help me get pgcluster 1.3 running I would be as happy as a pig in mud, but that's for a different mailing list. And Ken thanks for the time and effort... Cheers Conrad -----Original Message----- From: owner-freebsd-geom@freebsd.org [mailto:owner-freebsd-geom@freebsd.org] On Behalf Of Ken Gunderson Sent: 06 June 2005 04:22 PM To: freebsd-geom@freebsd.org Subject: Re: Gmirror - need information and help On Mon, 6 Jun 2005 12:39:30 +0200 "Conrad Burger" <conrad.burger@swistgroup.com> wrote: > Hi all > > Hope someone can help me with the following problem(s). > > The scenario: 2 system and 5 disks. Freebsd 5.3-p5 > > I created a 3 member gmirror mirror on system1. > Removed one member(disk) from system1. (Shut the system and removed disk) > Then inserted the disk in system2 and booted the system. > > Now the problem is: on system1 I have a "2 member gmirror" and on system2 I have > a "1 member gmirror. And I can't add more members to the gmirror on system2. > > System1's gmirror is in a degraded state. How do I "tell" gmirror to remove the > "removed disk" from its configuration and change its state to COMPLETE? > > What do I need to do to be able to add a member to System2's gmirror? > > Below are the output of how I tried to add another member to system2's gmirror > and the output of "gmirror list" on both systems. > > Please help, I have been struggling with this problem for the last week. The > systems need to go into production! "man gmirror" should give you most of what you need.... Basically you need to tell system1 to "forget" about the provider you removed and you need to clear the metadata on that disk. The metadata is written at the end of the disk. diskinfo -v should tell you how many sectors you need to skip, e.g.: dd if=/dev/zero of=/dev/whatever bs=512 count=100 skip=99 less than the number of sectors diskinfo -v returns. Or maybe just put the disk backinto system1 and do a "gmirror clear" this time before you remove it...;-) -- Best regards, Ken Gunderson Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? _______________________________________________ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88B5DDE8C1A06741B754B910DE2DEFBB49A91C>
