how to delete RAID of solaris volume manager thru command line


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users how to delete RAID of solaris volume manager thru command line
# 1  
Old 12-13-2006
Power how to delete RAID of solaris volume manager thru command line

how do I remove raid that has the following Raid configuration

# metastat
d60: Mirror
Submirror 0: d61
State: Okay
Submirror 1: d62
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 36501312 blocks (17 GB)

d61: Submirror of d60
State: Okay
Size: 36501312 blocks (17 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s6 0 No Okay Yes


d62: Submirror of d60
State: Okay
Size: 36501312 blocks (17 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s6 0 No Okay Yes


d50: Mirror
Submirror 0: d51
State: Okay
Submirror 1: d52
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 40968576 blocks (19 GB)

d51: Submirror of d50
State: Okay
Size: 40968576 blocks (19 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s5 0 No Okay Yes


d52: Submirror of d50
State: Okay
Size: 40968576 blocks (19 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s5 0 No Okay Yes


d40: Mirror
Submirror 0: d41
State: Okay
Submirror 1: d42
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d41: Submirror of d40
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s4 0 No Okay Yes


d42: Submirror of d40
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s4 0 No Okay Yes


d30: Mirror
Submirror 0: d31
State: Okay
Submirror 1: d32
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 48010368 blocks (22 GB)

d31: Submirror of d30
State: Okay
Size: 48010368 blocks (22 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s3 0 No Okay Yes


d32: Submirror of d30
State: Okay
Size: 48010368 blocks (22 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s3 0 No Okay Yes


d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d11: Submirror of d10
State: Needs maintenance
Invoke: metareplace d10 c1t0d0s1 <new device>
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s1 0 No Maintenance Yes


d12: Submirror of d10
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s1 0 No Okay Yes


d0: Mirror
Submirror 0: d1
State: Okay
Submirror 1: d2
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 5942784 blocks (2.8 GB)

d1: Submirror of d0
State: Okay Smilie
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s0 0 No Okay Yes


d2: Submirror of d0
State: Okay
Size: 5942784 blocks (2.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t8d0s0 0 No Okay Yes


Device Relocation Information:
Device Reloc Device ID
c1t8d0 Yes id1,ssd@n500000e010c27100
c1t0d0 Yes id1,ssd@n20000004cfb4c983

thanks in advance

Jaya
# 2  
Old 12-13-2006
use metadetach to break the mirror, then use metaclear to remove the metadevice.
Code:
metadetach d60 d62
metaclear d62

If you want to delete all metadevices you can use
Code:
metaclear -a


Last edited by Tornado; 12-13-2006 at 05:48 PM..
Tornado
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to change raid layouts in veritas volume manager?

We have three disks under Raid 5. What should i do to make them Raid 0(striping)..... I mean how to change RAID layouts in VXVM ??? Please tell me with commands ..... Thanks in Advance. (0 Replies)
Discussion started by: vamshigvk475
0 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Solaris Volume manager

Hi Friends, I have to migrate my raid-1 volume to raid -5 online. Can anyone please help me, If possible then send me the step by step commands for online migration. Thanks in advance. (2 Replies)
Discussion started by: rajaramrnb
2 Replies

4. Solaris

Solaris Volume Manager

Hello All, I have small doubt. It's related to SVM in solaris 10. I have created raid 0 (striping) using 3 slices of 500 MB size (default interlace value as 32KB) d2: Concat/Stripe ---- Interlace value is 32 KB Size: 2923830 blocks (1.4 GB) Stripe 0: (interlace: 64 blocks) Device Start... (1 Reply)
Discussion started by: vaibhav.kanchan
1 Replies

5. Solaris

What is the command to see the veritas volume manager 3.0.4 license..in solaris 8?

what is the command to see the veritas volume manager 3.0.4 license..in solaris 8.I wnat to see the license number (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies

6. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

7. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

8. UNIX for Advanced & Expert Users

script to Monitor raid staus --Sun Volume manager

We use Sun Volume manager to mirror root disks and other local disks... Is there any script to monitor raid status across all machines send output thru email? Help is appreciated. Thanks. (1 Reply)
Discussion started by: sriny
1 Replies

9. Solaris

Disk Mirror in Solaris 9 via Solaris Volume Manager

Hello, I am trying to do mirror in solaris 9. I have total 0-7 disks 4 5 6 7 0 1 2 3 Drive 0 and Drive 4 = Boot Drives Need to Mirror following drives. Drive 1 and Drive 5 = Need to mirror Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5. Then i... (3 Replies)
Discussion started by: deal732
3 Replies
Login or Register to Ask a Question