Date: Mon, 28 Jan 2002 09:57:58 +1030 From: Greg Lehey <grog@FreeBSD.org> To: Martin Blapp <mb@imp.ch> Cc: freebsd-stable@FreeBSD.org, tmm@FreeBSD.org Subject: Re: double fault with vinum and 4.5 RC3 Message-ID: <20020128095758.H72512@wantadilla.lemis.com> In-Reply-To: <20020127132210.Y67380-100000@levais.imp.ch> References: <20020127142643.A19909@wantadilla.lemis.com> <20020127132210.Y67380-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 27 January 2002 at 13:40:29 +0100, Martin Blapp wrote: > > Greg, > >> As I've mentioned elsewhere, this is seriously suboptimal. The >> "mirror" command is a toy for people getting used to Vinum. You want >> a proper config file. Then create one drive per spindle, and choose >> your subdisk sizes to match what you want. Specifically, your config >> file should look like this: >> >> drive 0 device /dev/da0e >> drive 1 device /dev/da1e >> volume var setupstate >> plex org concat >> sd drive 0 len 2096000s >> plex org concat >> sd drive 1 len 2096000s >> volume docsis setupstate >> plex org concat >> sd drive 0 len 1257000s >> plex org concat >> sd drive 1 len 1257000s >> volume docsisvar setupstate >> plex org concat >> sd drive 0 len 4651000s >> plex org concat >> sd drive 1 len 4651000s > > Is this really mirrored ? I want a mirror, not a concatenated drive ! > I want RAID 1. You obviously haven't understood the documentation. > And - this isn't very optimal for a user to create. > > I do not want to calculate the sd offset size. You have to know how big your drives are. The method you use requires repartitioning the drive. You can't do that while any partition is open, but you do need to calculate the values. > IMHO there should be a way for vinum to add this dynamically > like: > > vinum sd-add -d 0 -n var -l 1GB > vinum sd-add -d 0 -n docsis -l 6GB > vinum sd-add -d 0 -n docsisvar -l end Well, apart from the obvious missing information here, what's the difference? The difference is the possibility of race conditions that this alternative adds. > A program under unix does not have to be very cryptic, it also has > to be userfriendly. I think your version there is more cryptic. "-n" presumably means "name". "-d 0" presumably means "drive". Greg -- See complete headers for address and phone numbers 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?20020128095758.H72512>