mdadm bugje ?

Pagina: 1
Acties:

  • DDX
  • Registratie: April 2001
  • Laatst online: 12:40
]# cat /proc/mdstat
Personalities : [raid0] [raid5]
read_ahead 1024 sectors
md0 : active raid5 sdg1[7] sdb1[0] sdi1[6] sdh1[5] sdf1[4] sde1[3] sdd1[2]
sdc1[1]
820527232 blocks level 5, 64k chunk, algorithm 0 [8/8] [UUUUUUUU]

unused devices: <none>

]# mdadm -D /dev/md0
/dev/md0:
Version : 00.90.00
Creation Time : Fri Oct 18 23:11:09 2002
Raid Level : raid5
Array Size : 820527232 (782.51 GiB 840.21 GB)
Device Size : 117218176 (111.78 GiB 120.03 GB)
Raid Devices : 8
Total Devices : 9
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Wed Dec 18 21:50:43 2002
State : dirty, no-errors
Active Devices : 8
Working Devices : 7
Failed Devices : 2
Spare Devices : 0

Layout : left-asymmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
4 8 81 4 active sync /dev/sdf1
5 8 113 5 active sync /dev/sdh1
6 8 129 6 active sync /dev/sdi1
7 8 97 7 active sync /dev/sdg1
UUID : 316793d2:5e51db22:3607b944:6aeb5e01
raid5 is dus ok volgens /proc/mdstat
maar mdadm denkt dat er 2 disken failed zijn, 7 werkend, en daarna meld dat er 8 ok zijn (8 van de 8 )

iemand enig idee ?

https://www.strava.com/athletes/2323035


  • Sjonny
  • Registratie: Maart 2001
  • Laatst online: 17:01

Sjonny

Fratser

hmm.. als er echt 2 failed waren, dan deed je raid het helemaal niet meer, dus ik denk dat er nix aan de hand is. Je kan ook het best van /proc/mdstat uitgaan. dat is output direct uit de kernel driver. aan het eind van de mdadm manual stond geloof ik ook bij bugs: probably many.

The problem is in the part of your brain that handles intelligence.


  • DDX
  • Registratie: April 2001
  • Laatst online: 12:40
hmms via raid mailinglist nog iemand die zelfde probleem heeft
alleen helaas niemand die een oplossing heeft (of developer die wilt debuggen ofzo?)

naja raid draait prima. al vindt ik het wel een vreemde foutmelding...

https://www.strava.com/athletes/2323035


  • DDX
  • Registratie: April 2001
  • Laatst online: 12:40
ok nog even update van raid mailinglist :

> Yes, it's probably a bug in the kernel code. The counting in the 2.4 code is
very
> clumsy. I think it is benign so it wont be fixed. The code in 2.5 is
> very different and shouldn't have this problem.

https://www.strava.com/athletes/2323035