[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[s-x86] Re: Anyone used DiskSuite 4.2
Well, if you want some more specific advise and commands to run you can try
these out.
>From: Peter Mwaniki ~ <pmwaniki@xxxxxxxxxxxxxxxxxx>
>Date: Fri, 4 Feb 100 10:39:23 -0800 (PST)
>
>Reinhold,
>
>I was hoping for something that will allow me to go to town right away. It's
purely a bandwidth issue
>
>For instance, I could get started with the disks on the "server" ie. local to
the system vs on the Fibre
>arrays, and create metadb, that way, I suppose I do not fragment the disks
inside the arrays. I have six
>drives on the local system, so I could create eight 10m slices there for the
metadb. The balance could be
Your metadb slices don't have to be that large. One or two MB is normally
enough, depending on the number of copies you put on each slice. I normally put
three copies on each slice. With six disks you really only need 1 copy. I also
would not put the metadbs on the external disks. Just keep them on the local
disks. Check the section on 'Configuration Guidelines' in the 'Solstice
DiskSuite 4.2 Reference Guide' for more information on how many db's you need
and were you should put them.
The command to initialize the database (with 3 copies per slice) is:
metadb -f -c 3 -a slice1 slice2 slice3 slice4
The slice{1,2,3,4} should be something like c1t1d0s2 or /dev/dsk/c1t1d0s2
>put into good use by making raw swap partitions on all eight disks. I've 4gig
RAM. so, I'm looking for ~8gig.
>min swap.
>
I think a swap partition/slice has a maximum size of 4GB. So you can't create
a large strip and then add that as a the swap device. You will have to create
mulitiple slices of 4GB and add the extra ones in manually (see the swap(1M)
command). Of course I could be wrong about the 4GB limit.
>Once the above is done, I could use the "metadb" to create the replicas of
metadevice state database as-
>
> metadb <options > slice1 slice2 slice3 ... slicen
>
>? Any disadvantage in creating the database this way, should be they inside the
high speed FC storage?
>Any special option or hints?
>
As I said above, I would not place them on the external device. Performance
isn't really an issue, since they just maintain some state information.
>After this, I have the FC disks as a single disk, would like to use the whole
disk ( all are same )
>say, I use slice 7 and define it end to end, and take, for instance 50 of them
( each ~10g ) to create
>a single filesystem. Key cosiderations being performance and ability to create
large filesystems, as long
>as I can pull out my results after my jobs complete, I do not care for anything
else.
>
>Now, what is the best way to create these matadevices? stripped, concat ...
further, if I have a metadevice
>md10 md20 md30 md40, can I at times make them a single large NFS? How do I do
that?
>
Well if you want RAID 5 you put something like this in the file:
/etc/opt/SUNWmd/md.tab
d0 -r c1t0d0s0 c1t1d0s0 c1t2d0s0 ... -i 128k
then run the commands:
metainit d5
newfs /dev/md/rdsk/d5
and wait (newfs on a 1TB filesystem will take a long time. At least use a
larger value for the -i parameter than the standard 2048. see the newfs(1m) man
page).
If you want a stipe (ie. RAID 1) use this:
d0 1 n c1t0d0s0 c1t1d0s0 c1t2d0s0 ... -i 128k (n=number of slices)
With the large filesystem you might want to use a log device. For that
desiginate one disk (or two and mirror them) for the log (trans device). The
log will help speed up reboots (if the filesystem was not unmounted correctly)
and also syncronous writes. It will also help if you have and NFS v2 clients.
The Solaris 7 logging option for the mount command can also help with reboots if
you don't create a dedicated log device.
The mirror is setup like this:
d11 1 1 c1t0d0s0
d21 1 1 c1t1d0s0
d1 -m d11
Then run the commands:
metainit -f d11
metainit d21
metainit d1
metaattach d1 d21
To set d1 as a log for d0:
d2 -t d0 d1
Then run the command:
metainit d2
and mount the filesystem (by the way you now mount the d2 device not d0).
>I'm aware, I could do- metainit ... slice1 slice2 slice3 ... slicen to create
md10. Could you provide me
>a specific examples you have used in your experiences.
>
>A commandline like-
>
>1. create metadb
> example ...
>
>2. create metadevice
> example ...
>
>3. put a number of metadevices into a single NFS
> example ...
>
>4. newfs
> example ... ( what device ? )
>
>Thanks once again.
>
>-Peter Mwaniki
>
>
=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=
Andrew Chan Home Work
E-Mail: achan@xxxxxxxxxxxxxxxxxxxxxxxx achan@xxxxxxxxxxxxxxxxxx
Phone: (416) 929-8794 (416) 392-8755
Fax: (416) 968-7948 (416) 392-4501
=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=~=-=
------------------------------------------------------------------------
Shop for your Valentine at eGroups!
http://click.egroups.com/1/1149/3/_/3702/_/949700360/
-- 20 megs of disk space in your group's Document Vault
-- http://www.egroups.com/docvault/solarisonintel/?m=1