Soraris Disk suite disk fail.. mirrored disk how to recover data from first disk

From: manoj ghag (manojghag@rediffmail.com)
Date: Sun Jul 11 2004 - 09:28:45 EDT


Hi, Managers

I have Solaris Disk Suite and in that I have configured the
mirror of two Slices c0t1d0s0 c0t2d0s0 ( each of size 14 GB)
with following
command

metadb -a -c4 c0t1d0s0 c0t2d0s0

metainit d21 1 1 c0t1d0s1
d21:
Concat/Stripe is setup

metainit d22 1 1 c0t2d0s1
d22: Concat/Stripe is setup
metainit d20 -m d21
metattach d20 d22

Then I started using that for storing
data , But some how there is some problem in c0t2d0s0,, and I am getting error
that disk partition error and my mata partition is not able to mount at the
boot time .. it gave me Error message

WARNING: md: d22: /dev/dsk/c0t2d0s1
needs maintenance
checking ufs filesystems
/dev/md/rdsk/d20: (NO WRITE ACCESS)
/dev/md/rdsk/d20: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
/dev/rdsk/c0t0d0s5: is clean.
/dev/rdsk/c0t0d0s4: is clean.
THE FOLLOWING FILE
SYSTEM(S) HAD AN UNEXPECTED INCONSISTENCY: /dev/md/rdsk/d20 (/db20)
---------
Before:
-----------
 

            #######

            # d20 # = 4 GB
available ( 4GB + 4GB mirrored).

            #######

             / \
/ \

 ####### #######

 # d21 # # d22 #

 #######
#######

-------------
After:
-----------
 

      #######
      # d20 # = 14
GB STILL available ( 4GB not mirrored).
      #######
        /

      /
####### #######(Disk is not accessibal, hardware failure occurs )
 # d21 #
# d22 #
 ####### #######
------------------------------------------------
My Metadb output is as follows
-------------------------------------------------
bash-2.03# metadb

flags
first blk block count
a m pc lu 16 1034
/dev/dsk/c0t1d0s0
a pc l 1050 1034
/dev/dsk/c0t1d0s0
a pc l 2084 1034
/dev/dsk/c0t1d0s0
a pc l 3118 1034
/dev/dsk/c0t1d0s0
M pc unknown unknown
/dev/dsk/c0t2d0s0
M pc unknown unknown
/dev/dsk/c0t2d0s0
M pc unknown unknown
/dev/dsk/c0t2d0s0
M pc unknown unknown
/dev/dsk/c0t2d0s0

Now is there any why by which I can mount this partition
with data present on my other disk (c0t1d0s0 ) , so that I can

recover my
data and start the normal working with one disk ( in place of two disk)...
where do i need to do changes for the same ?

Is it really possible to recover
my all data from on disk which is functioning properly ?

Is it spossibel to
recover the data which i have on d21 (c0t1d0s0) ??
_______________________________________________
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:03 EDT