Re: Replace the failed drive in trans metadevice

From: Asiye Yigit (Asiye.Yigit@gantek.com)
Date: Wed Feb 26 2003 - 09:52:29 EST


Is there any special steps to replace the failed drive on trans metadevice (it is the following).
we replaced the erroneous disks c2t0d0 with the new one
and run
metareplace -e d100 c2t0d0s0
While the command is running, disksuite unmount the file system and
resync...I am sure that the replacement of the failed disks must be done without
unmount the file system...
After resync, the state of Trans metadevice is changed urgent...
We have to do fsck. After fsck we have lost the file system (data).
Is there any wrong thing in the job done????

d100: Trans
    State: Okay
    Size: 105859089 blocks
    Master Device: d101
    Logging Device: d104

d101: Mirror
    Submirror 0: d102
      State: Needs maintenance
    Submirror 1: d103
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 105859089 blocks

d102: Submirror of d101
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d101 c2t0d0s0 <new device>
    Size: 105859089 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c2t0d0s0 0 No Last Erred
    Stripe 1:
        Device Start Block Dbase State Hot Spare
        c2t1d0s0 3591 No Okay
    Stripe 2:
        Device Start Block Dbase State Hot Spare
        c3t0d0s0 3591 No Okay
    Stripe 3:
        Device Start Block Dbase State Hot Spare
        c3t1d0s0 3591 No Okay
    Stripe 4:
        Device Start Block Dbase State Hot Spare
        c4t0d0s0 3591 No Okay
    Stripe 5:
        Device Start Block Dbase State Hot Spare
        c4t1d0s0 3591 No Okay

d103: Submirror of d101
    State: Needs maintenance
    Invoke: metaonline d101 d103
    Size: 105859089 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c2t2d0s0 0 No Okay
    Stripe 1:
        Device Start Block Dbase State Hot Spare
        c2t3d0s0 3591 No Okay
    Stripe 2:
        Device Start Block Dbase State Hot Spare
        c3t2d0s0 3591 No Okay
    Stripe 3:
        Device Start Block Dbase State Hot Spare
        c3t3d0s0 3591 No Okay
    Stripe 4:
        Device Start Block Dbase State Hot Spare
        c4t2d0s0 3591 No Okay
    Stripe 5:
        Device Start Block Dbase State Hot Spare
        c4t3d0s0 3591 No Okay
_______________________________________________
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:25:53 EDT