From owner-freebsd-current Sun Dec 26 19: 5:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 1429914F7C for ; Sun, 26 Dec 1999 19:05:43 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA42808; Mon, 27 Dec 1999 13:35:08 +1030 (CST) Date: Mon, 27 Dec 1999 13:35:07 +1030 From: Greg Lehey To: Gary Palmer Cc: current@freebsd.org Subject: Re: ``how to'' for Vinum and mirroring after the volume was created? Message-ID: <19991227133507.X1316@freebie.lemis.com> References: <19991227123124.U1316@freebie.lemis.com> <41935.946261455@noop.colo.erols.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <41935.946261455@noop.colo.erols.net> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 26 December 1999 at 21:24:15 -0500, Gary Palmer wrote: > Greg Lehey wrote in message ID > <19991227123124.U1316@freebie.lemis.com>: >> It occurs to me that it is, in fact, correct to read from a volume >> being revived. The data is consistent up to the point where the >> revive has progressed, so the system can read from this area. > > Why would it be reading from the reviving plex? The volume wasn't > mounted when I was watching the stats, so the only i/o should have > been the revive. (Yes, I'm paranoid :) ) Again, news for me. You can stop a revive and restart it at a later time; the state information includes the revive pointer. But the only real answer to this one would be to see the statistics. >> Hmm. This looks too VERITAS-like for my liking. In addition, this >> isn't a flag. Internally it's represented as a plex index, with -1 >> meaning "round robin". > > Aaah. That makes sense. > >> I've tried to keep away from this sort of stuff. > > Unfortunately a beast as complicated as a LVM has to have the ability > to change the way it works on the fly. You misunderstand. I've tried to stay away from the complexity of the VERITAS syntax. Sure, I agree that being able to reconfigure on the fly is important. >> The second example is supposed to set round robin. I don't like that >> syntax either. Maybe the second example should be just >> >> vinum prefer volfoo. > > vinum prefer volfoo none > > That runs into problems with people calling plexes `none', but in that > case they get what they deserve ;) Right, that's the down side. I suppose we could include the alternative of a plex index in the syntax. > vinum prefer volfoo "" > > There is some precedent for the null string being used for stuff like > this. I can't think of them offhand, but some unix programs take that > sort of flag. Right, but it's confusing for people new to UNIX. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message