From owner-freebsd-questions Fri Oct 26 20:50: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 86FE337B409 for ; Fri, 26 Oct 2001 20:49:27 -0700 (PDT) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 724BD6ACA3; Thu, 25 Oct 2001 09:39:59 +0930 (CST) Date: Thu, 25 Oct 2001 09:39:59 +0930 From: Greg Lehey To: Andrew Shahoff , fallous Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Vinum troubles Message-ID: <20011025093959.C67356@wantadilla.lemis.com> References: <000501c15ce6$a3f4d6d0$5355949f@portege3110> <200110242305.f9ON5Us44267@web.sitecontent.com> <000501c15ce6$a3f4d6d0$5355949f@portege3110> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000501c15ce6$a3f4d6d0$5355949f@portege3110>; from andrew@ardi.lv on Thu, Oct 25, 2001 at 01:50:15AM +0200 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday, 25 October 2001 at 1:50:15 +0200, Andrew Shahoff wrote: > I have 3 HDD , > first one SCSI as system drive ( da0s1* ) and two 20GB IDE drives formates > as ad0s1h and ad2s1h ). I need mirror only IDE but > > vi mirror.conf > > drive a device /dev/ad0s1h > drive b device /dev/ad2s1h > > volume mirror setupstate > plex org concat > sd length 0 drive a > plex org concat > sd length 0 drive b > > and ooooops... :( > > 1: drive a device /dev/ad0s1h > ** 1 : Invalid argument > 2: drive b device /dev/ad2s1h > ** 2 : Invalid argument What kind of partition are these? They should be of type vinum. What does disklabel /dev/ad0s1 say? On Wednesday, 24 October 2001 at 16:05:30 -0700, fallous wrote: > you need to man vinum and actually look at what you're doing > regarding length. What does this have to do with length?NN > here's an example of my vinum.conf, which is 2 drives striped with > no mirroring > > drive a device /dev/da1e > drive b device /dev/da2e > > volume stripec > plex org striped 512b This should not be a power of 2. That will slow down inode operations. > sd length 17500m drive a > sd length 17500m drive b Apart from that, the config file looks fine. So does Andrew's. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message