Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SVM Mirror State: Needs maintenance Invoke: metasync

Status
Not open for further replies.

pec116

Technical User
Jul 26, 2007
2
MX
Hi, I have a problem in my Solaris 10 server, I run the metastat command and in all Mirrors and Submirrors display "Needs maintenance". Colud you tell me please how to bring it back to Ok State.

# metastat -c
d90 m 61GB d91 (maint) d92 (maint)
d91 s 61GB c1t2d0s4
d92 s 61GB c1t3d0s4
d80 m 80GB d81 (maint) d82 (maint)
d81 s 80GB c1t0d0s7
d82 s 80GB c1t1d0s7
d70 m 25GB d71 (maint) d72 (maint)
d71 s 25GB c1t2d0s3
d72 s 25GB c1t3d0s3
d60 m 25GB d61 (maint) d62 (maint)
d61 s 25GB c1t2d0s1
d62 s 25GB c1t3d0s1
d50 m 25GB d51 (maint) d52 (maint)
d51 s 25GB c1t2d0s0
d52 s 25GB c1t3d0s0
d40 m 20GB d41 (maint) d42 (maint)
d41 s 20GB c1t0d0s6
d42 s 20GB c1t1d0s6
d20 m 10GB d21 (maint) d22 (maint)
d21 s 10GB c1t0d0s3
d22 s 10GB c1t1d0s3
d10 m 4.0GB d11 (maint) d12 (maint)
d11 s 4.0GB c1t0d0s1
d12 s 4.0GB c1t1d0s1
d0 m 2.0GB d1 (maint) d2 (maint)
d1 s 2.0GB c1t0d0s0
d2 s 2.0GB c1t1d0s0
d30 m 20GB d31 (maint) d32 (maint)
d31 s 20GB c1t0d0s4
d32 s 20GB c1t1d0s4

# metastat |grep meta
Invoke: metasync d90
Invoke: metasync d90
Invoke: metasync d80
Invoke: metasync d80
Invoke: metasync d70
Invoke: metasync d70
Invoke: metasync d60
Invoke: metasync d60
Invoke: metasync d50
Invoke: metasync d50
Invoke: metasync d40
Invoke: metasync d40
Invoke: metasync d20
Invoke: metasync d20
Invoke: metasync d10
Invoke: metasync d10
Invoke: metasync d0
Invoke: metasync d0
Invoke: metasync d30
Invoke: metasync d30


Thanks in advance!

 
It is telling you the commands to run, e.g. metasync d90. "Invoke" just means the same as "run".

Annihilannic.
 
Did you execute metasync command on the meta devices as per the software advise?
 
Thanks Annihilannic and hsleem,
I did execute the metasync for resolve this state:

# metastat d60
d60: Mirror
Submirror 0: d61
State: Needs maintenance
Submirror 1: d62
State: Needs maintenance

# metasync d60

# metastat d60
d60: Mirror
Submirror 0: d61
State: Resyncing
Submirror 1: d62
State: Resyncing
Resync in progress: 98 % done

# metastat d60
d60: Mirror
Submirror 0: d61
State: Okay
Submirror 1: d62
State: Okay


This for each mirror.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top