From: tru64man@my-deja.com
Subject: Re: I need cheering up please
Date: Fri, 08 Dec 2000 15:31:28 GMT [thread overview]
Message-ID: <90qush$ju0$1@nnrp1.deja.com> (raw)
In-Reply-To: 90qu5d$j9i$1@nnrp1.deja.com
Thanks for the "tap on my sholder". I'm new at this and the guy that
showed me this wizzed right through it going a hundred miles an hour.
The guy I'm working for is, in my opinion, the "Mozart" in LSM and I'm
just a guy that came in with unix knowledge but no LSM knowledge.
Tman...
In article <90qu5d$j9i$1@nnrp1.deja.com>,
waco_johnny_d@my-deja.com wrote:
> 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/V40
D_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.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
next prev parent reply other threads:[~2000-12-08 15:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-08 1:34 I need cheering up please tru64man
2000-12-08 15:19 ` waco_johnny_d
2000-12-08 15:31 ` tru64man [this message]
2000-12-08 16:20 ` Marble Head
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox