Urgent- metareplace -e write errors


 
Thread Tools Search this Thread
Operating Systems Solaris Urgent- metareplace -e write errors
# 1  
Old 03-21-2008
Urgent- metareplace -e write errors

I have a disk in maintanance status . I executed metareplace -e partition device . It resynced upto 5 % and then stopped . In the /var/adm/messages it showed the write error .

My question is if I analyse and repair the disk in format command , will my write error go . I dont have 0 hard and soft error in isostat -En . Is there any possibility of data loss .
# 2  
Old 03-23-2008
Quote:
Originally Posted by Hitesh Shah
I have a disk in maintanance status . I executed metareplace -e partition device . It resynced upto 5 % and then stopped . In the /var/adm/messages it showed the write error .

My question is if I analyse and repair the disk in format command , will my write error go . I dont have 0 hard and soft error in isostat -En . Is there any possibility of data loss .
maybe you can further investigate by :
#metadb -i
# 3  
Old 12-16-2008
The disk checks via format should not cause any data loss, so long as you stay clear from any destructive (write) tests. Check the disk for any bad blocks and see if you can sync the mirrors if no disk issues are reported. If you still cannot re-sync, I'd bite the bullet and replace the disk - better to be safe than sorry, especially if it's in a production environment.
# 4  
Old 12-16-2008
Replace the drive now; test/format later.
# 5  
Old 12-16-2008
Not critical but prevents more spurious errors: If you want to do any destructive tests, metadetach the failing device from your master metadevice first.

Otherwise, to paraphrase what 'seg' says: Your disk is buggered, replace it now. Even if you get it going now, it's going to fail again really soon.

edit: Oh and I wouldn't worry about data loss at the moment, if you have something to resync against, then that disk will still have a good copy of your data.
# 6  
Old 12-16-2008
Quote:
Originally Posted by Hitesh Shah
I have a disk in maintanance status . I executed metareplace -e partition device . It resynced upto 5 % and then stopped . In the /var/adm/messages it showed the write error .

My question is if I analyse and repair the disk in format command , will my write error go . I dont have 0 hard and soft error in isostat -En . Is there any possibility of data loss .
Sounds like the disk is hosed, though it may be worthwhile to do an analyze refresh on the disk, its non destructive and checks reads and writes each block to/from the disk.. It will at least show up if there are issues before you replace the thing ...

If you have a mirror with good data you wont lose any data ....
# 7  
Old 12-17-2008
It happened with me before. Try to metadetach, metaclear, then metainit again, re-create it and it might work

However SUN says whenever the status is "need maintenance" then replace the disk. Better safe than sorry Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Urgent help needed to write a script

User have given me about 450 commands, i just wanted to know the full path for those commands and the output should be redirected to a separate file. Instead of running "which" command each time to find the path for all those commands, i need to do this in a simple way by a script. which... (3 Replies)
Discussion started by: pgmax
3 Replies

2. Solaris

DiskSuite State Unavailable After metareplace

Hello, After replacing a JBOD disk that died, the metareplace was ran, the device went into enable/sync'ing state and then when the sync completed, the state changed to unavailable. metadb shows the replica db looking good on the new disk. format shows the disk online and looking good. ... (2 Replies)
Discussion started by: rfransix
2 Replies

3. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

4. Programming

Urgent!!!! - Write/read to/from shared memory

I created a shared memory and attached it. I also created the appropriate semaphores to sync. my read/write operations. However I do not know how am I supposed to do so. Anyone has got any ideas? I want to write int the form of 1234:23:444:... where each number between : means something to the... (0 Replies)
Discussion started by: tyron
0 Replies

5. Filesystems, Disks and Memory

What should I do with this metastat result? metareplace everything?

I have to rescue the volumes in a soloris 7 machine. The metastat returns the following result: d6 is dying with iostat -nE returns Harderror 3, Transports error 9 Can some offer me some help? Thank you very much. (6 Replies)
Discussion started by: nickychung
6 Replies

6. Solaris

metareplace error

Hello guys, i am getting some errors as below when i want to perform maintainence on the disks of my servers, getting errors like this "metareplace: myhost: /dev/dsk/c1t0d0s5: Invalid argument" when i execute #metareplace -e d5 c1t0d0s5 kindly advise on this matter,am afraid to use -f... (4 Replies)
Discussion started by: cromohawk
4 Replies

7. UNIX for Dummies Questions & Answers

Major OS errors/Bash errors help!!!!

Hi all, dummy here.... I have major errors on entering the shell. On login I get: -bash: dircolors: command not found -bash: tr: command not found -bash: fgrep: command not found -bash: grep: command not found -bash: grep: command not found -bash: id: command not found -bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies

8. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

9. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

10. UNIX for Dummies Questions & Answers

Urgent!! How to write a shell program to execute command to access internet?

hi, I am new ot unix. So, can i write a shell(c shell or korn shell) program to access internet? I mean if I run the program, it can access specified url and then copy the html to a file? Can anyone help me? And how can make the program runs every 1 hr? new comer (2 Replies)
Discussion started by: firebirdonfire
2 Replies
Login or Register to Ask a Question