![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc? | ideffects | SUN Solaris | 1 | 05-31-2008 04:30 AM |
| maintenance on the SAN with AIX | itik | AIX | 1 | 05-16-2008 10:07 AM |
| aix maintenance level | manoj.solaris | AIX | 3 | 10-18-2007 12:46 PM |
| I will do Maintenance for my Servers ... pls help | ArabOracle.com | SUN Solaris | 5 | 11-14-2006 09:20 AM |
| AIX maintenance package 4.3. | Sagitario | AIX | 8 | 02-16-2006 10:37 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Disc Needs Maintenance
Hello All
Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each. Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status. What is the command to make the status of each disc OKEY. Also please suggest me any preventive action so that will not happen further. Thanks a Lot. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Quote:
Check out the meta... commands in general |
|
#3
|
|||
|
|||
|
Post the output of metastat so that we can get a better idea of the current state of the metadevices.
|
|
#4
|
|||
|
|||
|
Metastat Status
Quote:
Code:
2ksh$ metastat
d10: Mirror
Submirror 0: d11
State: Needs maintenance
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 40968576 blocks
d11: Submirror of d10
State: Needs maintenance
Invoke: metaonline d10 d11
Size: 40968576 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s0 0 No Okay
d12: Submirror of d10
State: Okay
Size: 40968576 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s0 0 No Okay
d20: Mirror
Submirror 0: d21
State: Okay
Submirror 1: d22
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 8201856 blocks
d21: Submirror of d20
State: Okay
Size: 8201856 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s1 0 No Okay
d22: Submirror of d20
State: Okay
Size: 8201856 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s1 0 No Okay
d40: Mirror
Submirror 0: d41
State: Needs maintenance
Submirror 1: d42
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 40968576 blocks
d41: Submirror of d40
State: Needs maintenance
Invoke: metaonline d40 d41
Size: 40968576 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t10d0s1 0 No Okay
d42: Submirror of d40
State: Okay
Size: 40968576 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t11d0s1 0 No Okay
d50: Mirror
Submirror 0: d51
State: Needs maintenance
Submirror 1: d52
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 343785984 blocks
d51: Submirror of d50
State: Needs maintenance
Invoke: metaonline d50 d51
Size: 343785984 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t0d0s6 0 No Okay
c1t2d0s6 0 No Okay
c1t4d0s6 0 No Okay
c1t8d0s6 0 No Okay
d52: Submirror of d50
State: Okay
Size: 343785984 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t1d0s6 0 No Okay
c1t3d0s6 0 No Okay
c1t5d0s6 0 No Okay
c1t9d0s6 0 No Okay
d60: Mirror
Submirror 0: d61
State: Needs maintenance
Submirror 1: d62
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 196498560 blocks
d61: Submirror of d60
State: Needs maintenance
Invoke: metaonline d60 d61
Size: 196498560 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t10d0s6 0 No Okay
c1t12d0s6 0 No Okay
d62: Submirror of d60
State: Okay
Size: 196498560 blocks
Stripe 0: (interlace: 32 blocks)
Device Start Block Dbase State Hot Spare
c1t11d0s6 0 No Okay
c1t13d0s6 0 No Okay
d70: Mirror
Submirror 0: d71
State: Needs maintenance
Submirror 1: d72
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 8201856 blocks
d71: Submirror of d70
State: Needs maintenance
Invoke: metaonline d70 d71
Size: 8201856 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t0d0s4 0 No Okay
d72: Submirror of d70
State: Okay
Size: 8201856 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c1t1d0s4 0 No Okay
Last edited by reborg; 02-25-2007 at 10:53 AM. |
|
#5
|
|||
|
|||
|
Heck, it looks like your mirrors are simply offline. Each paragraph tells you the problem and what you need to do to bring them back on line. In this case, just run the individual metaonline commands as listed.
As to why, per the man page (man metaonline), one good reason would be to run a full backup of the system. In your backup script you'd bring the disks offline, run the backup on the down disks, and then bring them back online. They'd have to resync for your dual mirror system which might take a while depending on sizes. If there was a problem with the backups, perhaps the disks wouldn't have been brought back online. I'd have to poke around in the scheduled scripts to see if something's bringing them down for some reason. Carl |
|
#6
|
|||
|
|||
|
hey
Hi Neo,
You have a very cool Forum here…loved the content. U know there is an awesome opportunity for people like you who have ur own Forums n sites…I came across this site called Myndnet.com…it’s a platform for people for buy and sell Technology related information. and everytime you sell some information you get paid for it…Good money for people like us in the IT domain. Here the link http://www.myndnet.com/login.jsp?ref...a83&channel=81 Sign up is free…check it out… You can contact me at my id here for more questions : barot.alpa@gmail.com Cheers Alpa |
|||
| Google The UNIX and Linux Forums |