Disc Needs Maintenance


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Disc Needs Maintenance
# 1  
Old 02-24-2007
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.
# 2  
Old 02-24-2007
Quote:
Originally Posted by ailnilanjan
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.
You can start with "metasync"

Check out the meta... commands in general
# 3  
Old 02-25-2007
Post the output of metastat so that we can get a better idea of the current state of the metadevices.
# 4  
Old 02-25-2007
Metastat Status

Quote:
Post the output of metastat so that we can get a better idea of the current state of the metadevices.
axadmin@dodledo:/dodledo/var/home/axadmin
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 01:53 PM..
# 5  
Old 02-25-2007
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  
Old 02-26-2007
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 Smilie
Alpa
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Disc is full - NOT! How to fix?

When I try to create a new text file on my server, via FTP, I get an error that the destination drive / disk is full. This is not true. I have at least 3-4 GB of space left. How can this be? Have not had this problem before, until today. I'm pretty new to Linux, and am therefore grateful for... (4 Replies)
Discussion started by: Guldstrand
4 Replies

2. Solaris

Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc?

Hello, I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies

3. UNIX for Dummies Questions & Answers

format disc

What is the best way to format the partition? (3 Replies)
Discussion started by: mirusnet
3 Replies

4. OS X (Apple)

disc ownership permissions

Hi all, I am running OSX 10.4.11 on a G4 Sawtooth with 3 internal hard drives. Recently while setting up new user accounts for family members, I foolishly assigned 'No Access' to 2 drives other than the boot drive. Naturally, they now don't appear on the desktop. I tried to fix... (1 Reply)
Discussion started by: les51
1 Replies

5. Filesystems, Disks and Memory

New to Unix, need to copy disc using DD

Hello, I'm new to Unix :confused: , but very comfortable with computers, we have a old ScoUnix system at work and we have no IT person, although we have limited basic knowledge of commands we are by far not experts. We have called around to have someone work on this but to date have not found... (3 Replies)
Discussion started by: bill306
3 Replies

6. Filesystems, Disks and Memory

MO disc stuck in drive, Help!

Im a newbie at unix and need some help with my MO disc, which is stuck in the MO drive. I cant get it out. I have tried several commands but nothing works, so if there is some fullproof way to get it out i would be thankful if someone could tell me! /O (1 Reply)
Discussion started by: Olink
1 Replies

7. HP-UX

New MO disc format under HP Unix

How to format new MO disc under HP Unix? (1 Reply)
Discussion started by: vlad3131
1 Replies

8. UNIX for Dummies Questions & Answers

Copy of HP-UX from MO disc

This is my newbi question. I have HP-UX on a MO drive, need to backup that MO in case of damaging the original. Therefor I need a copy on server and be able to put that copy onto a blank MO to recreate a working bootable disc. This what I did. First I tried to make a copy with dd dd... (0 Replies)
Discussion started by: tops
0 Replies

9. Filesystems, Disks and Memory

Calculating Disc Space

Ok.... Can someone please point me in the right direction. I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining. 1$ dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
Discussion started by: Docboyeee
5 Replies

10. UNIX for Dummies Questions & Answers

Disc Copy

Is there a disk copy utiliy for unix systems eg: I need to make a duplicate copy of a netraT1 to a netraT1 Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question