Computing.Net > Forums > Solaris > Mirror error test - newb needs help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Mirror error test - newb needs help

Reply to Message Icon

Name: Sully
Date: August 30, 2006 at 16:53:17 Pacific
OS: Solaris 9
CPU/Ram: unknown
Product: SunFire V250
Comment:

We are experiencing file access problems that result in an error message (on Windows) that says disk error. An ex-employee says that this has occurred before and was resolved by determining where the problem was, breaking the mirror, reformatting the "bad" disk, and recreating the mirror. Does this make sense? If so, how can I determine where the problem is and what mirror to "break" and what disk to format?



Sponsored Link
Ads by Google

Response Number 1
Name: ganeshv30
Date: September 2, 2006 at 05:41:47 Pacific
Reply:

Hi, this seems that your disk might be physically damaged. This you can make sure by executing the following command. Assume that d10 is your mirror point which is made out of d11 & d12.

# metastat d10

You can see the status of any of the sub-mirror or both the sub mirror if they are having physical issues attached with d10.

To Break the mirror
------------------
# umount /mirror

# metadetach d10 d12

then mount d10 on top of some other mount moint and transfer the data and create filesystem and then attach with primary mirror again.

# mount /dev/md/dsk/d10 /tmp_mnt
# cd /tmp-mnt
# cp -r * /tmp_data

# umount /tmp_data
# newfs /dev/md/rdsk/d10
# newfs /dev/md/rdsk/d12

# metattach d10 d12

After completion of successfull sync, mount d10 again on top of original mount point.

# mount /dev/md/dsk/d10 /mirror
# cd /tmp_data
# cp -r * /mirror

Thats it. hope this would help you.

:)

Ganesh


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Mirror error test - newb needs help

I need help with tar and ftp www.computing.net/answers/solaris/i-need-help-with-tar-and-ftp/3846.html

solaris 10 desktop! newb need help www.computing.net/answers/solaris/solaris-10-desktop-newb-need-help/4726.html

need to help in setting up X-window www.computing.net/answers/solaris/need-to-help-in-setting-up-xwindow/4565.html