Unix Technical Forum

How to break a mirror?

This is a discussion on How to break a mirror? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I have some bad disks on (d20: Submirror of d30). How do I detach that mirror? Thanks! [root@beta-norm01:/etc]# metastat ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 09:54 AM
kaka.hui@gmail.com
 
Posts: n/a
Default How to break a mirror?

I have some bad disks on (d20: Submirror of d30). How do I detach that
mirror? Thanks!

[root@beta-norm01:/etc]# metastat
d30: Mirror
Submirror 0: d10
State: Needs maintenance
Submirror 1: d20
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 573315840 blocks

d10: Submirror of d30
State: Needs maintenance
Invoke: metareplace d30 c1t34d0s6 <new device>
Size: 573315840 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t32d0s6 0 No Maintenance
c1t33d0s6 10176 No Maintenance
c1t34d0s6 10176 No Maintenance
c1t35d0s6 10176 No Maintenance


d20: Submirror of d30
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d30 c1t38d0s6 <new device>
Size: 573315840 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t36d0s6 0 No Last Erred
c1t37d0s6 10176 No Okay
c1t38d0s6 10176 No Last Erred
c1t39d0s6 10176 No Last Erred

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 09:54 AM
0la 0.
 
Posts: n/a
Default Re: How to break a mirror?

kaka.hui@gmail.com wrote:
> I have some bad disks on (d20: Submirror of d30). How do I detach that
> mirror? Thanks!
>


man metadetach
metadetach mirror submirror
metadetach d30 d20

/00
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com