All of lore.kernel.org
 help / color / mirror / Atom feed
* how do i bring this disk back into the fold?
@ 2021-03-28  2:12 David T-G
  2021-04-02  0:40 ` David T-G
  0 siblings, 1 reply; 12+ messages in thread
From: David T-G @ 2021-03-28  2:12 UTC (permalink / raw)
  To: Linux RAID list

Hi, all --

I recently migrated our disk farm to a new server (see the next email),
and I see that one of the partitions in a RAID5 set it inactive:

  diskfarm:~ # cat /proc/mdstat 
  Personalities : [raid6] [raid5] [raid4] 
  md127 : inactive sdf2[1](S) sdl2[0](S) sdj2[3](S)
        2196934199 blocks super 1.2
         
  md0 : active raid5 sdc1[3] sdd1[4] sdb1[0]
        11720265216 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [U_UU]

  diskfarm:~ # mdadm --examine /dev/sd[bcde]1 | egrep '/dev|Name|Role|State|Checksum|Events|UUID'
  /dev/sdb1:
       Array UUID : ca7008ef:90693dae:6c231ad7:08b3f92d
             Name : diskfarm:0  (local to host diskfarm)
            State : clean
      Device UUID : bbcf5aff:e4a928b8:4fd788c2:c3f298da
         Checksum : 4aa669d5 - correct
           Events : 77944
     Device Role : Active device 0
     Array State : A.AA ('A' == active, '.' == missing, 'R' == replacing)
  /dev/sdc1:
       Array UUID : ca7008ef:90693dae:6c231ad7:08b3f92d
             Name : diskfarm:0  (local to host diskfarm)
            State : clean
      Device UUID : c0a32425:2d206e98:78f9c264:d39e9720
         Checksum : 38ee846d - correct
           Events : 77944
     Device Role : Active device 2
     Array State : A.AA ('A' == active, '.' == missing, 'R' == replacing)
  /dev/sdd1:
       Array UUID : ca7008ef:90693dae:6c231ad7:08b3f92d
             Name : diskfarm:0  (local to host diskfarm)
            State : clean
      Device UUID : f05a143b:50c9b024:36714b9a:44b6a159
         Checksum : 49b381d8 - correct
           Events : 77944
     Device Role : Active device 3
     Array State : A.AA ('A' == active, '.' == missing, 'R' == replacing)
  /dev/sde1:
       Array UUID : ca7008ef:90693dae:6c231ad7:08b3f92d
             Name : diskfarm:0  (local to host diskfarm)
            State : active
      Device UUID : 835389bd:c065c575:0b9f2357:9070a400
         Checksum : 80e1b8c4 - correct
           Events : 60360
     Device Role : Active device 1
     Array State : AAAA ('A' == active, '.' == missing, 'R' == replacing)

  diskfarm:~ # mdadm --detail /dev/md0
  /dev/md0:
             Version : 1.2
       Creation Time : Mon Feb  6 05:56:35 2017
          Raid Level : raid5
          Array Size : 11720265216 (10.92 TiB 12.00 TB)
       Used Dev Size : 3906755072 (3.64 TiB 4.00 TB)
        Raid Devices : 4
       Total Devices : 3
         Persistence : Superblock is persistent

         Update Time : Sun Mar 28 01:44:43 2021
               State : clean, degraded 
      Active Devices : 3
     Working Devices : 3
      Failed Devices : 0
       Spare Devices : 0

              Layout : left-symmetric
          Chunk Size : 512K

  Consistency Policy : resync

                Name : diskfarm:0  (local to host diskfarm)
                UUID : ca7008ef:90693dae:6c231ad7:08b3f92d
              Events : 77944

      Number   Major   Minor   RaidDevice State
         0       8       17        0      active sync   /dev/sdb1
         -       0        0        1      removed
         3       8       33        2      active sync   /dev/sdc1
         4       8       49        3      active sync   /dev/sdd1

Before I go too crazy ...  What do I need to do to bring sde1 back into
the RAID volume, either to catch up the missing 17k events (probably
preferred) or just to rebuild it?


TIA & HANN

:-D
-- 
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-04-07 20:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-28  2:12 how do i bring this disk back into the fold? David T-G
2021-04-02  0:40 ` David T-G
2021-04-02  0:46   ` antlists
2021-04-02  5:05     ` David T-G
2021-04-02 19:41       ` Roger Heflin
2021-04-05  3:46         ` bitmaps on xfs (was "Re: how do i bring this disk back into the fold?") David T-G
2021-04-05 11:30           ` Roger Heflin
2021-04-05 17:29             ` antlists
2021-04-05 17:46               ` bitmaps on xfs David T-G
2021-04-05 17:58                 ` antlists
2021-04-07 20:14                   ` Mark Wagner
2021-04-05 21:02               ` bitmaps on xfs (was "Re: how do i bring this disk back into the fold?") Roger Heflin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.