0

I have a RAID (mirrored - 2 spinning rust hard-drives).

In the past two weeks, it happened 2 or 3 times, that the raid hasn't been displayed in KDE's Dolphin (file browser), anymore.

This was the output of cat /proc/mdstat when it happened just a minute ago.

Personalities :     
md127 : inactive sdd1[0](S)    
      7813894144 blocks super 1.2    
           
unused devices: <none>    

After a reboot, everything works as expected again.

$ cat /proc/mdstat     
Personalities : [raid1]     
md127 : active (auto-read-only) raid1 sdd1[0] sdc1[2]    
      7813893952 blocks super 1.2 [2/2] [UU]    


unused devices: <none>    
    

I also just noticed, that the number of blocks differs slightly between both outputs.

Since I live in a place, that is now transitioning into winter (colder and more humid, than in summer .. about 50% humidity at about 20°C .. so not that cold, yet), I'm not sure, if it could have anything to do with that? Because, it only happens once, when I first turn on the computer in the morning (after a night of rest and at a cooled down state). After that, everything works fine (even wrote a couple of hundred GB of data onto them, recently without any problems, whatsoever).

But, I'm still a bit worried, because that's a mirrored drive for a reason (I really need that data not to get lost).

Is this my cue to get another set of hard-drives (they're not cheap, at the moment and I'd rather not have to buy new ones, at the moment)? Or can I do anything to make things better, that I might not be thinking of, right now?

That's the output of mdadm --detail /dev/md127

/dev/md127:
           Version : 1.2
     Creation Time : Sun Jul 17 12:47:48 2016
        Raid Level : raid1
        Array Size : 7813893952 (7.28 TiB 8.00 TB)
     Used Dev Size : 7813893952 (7.28 TiB 8.00 TB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

       Update Time : Thu Oct 20 12:29:25 2022
             State : clean 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : resync

              Name : k1:0
              UUID : 12345678:12345678:12345678:12345678
            Events : 50521

    Number   Major   Minor   RaidDevice State
       0       8       49        0      active sync   /dev/sdd1
       2       8       33        1      active sync   /dev/sdc1
doh-nutz
  • 227
  • 1
  • 3
  • 9

0 Answers0