Date: Mon, 6 Jun 2005 08:21:55 -0600 From: Ken Gunderson <kgunders@teamcool.net> To: freebsd-geom@freebsd.org Subject: Re: Gmirror - need information and help Message-ID: <20050606082155.449dfbe8.kgunders@teamcool.net> In-Reply-To: <88B5DDE8C1A06741B754B910DE2DEFBB49A915@HERMES.swistgroup.com> References: <88B5DDE8C1A06741B754B910DE2DEFBB49A915@HERMES.swistgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050606082155.449dfbe8.kgunders>