Re: is it possible to access files when the file system crashes!

From: Asiye Yigit (Asiye.Yigit@gantek.com)
Date: Thu Feb 27 2003 - 10:57:15 EST


Hello.

I have trans metadevice and its one of disk

has a failure. We have to change it.

Before we change the c2t0d0 disk, users can access the volume.

After replacement of the disk, the resync starts and 5 minutes later

the file system is unmounted...

we wait finish of the resync and run fsck to be able to remount it.

During fsck, we get a lot of errors and we answer them y...

After that, we mount it but about half size of it go to the lost+found

and we can not start the database.

All backups up to the date failure occurs has problems.

The healthy backup is before the disk failure. So, we have lost

the data for 4 days...

The problem is that the file system has a failure when the

disk goes bad..

My question is that is it possible to access the files when

the file system has problems.

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

d104: Logging device for d100
    State: Okay
    Size: 215202 blocks

d104: Mirror
    Submirror 0: d105
      State: Okay
    Submirror 1: d106
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 215460 blocks

d105: Submirror of d104
    State: Okay
    Size: 215460 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c2t0d0s1 0 No Okay
    Stripe 1:
        Device Start Block Dbase State Hot Spare
        c2t1d0s1 0 No Okay
    Stripe 2:
        Device Start Block Dbase State Hot Spare
        c3t0d0s1 0 No Okay
    Stripe 3:
        Device Start Block Dbase State Hot Spare
        c3t1d0s1 0 No Okay
    Stripe 4:
        Device Start Block Dbase State Hot Spare
        c4t0d0s1 0 No Okay
    Stripe 5:
        Device Start Block Dbase State Hot Spare
        c4t1d0s1 0 No Okay

d106: Submirror of d104
    State: Okay
    Size: 215460 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c2t2d0s1 0 No Okay
    Stripe 1:
        Device Start Block Dbase State Hot Spare
        c2t3d0s1 0 No Okay
    Stripe 2:
        Device Start Block Dbase State Hot Spare
        c3t2d0s1 0 No Okay
    Stripe 3:
        Device Start Block Dbase State Hot Spare
        c3t3d0s1 0 No Okay
    Stripe 4:
        Device Start Block Dbase State Hot Spare
        c4t2d0s1 0 No Okay
    Stripe 5:
        Device Start Block Dbase State Hot Spare
        c4t3d0s1 0 No Okay

--
________________________________________________________________________________________
    _/_/_/_/ _/    _/ _/    _/  Asiye YIGIT
   _/       _/    _/ _/_/  _/   Software Supervisor
  _/_/_/_/ _/    _/ _/ _/ _/    GANTEK Technologies
       _/ _/    _/ _/  _/_/     Alemdag C. 46 D 81180
_/_/_/_/ _/_/_/_/ _/    _/      KISIKLI - Istanbul - TURKIYE
                                Phone: (+90) 216 522 96 08
                                Fax:   (+90) 216 328 41 81
                                E-mail: Asiye.Yigit@gantek.com
________________________________________________________________________________________
"Real knowledge is to know the extent of ones ignorance."
                                                        Confucius
                "A sure sign of a genius is that all of
                the dunces are in a confederacy against him."
                                Frank Lloyd Wright
"Every happening, great and small,
is a parable whereby God speaks to us,
and the art of life is to get the message."
                        Malcolm Muggeridge
_______________________________________________
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