Re: Multiple disk failure - recover?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Jul 2002, Neil Brown wrote:

> On Wednesday July 10, danci@agenda.si wrote:
> > On Wed, 10 Jul 2002, Neil Brown wrote:
> >
> > >  mdadm --assemble --force /dev/md1 /dev/sda2 /dev/sdc2
> > >
> > > Then it will have to use a2 and c2.
> >
> > I tried that, but it refused to do it (something about 2/3 drives
> > failed)!? Maybe my mdadm version is old (v1.0.0)?
>
> Hmmm. Should work, but might need a "--run" as well...
>
> Can you get me an exact error message, and maybe the output of
>  mdadm --examine /dev/sd[abc]2
>
> NeilBrown
>

OK, it's all attached. One file contains results of mdadm --examine, the
other is what I get on the screen with mdadm --assemble (w/wo --run)...

  D.
[root@lmq MDADM]# mdadm --assemble --force /dev/md1 /dev/sda2 /dev/sdc2
md: md1 stopped.
md: unbind<sdc2,0>
md: export_rdev(sdc2)
 [events: 00000058]
md: bind<sdc2,1>
mdadm: /dev/md1 assembled from 1 drive - not enough to start it (use --run
to insist).

[root@lmq MDADM]# mdadm --assemble --force /dev/md1 --run /dev/sda2
/dev/sdc2
md: md1 stopped.
md: unbind<sdc2,0>
md: export_rdev(sdc2)
 [events: 00000058]
md: bind<sdc2,1>
md: sdc2's event counter: 00000058
md1: removing former faulty sdb2!
md1: max total readahead window set to 496k
md1: 2 data-disks, max readahead per data-disk: 248k
raid5: device sdc2 operational as raid disk 1
raid5: not enough operational devices for md1 (2/3 failed)
RAID5 conf printout:
 --- rd:3 wd:1 fd:2
 disk 0, s:0, o:0, n:0 rd:0 us:1 dev:[dev 00:00]
 disk 1, s:0, o:1, n:1 rd:1 us:1 dev:sdc2
 disk 2, s:0, o:0, n:2 rd:2 us:1 dev:[dev 00:00]
raid5: failed to run raid set md1
md: pers->run() failed ...
md: md1 stopped.
md: unbind<sdc2,0>
md: export_rdev(sdc2)
mdadm: failed to RUN_ARRAY /dev/md1: Invalid argument
/dev/sda2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : d1b50184:535ff73c:48dba5c1:e94fc70e
  Creation Time : Mon Jul 16 13:53:51 2001
     Raid Level : raid5
    Device Size : 17623232 (16.80 GiB 18.04 GB)
   Raid Devices : 3
  Total Devices : 4
Preferred Minor : 1

    Update Time : Wed Jul 10 15:18:37 2002
          State : dirty, no-errors
 Active Devices : 2
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 1
       Checksum : 79f828e5 - correct
         Events : 0.82

         Layout : left-asymmetric
     Chunk Size : 32K

      Number   Major   Minor   RaidDevice State
this     3       8        2        3        /dev/sda2
   0     0       8       18        0      active sync   /dev/sdb2
   1     1       8       34        1      active sync   /dev/sdc2
   2     2       0        0        2      faulty removed
   3     3       8        2        3        /dev/sda2

/dev/sdb2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : d1b50184:535ff73c:48dba5c1:e94fc70e
  Creation Time : Mon Jul 16 13:53:51 2001
     Raid Level : raid5
    Device Size : 17623232 (16.80 GiB 18.04 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1

    Update Time : Wed Jul 10 15:36:39 2002
          State : dirty, no-errors
 Active Devices : 2
Working Devices : 2
 Failed Devices : 1
  Spare Devices : 0
       Checksum : 79f82d2f - correct
         Events : 0.86

         Layout : left-asymmetric
     Chunk Size : 32K

      Number   Major   Minor   RaidDevice State
this     0       8       18        0      active sync   /dev/sdb2
   0     0       8       18        0      active sync   /dev/sdb2
   1     1       8       34        1      active sync   /dev/sdc2
   2     2       0        0        2      faulty removed

/dev/sdc2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : d1b50184:535ff73c:48dba5c1:e94fc70e
  Creation Time : Mon Jul 16 13:53:51 2001
     Raid Level : raid5
    Device Size : 17623232 (16.80 GiB 18.04 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1

    Update Time : Wed Jul 10 16:08:35 2002
          State : clean, no-errors
 Active Devices : 1
Working Devices : 1
 Failed Devices : 2
  Spare Devices : 0
       Checksum : 79f834ba - correct
         Events : 0.88

         Layout : left-asymmetric
     Chunk Size : 32K

      Number   Major   Minor   RaidDevice State
this     1       8       34        1      active sync   /dev/sdc2
   0     0       8       18        0      faulty   /dev/sdb2
   1     1       8       34        1      active sync   /dev/sdc2
   2     2       0        0        2      faulty removed

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux