From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,996f231c5ed8e507 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-08 07:33:56 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!portc03.blue.aol.com!howland.erols.net!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: waco_johnny_d@my-deja.com Newsgroups: comp.unix.tru64 Subject: Re: I need cheering up please Date: Fri, 08 Dec 2000 15:19:17 GMT Organization: Deja.com - Before you buy. Message-ID: <90qu5d$j9i$1@nnrp1.deja.com> References: <90pdr0$fib$1@nnrp1.deja.com> NNTP-Posting-Host: 206.152.163.42 X-Article-Creation-Date: Fri Dec 08 15:19:17 2000 GMT X-Http-User-Agent: Mozilla/4.61 [en] (X11; U; Linux 2.2.5 i586) X-Http-Proxy: 1.0 gateway.zk3.dec.com:8080 (Squid/2.2.STABLE5), 1.0 x71.deja.com:80 (Squid/1.1.22) for client 16.140.48.103, 206.152.163.42 X-MyDeja-Info: XMYDJUIDwaco_johnny_d Xref: supernews.google.com comp.unix.tru64:1097 Hey TMan, It's easy, sorta like riding a bicycle, as long as you already know how! If you understand the concepts of disks, subdisks, plexes, and volumes, you're halfway there. The LSM manual for the V5 stream deleted the appendix full of examples which was part of the V4 manual, so you might want to grab the latter. Things get much easier once you've seen examples. See Appendix C of the following: http://tru64unix.compaq.com/faqs/publications/base_doc/DOCUMENTATION/V40D_HTML/AQ3NCETE/TITLE.HTM There are 2 ways to control LSM: top-down ("gimme some storage and I don't care where it comes from") and bottom-up ("I know what disks and partitions on specific controllers I want to use and I am going to tell you how to use them"). I recommend the latter method in the strongest possible terms. Below is a shell script I used to set up some LSM stripes; maybe it'll help you get started. I'll check back on this thread next week to see if you still need help. WJD list="24 30 36 42 54 60 66 72 90 96 102 108 25 31 37 43 55 61 67 73 91 97 103 109 26 32 56 62 27 33 39 45 57 63 69 75 93 99 105 111 28 34 40 46 58 64 70 76 94 100 106 112 29 35 59 65" # echo ZEROING ALL DISK LABELS... for i in $list; do disklabel -z dsk"$i" done echo WRITING ALL DISK LABELS... for i in $list; do disklabel -wr dsk"$i" HSZ70 done echo FORCING A NEW LSM SETUP... volsetup -o force -n 200 dsk24 dsk30 dsk36 dsk42 dsk54 dsk60 dsk66 dsk72 dsk90 dsk96 dsk102 dsk108 dsk25 dsk31 dsk37 dsk43 dsk55 dsk61 dsk67 dsk73 dsk91 dsk97 dsk103 dsk109 dsk26 dsk32 dsk56 dsk62 dsk27 dsk33 dsk39 dsk45 dsk57 dsk63 dsk69 dsk75 dsk93 dsk99 dsk105 dsk111 dsk28 dsk34 dsk40 dsk46 dsk58 dsk64 dsk70 dsk76 dsk94 dsk100 dsk106 dsk112 dsk29 dsk35 dsk59 dsk65 echo DISPLAYING STATUS... voldg -g rootdg free echo MAKING SUBDISKS... for i in $list; do volmake sd dsk"$i"-sd dsk"$i",0,4194304 done echo MAKING PLEXES FROM THE SUBDISKS... volmake plex stock01-plex layout=stripe stwidth=16 sd=dsk24-sd,dsk30-sd volmake plex iord2-plex layout=stripe stwidth=16 sd=dsk36-sd,dsk42-sd volmake plex stock02-plex layout=stripe stwidth=16 sd=dsk54-sd,dsk60-sd volmake plex ordl01-plex layout=stripe stwidth=16 sd=dsk66-sd,dsk72-sd volmake plex stock03-plex layout=stripe stwidth=16 sd=dsk90-sd,dsk96-sd volmake plex ordl02-plex layout=stripe stwidth=16 sd=dsk102-sd,dsk108-sd volmake plex cust01-plex layout=stripe stwidth=16 sd=dsk25-sd,dsk31-sd volmake plex cust04-plex layout=stripe stwidth=16 sd=dsk37-sd,dsk43-sd volmake plex cust02-plex layout=stripe stwidth=16 sd=dsk55-sd,dsk61-sd volmake plex cust05-plex layout=stripe stwidth=16 sd=dsk67-sd,dsk73-sd volmake plex cust03-plex layout=stripe stwidth=16 sd=dsk91-sd,dsk97-sd volmake plex cust06-plex layout=stripe stwidth=16 sd=dsk103-sd,dsk109-sd volmake plex misc01-plex layout=stripe stwidth=16 sd=dsk26-sd,dsk32-sd volmake plex misc02-plex layout=stripe stwidth=16 sd=dsk56-sd,dsk62-sd volmake plex stock01-backup-plex layout=stripe stwidth=16 sd=dsk27-sd,dsk33-sd volmake plex iord2-backup-plex layout=stripe stwidth=16 sd=dsk39-sd,dsk45-sd volmake plex stock02-backup-plex layout=stripe stwidth=16 sd=dsk57-sd,dsk63-sd volmake plex ordl01-backup-plex layout=stripe stwidth=16 sd=dsk69-sd,dsk75-sd volmake plex stock03-backup-plex layout=stripe stwidth=16 sd=dsk93-sd,dsk99-sd volmake plex ordl02-backup-plex layout=stripe stwidth=16 sd=dsk105-sd,dsk111-sd volmake plex cust01-backup-plex layout=stripe stwidth=16 sd=dsk28-sd,dsk34-sd volmake plex cust04-backup-plex layout=stripe stwidth=16 sd=dsk40-sd,dsk46-sd volmake plex cust02-backup-plex layout=stripe stwidth=16 sd=dsk58-sd,dsk64-sd volmake plex cust05-backup-plex layout=stripe stwidth=16 sd=dsk70-sd,dsk76-sd volmake plex cust03-backup-plex layout=stripe stwidth=16 sd=dsk94-sd,dsk100-sd volmake plex cust06-backup-plex layout=stripe stwidth=16 sd=dsk106-sd,dsk112-sd volmake plex misc01-backup-plex layout=stripe stwidth=16 sd=dsk29-sd,dsk35-sd volmake plex misc02-backup-plex layout=stripe stwidth=16 sd=dsk59-sd,dsk65-sd echo MAKING VOLUMES FROM THE SUBDISKS... volmake vol V0 usetype=gen plex=stock01-plex volmake vol V9 usetype=gen plex=iord2-plex volmake vol V1 usetype=gen plex=stock02-plex volmake vol V10 usetype=gen plex=ordl01-plex volmake vol V2 usetype=gen plex=stock03-plex volmake vol V11 usetype=gen plex=ordl02-plex volmake vol V3 usetype=gen plex=cust01-plex volmake vol V6 usetype=gen plex=cust04-plex volmake vol V4 usetype=gen plex=cust02-plex volmake vol V7 usetype=gen plex=cust05-plex volmake vol V5 usetype=gen plex=cust03-plex volmake vol V8 usetype=gen plex=cust06-plex volmake vol V12 usetype=gen plex=misc01-plex volmake vol V13 usetype=gen plex=misc02-plex volmake vol V100 usetype=gen plex=stock01-backup-plex volmake vol V109 usetype=gen plex=iord2-backup-plex volmake vol V101 usetype=gen plex=stock02-backup-plex volmake vol V110 usetype=gen plex=ordl01-backup-plex volmake vol V102 usetype=gen plex=stock03-backup-plex volmake vol V111 usetype=gen plex=ordl02-backup-plex volmake vol V103 usetype=gen plex=cust01-backup-plex volmake vol V106 usetype=gen plex=cust04-backup-plex volmake vol V104 usetype=gen plex=cust02-backup-plex volmake vol V107 usetype=gen plex=cust05-backup-plex volmake vol V105 usetype=gen plex=cust03-backup-plex volmake vol V108 usetype=gen plex=cust06-backup-plex volmake vol V112 usetype=gen plex=misc01-backup-plex volmake vol V13 usetype=gen plex=misc02-backup-plex echo STARTING THE VOLUMES... vollist="V0 V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V101 V102 V103 V104 V105 V106 V107 V108 V109 V110 V111 V112 V113" for v in vollist; do volume start "$v" done echo PRINT RESULTS... volprint -htv Sent via Deja.com http://www.deja.com/ Before you buy.