Meta Devices ( Metadb )


 
Thread Tools Search this Thread
Operating Systems Solaris Meta Devices ( Metadb )
# 1  
Old 12-28-2010
Meta Devices ( Metadb )

Hi All,

I have two disks which has been configured for RAID 1 Already.

I am adding more 6 disks in the system and I am configuring RAID 1 for all.

So in this case should , how should i create a metadb .

Thanks and Regards
Rj
# 2  
Old 12-28-2010
Hello mate,
Please give us #metastat -p
..and tell me what disks you want to stripe across on what controllers..
ta
# 3  
Old 12-29-2010
Hi ,
My metastat ouput is below

Code:
root@IPTOBIS-DB-UAT # metastat -p
d6 -m d16 d26 1
d16 1 1 c1t0d0s6
d26 1 1 c1t1d0s6
d5 -m d15 d25 1
d15 1 1 c1t0d0s5
d25 1 1 c1t1d0s5
d4 -m d14 d24 1
d14 1 1 c1t0d0s4
d24 1 1 c1t1d0s4
d3 -m d13 d23 1
d13 1 1 c1t0d0s3
d23 1 1 c1t1d0s3
d0 -m d10 d20 1
d10 1 1 c1t0d0s0
d20 1 1 c1t1d0s0
d1 -m d11 d21 1
d11 1 1 c1t0d0s1
d21 1 1 c1t1d0s1
d120 -r c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 -k -i 16b
d7 -r c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 -k -i 16b
d110 -r c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 -k -i 16b
d8 -r c1t2d0s1 c1t3d0s1 c1t4d0s1 c1t5d0s1 -k -i 16b
d9 -r c1t2d0s3 c1t3d0s3 c1t4d0s3 c1t5d0s3 -k -i 16b


Here d6,d5,d4,d3,d1,d0 are currently under raid 1. I am removing RAID 5 alone which is on d8,9,7,110,120 and putting RAID 1 for this also.

So while creating Metadb for the new one. How should i create.

Thanks and Regards
Rj

Last edited by DukeNuke2; 01-02-2011 at 09:41 AM..
# 4  
Old 01-02-2011
what I understand from you post above is :

you have 4 more disks deployed as Raid 5, which you want now to be Raid 1 implemented.

For this -

- back up you data on Raid 5, on which ever disks/tape avilable
- delete your raid 5 volume by un-mouting it first : umount /raid5_vol ; metaclear raid5_vol

- with FORMAT utility, make metadb replicas - in your scenario, having two replicas on two slices of each disk, looks good, like below :

metadb -a -f -c2 /dev/rdsk/ctds ........../ctds........../ctds........... . . .

- make new raid 0 volume (stripe/concat) : metainit -f d10 1 1 <...........>
- Similar way, make raid 0 volumes, per ur requirement.
- then attach them to form a mirror.

I hope this helps .
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Metadb

Hi, I have inherited a system with two disks mirrored, and only 1 metadb on each, I have deleted the db on c1t1 and recreated 3 which is fine. But when it comes to c1t0, the metadb -d /dev/dsk/c1t0d0s5 doesnt removed the existing db and the create metadb -a -f -c3 /dev/dsk/c1t0dos5 wont... (0 Replies)
Discussion started by: richard.tarlton
0 Replies

2. Shell Programming and Scripting

Creating metadb

hi all , i need please help with this command i tried to create a metadb in live system , i got this message metadb: fintest: c0t0d0s7: overlaps with c0t0d0s0 which is mounted as '/' any idea of who to do the creation with such problem (3 Replies)
Discussion started by: semaan
3 Replies

3. Solaris

How to create metadb with zpool in Solaris 11

Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes? zpool status pool: rpool1 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool1 ONLINE 0 0 0 c4t1d0s0 ... (10 Replies)
Discussion started by: incredible
10 Replies

4. Solaris

Meta Devices and Mirroring

So I decided to set up Metadevices with Mirroring. When I patch, is it possible just to break the mirror, patch, Reboot. If all is well, then restore the mirror and resync? Is metadevices equipped to resync like that? (7 Replies)
Discussion started by: adelsin
7 Replies

5. Solaris

Creating MetaDB

I'm trying create metadb's. I'm telling them to live on mounted partitions. Is this acceptable? (3 Replies)
Discussion started by: adelsin
3 Replies

6. UNIX for Dummies Questions & Answers

metadb errors

Hi All. Been out of Unix admin work for about 10 years and I just took over a new position... seeing the 'use metadb to delete databases which are broken message' on reboot. The system comes up but I'm not sure what's on this disk that's failing... metadb -i shows: excalibur# metadb... (1 Reply)
Discussion started by: jamie_collins
1 Replies

7. Solaris

solaris with metadb

Hi All, If solaris has metadb services on the disk, it means that it has a HW raid controller. Or what. Thanks in advance. (1 Reply)
Discussion started by: itik
1 Replies

8. Solaris

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 (5 Replies)
Discussion started by: itik
5 Replies

9. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

10. Solaris

Meta Devices

I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies
Login or Register to Ask a Question