From owner-freebsd-questions Wed May 2 16:19:34 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 270CC37B422 for ; Wed, 2 May 2001 16:19:28 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4D5916ACB8; Thu, 3 May 2001 08:49:22 +0930 (CST) Date: Thu, 3 May 2001 08:49:22 +0930 From: Greg Lehey To: Brian Skrab Cc: freebsd-questions@freebsd.org Subject: Re: Vinum & FreeBDS 4.3-stable??? Message-ID: <20010503084922.B72846@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bgs@pinky.us.net on Wed, May 02, 2001 at 03:13:26PM -0400 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 2 May 2001 at 15:13:26 -0400, Brian Skrab wrote: > Hello, > > I recently moved into a nice new Athlon 800Mhz motherboard and > decided to start with a fresh install of FreeBSD 4.2->4.3-stable. > With all the spring cleaning going on, I decided to re-create my > Vinum RAID5 volume for completeness. I have 3 20GB IDE drives > plugged into the two IDE controllers on the motherboard and have > been attempting to use the following configuration to build a stable > RAID5 volume: > > ----- vinum.config > drive d1 device /dev/ad0s1e > drive d3 device /dev/ad2s1e > drive d2 device /dev/ad3s1e > volume raid > plex name raid.p0 org raid5 512s vol raid You don't want to use a stripe size which is a power of 2. That's described in the man pages, of course. > sd name raid.p0.s0 drive d1 plex raid.p0 len 39880704s driveoffset 265s plexoffset 0s > sd name raid.p0.s1 drive d2 plex raid.p0 len 39880704s driveoffset 265s plexoffset 512s > sd name raid.p0.s2 drive d3 plex raid.p0 len 39880704s driveoffset 265s plexoffset 1024s > ----- > > I run 'vinum create -f vinum.config', then 'vinum init raid.p0'. > After the subdisks have completed initialization, I run > 'newfs -v /dev/vinum/raid' which succeeds. Immediately afterwards, > running 'fsck -y' results in hundreds of errors reading: Strange. > Finally, I stop and start vinum, then mount the volume. Everything > appears to work. I can put files on the volume, and navigate thru > any directory structures I create, but when I read files from the > volume, I receive corrupted data. This is especially evident in > .tar.gz archives which spit archive errors when reading the archive > contents. Well, there's obviously something very wrong. > Is there a problem with my configuration? I don't know. > Any optimization recommendations are welcome. This configuration > did work with a 4.2-stable system before I moved to the new > motherboard. Is there some difference between vinum on 4.2 and 4.3 > that might cause a situation like this? None that I know of. > Any advice will be greatly appreciated. How about reading http://www.vinumvm.org/vinum/how-to-debug.html and giving me the information I ask for there. 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 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-questions" in the body of the message