LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-25-2006, 10:58 AM   #1
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Rep: Reputation: 15
Solaris 9 SPARC: metatinit Issue


Over the weekend an "air handler failed". Several LDAPs shutdown due to heat.

On the re-start, I was checking the system and upon performing a "metatstat | more" found some issues.

bash-2.05# metastat d0 |more
d0: Mirror
Submirror 0: d10
State: Needs maintenance
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 3769600 blocks (1.8 GB)

d10: Submirror of d0
State: Needs maintenance
Invoke: metareplace d0 c0t0d0s0 <new device>
Size: 3769600 blocks (1.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t0d0s0 0 No Maintenance Yes


d20: Submirror of d0
State: Okay
Size: 3769600 blocks (1.8 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c0t1d0s0 0 No Okay Yes


Device Relocation Information:
Device Reloc Device ID
c0t1d0 Yes id1,sd@SSEAGATE_ST318203LSUN18G_LRG55486000010451QCZ

So, I thought I would perform the maintenance.

First:
bash-2.05# metadetach -f d0 d10
d0: submirror d10 is detached

Next:
bash-2.05# metaclear -f d10
d10: Concat/Stripe is cleared

Next:
bash-2.05# metainit d10 2 1 c0t0d0s0 1 c0t1d0s0
metainit: ldap01: c0t1d0s0: has appeared more than once in the specification of d20

I thought this to be more of a general information statement, so I continued.

Next:
bash-2.05# metattach d0 d10
metattach: ldap01: d10: unit not set up

I am not sure what the error "metainit: ldap01: c0t1d0s0: has appeared more than once in the specification of d20" means.

I tried to Google portions of the message and found references to "soft partioning". I need to now how to re-attach the sub-mirror find out what this error means.

Thank You.
 
Old 09-25-2006, 12:01 PM   #2
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
Was the drive replaced? If not why would you metadetach it?

Had the disk checked out in "format" (you can run a read test) you could have just run a metareplace.

What you were trying to do is create d10 as a concat of c0t0d0s0 and c0t1d0s0. Instead you need to create d10 for c0t0d0s0 and then mirror it with c0t1d0s0.

Run :

metainit -f d10 1 1 c0t0d0s0
metattach d0 d10


.

Last edited by mdhmi; 09-25-2006 at 12:03 PM.
 
Old 09-25-2006, 12:16 PM   #3
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Original Poster
Rep: Reputation: 15
From the "Sun Volume Manager Administration Guide" PDF 806-6111, Pg 112 "Responding to RAISD 1 Volume Component Failures"; subsection "How to Replace a Slice in a Submirror".

This section looked like the answer to the submirror issue I was trying to fix. This disk di not fail, but the mirror had issues.

The answer you gave me allowed for the re-attach. Thanks!

Between you and the Sun document, I should be able to clean all the other mirrors. Again, Thanks!
 
Old 09-25-2006, 12:56 PM   #4
mdhmi
Member
 
Registered: Dec 2005
Location: Detroit, Michigan
Distribution: Ubuntu
Posts: 86

Rep: Reputation: 15
Glad it worked for you. Let us know if you need any more assistance.


.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 8.1.7 on SPARC, how I get it? saudoi Solaris / OpenSolaris 2 06-02-2005 09:39 PM
Solaris Sparc Sun redhatrosh Solaris / OpenSolaris 4 03-26-2005 12:54 AM
VNC 4 on Solaris 9 (Sparc) gquiring Solaris / OpenSolaris 1 10-08-2004 02:06 AM
Patching Solaris 9 on Sparc pcdap Solaris / OpenSolaris 1 04-28-2004 02:30 PM
solaris 8 Sparc problems skunk1 Solaris / OpenSolaris 4 03-30-2003 06:17 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration