From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 3BABF3FD41 for ; Fri, 3 Jan 2003 18:55:35 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h03NtZn05647 for axp-list@listman.redhat.com; Fri, 3 Jan 2003 18:55:35 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h03NtYa05643 for ; Fri, 3 Jan 2003 18:55:34 -0500 Received: from tes-mail.jpl.nasa.gov (tes-mail.jpl.nasa.gov [137.78.33.77]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h03NSDB03312 for ; Fri, 3 Jan 2003 18:28:13 -0500 Received: by tes-mail.jpl.nasa.gov (Postfix, from userid 1001) id B85D96F61; Fri, 3 Jan 2003 15:55:33 -0800 (PST) To: axp-list@redhat.com Subject: Re: raid 1 and nfs Message-Id: <20030103235533.B85D96F61@tes-mail.jpl.nasa.gov> Date: Fri, 3 Jan 2003 15:55:33 -0800 (PST) From: chu@tes-mail.jpl.nasa.gov (Eugene Chu) X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I have had no trouble NFS exporting RAID 1 or RAID 5 sets from Linux systems, Alpha or P4. However, I would like to voice some thoughts on software RAID. I think RAID 5 is more efficient than RAID 1 as far as disk usage for protecting data, but RAID 1 will be much more efficient as far as CPU usage; implementing RAID 5 in software tends to use a lot of CPU while RAID 1 requires very little CPU. My previous experience was with Veritas on Sun/SPARC systems: A RAID 5 using a Sun A5000 FC array ran about as fast as a single fast SCSI drive, while sucking up a lot of CPU time for any file transaction. The only thing it bought me was the parity protection (and the Veritas logical volume manager allowed me to dynamically grow or shrink a volume). I know that Alphas and P4s are much faster than SPARCs, but in general, calculating all the parity data will take up a lot of CPU cycles, varying with the level of NFS activity, which can already present quite a bit of overhead. For this reason, I still perfer hardware based RAID systems. In particular, I have recently acquired a 3ware RAID card that uses ATA drives. The cost of the card and four 200GB drives was actually about the same as ONE 140GB SCSI drive. Unfortunately, they do not have drivers for Linux/Alpha. But this appears to be a very popular option for Linux based NFS servers. 3ware has a card that handles 16 drives, so in a RAID 5 configuration, you use 1 as parity and 15 for data, which gives you about 3 TB capacity on one card using 200 GB drives. A typical P4/2GHz system can make use of 2 such RAID sets before reaching bus saturation. So you can get a 6 TB NFS server in about 8 rack units, for about $35,000, depending on your vendor. eyc >From: James Fowler >Subject: Re: raid 1 and nfs > >I use raid5 and have it shared over NFS to a number of machines. I >don't have really heavy network usage, but it seems to work just fine >for me. I use it inconjuction with my alpha. It has my mail and Home >dirs on it, plus some other stuff. So YMMV, but it works for me. > >James > >On Fri, 3 Jan 2003, Nelson Brito wrote: > >> I want to build a file server (with nfs) and i'd like >> to use raid to mirror the disks (raid 1), but i read >> somewhere that this was not a very good ideia (use nfs >> on top of raid) is this true or it was just something >> that i misunderstood (i can't find the document anymore)? >> >> regards, nelson