how to fix DiskSuite when both submirrir "Need maintenance"

From: J. Summer (jsummer21@hotmail.com)
Date: Tue Nov 30 2004 - 01:42:08 EST


I am having a really big and urgent problem with disksuite on a Solaris 8
machine (U60). I deadly wish someone can kindly give me help.

I have my /home FS on a mirror d60, with each submirror having 2 disks as a
stipe.

d60 = Need Maintenance
         d61 + d62

  d61= Need Maintenance
         c1t4d0s0 (Okey)
         c1t6d0s0 (Okey)
  d62= Need Maintenance
         c1t8d0s0 (Okey)
         c1t9d0s0 (Okey)

Now the strange thing is all 4 hard drives are in "Okey" status. Both
summirrors are in "Need Maintenance" mode. But I can't detach either of the
submirror to fix it.

I know the normal way to fix this problem is to detach one of the submirror
and re-build the stripe, then attach it back to mirror. After re-sync
finishes, detach and attach back the other submirror. Please currect me if
I am wrong.

I think I noticed once before that someone else had the same problem before.
He could use metatool ( the graphic tool) to detach a submirror when both in
"Maintenance" mode. But he could not use command line to do the same. So
I am wondering if this is a bug of DiskSuite application. If the Solaris 9
Volum Manager, the newer DiskSuite, is better?

I have done the following attempts to fix :

When I do a force detach:
                metadetach -f d60 d61
The error says :
               " metadetach: ..:d60:resync in progress.

I tried to enable each disk in the mirror using:
                metareplace -e d60 c1t9d0s0
Then same error saying "resync in progress".

I then disable the /etc/rc2.d/ S95lvm.sync and reboot, but the detachment
attempt still has the same result.

So I disconnect the 2 disks in metadevice d61. Then the metastat shows the
status of these 2 disks is "Need Maintenance". But I still can't detach
this submirror as "Resync is in progress" ! :< I am very upset!

Can any one here help me out. I really don't want to destroy the mirror as I
have important data on it. How can I fix it without damaging the mirror ?

I appreciate your kind help very much.

J. Summer
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:47 EDT