help on metadb

Hi All,

Please help me on metastat and metadb. I don't where do start on doing queries on all these solaris 8 disk. Give me an idea and I will do the rest?

What's the command for verifying raid 1 or 5? Verify what's the adapter (scsi or san)?

Thanks in advance,
itik

i don't understand the problem... for basics about slvm read the docs from sun!

Solaris Volume Manager Administration Guide

Are you trying to create a RAID or toubleshoot a disk failure? You sound urgent..?:confused:

metastat and metadb is in come under RAID levels.
Defferent Raid levels are there.
Raid 0 concantetion&stripping
Raid 1 mirroring
Raid 0+1 con+mirroring
Raid 1+0 mirroring+concan
Raid 5 stripping vth parity

Once if you want creat raid levels you should configure state database.
State database is notting but "it contain's the hole raid configuration and informarion" itz called statdatabase.
we can create with metadb cmd.
#metadb -a -f silce

to create raid 0

#metainit d0 2 1 <c0t0d0s4> 1 <c0t1d0s3> concantation
#metainit d0 1 2 <c0t0d0s4> <c0t1d0s3> stripping

above both are raid 0 configuration.here c0t0d0s4 itz a ur required slice or drive or disk.

Raid 5 configuration

#metainit -r5 c0t0d3s3 c0t0d2s3 c0t0d1s3
here r is raid 5

Arjun Reddy

Thanks Guys, more power.

I will have a question regarding breaking a mirror and putting it back. And how to make sure to boot on the first copy of the mirror.

On another thread.

small mistake

#metainit d0 -r <slice1> <slice2> <slice3> raid 5 configuration.