From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "MacDonell, Dennis" Newsgroups: gmane.os.tru64.managers Subject: creating a raid5 layout in an lsm volume. Date: Tue, 04 Feb 2003 16:38:38 +1100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <53273E187450D311ACF6009027927B1202EB600C@smtpgate.auslig.gov.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1044337050 8044 80.91.224.249 (4 Feb 2003 05:37:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2003 05:37:30 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18fvlj-00024s-00 for ; Tue, 04 Feb 2003 06:37:15 +0100 Original-Received: (qmail 8906 invoked by uid 5); 4 Feb 2003 05:39:02 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8892 invoked by uid 49493); 4 Feb 2003 05:39:02 -0000 Original-Received: from DennisMacDonell@auslig.gov.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.7/5.0):. Processed in 0.382104 secs); 04 Feb 2003 05:39:02 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 4 Feb 2003 05:39:01 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R003ERROZKM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 04 Feb 2003 00:39:01 -0500 (EST) Original-Received: from mailhost.auslig.gov.au (mailhost.auslig.gov.au [143.174.16.7]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9R00603RONT2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 04 Feb 2003 00:38:49 -0500 (EST) Original-Received: from ausligmail1.auslig.gov.au (smtpgate.auslig.gov.au [143.174.18.245]) by mailhost.auslig.gov.au (8.12.2/8.12.2) with ESMTP id h145cjSJ004329 for ; Tue, 04 Feb 2003 16:38:45 +1100 (EST) Original-Received: by smtpgate.auslig.gov.au with Internet Mail Service (5.5.2448.0) id ; Tue, 04 Feb 2003 16:38:48 +1100 Content-return: allowed Original-To: 'Alpha tru64 managers' X-Mailer: Internet Mail Service (5.5.2448.0) Xref: main.gmane.org gmane.os.tru64.managers:3203 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3203 Hi, I didn't realise it but it would appear that you can create a software raid5 (ie a stripe set with a parity check block) using lsm. The server I want to set this up on is a DS20E with some smallish amount of disk around 200gb all up. The OS is Tru64 V5.0A. I'm in the process of re-creating an lsm volume that only had striping and was thinking that a raid5 volume might be the way to go. From preliminary reading it would appear that one has to use volmake and subdisks to arrive at raid5. Currently when I create a strip set I just (a) setup a disk for lsm using "voldisksetup -i $DISK privlen=1024 nconfig=1 nlogs=1" (b) initialize the diskgroup with "voldg init $DG $DISK", or (c) add the disk to the diskgroup with "voldg -g $DG adddisk $DISK=$DISK" (d) then use volassist the make the volume after working out how big the thing is "volassist -g $DG make $VOL ${DGSIZE}k", My idea is to have a suite of the same size disks, ie 36gb, or 72gb, and use each disk as a separate column. My guess then is that all I have to do is before (d) above do a "volprint -A" to find out what the plex and sub-disks have been called by vold. Then use volmake instead of volassist to create a raid5 layout using as the number of columns the number of disks. As for the stripe width, I'm not sure what one should setup, by default it will select 16K, which I guess should be efficient. Also it would appear that one should have a log plex. Not sure what is involved there, are there any restrictions on the size of this plex, can one just carve out a bit of disk space from somewhere on the system. Would someone be kind enough to put me straight on how to set this up. Dennis