[opensuse] Problem with a soft raid on system with 42.3 - contrasting information in yast and cat /proc/mdstat
I have created a raid with two dics time ago. The raid is a softraid in linux with RAID1. For quite some time it worked well. But now something is really wrong. The user is sometimes presented a "wrong" home with an older version. This comes and goes without understandable rule. The information on the RAID does not appear to be consistent. Yast reports: Dispositivo: • Dispositivo: /dev/md/homeraid • Dimensione: 931.51 GiB • Cifrato: No • ID del dispositivo 1: md-uuid-d9640ee4:3a9d7b72:68fa6b80:1b61dc7d ID del dispositivo 2: md-name-any:homeraid • Usato da 1: RAID: • Tipo di RAID: RAID1 • Dimensione blocco: • Algoritmi di parità: File system: • File system: Ext4 • Punto di montaggio: /home • Etichetta: But it reports the disc sdc as unused (it shouldn’t be reported like this, it should be active in RAID1 (homeraid). Non used: / dev / sdd1 Linux RAID To make this more puzzeling for me I have: # cat /proc/mdstat Personalities : [raid1] md127 : active raid1 sdc1[0] 976760640 blocks super 1.0 [2/1] [U_] bitmap: 8/8 pages [32KB], 65536KB chunk unused devices: <none> The whole problem did arise when the PC had a faulty PSU that did not start all device contemporaneously or at all, as it seams. So suddenly the user found her/himself with two expression of /home. One current, one old, somewhat odd looking (no background picture) of the same user. This has been repaired with a new PSU in the meanwhile. No smart errors, hardware seems all good. Now when restarting the machine, in 90% of the cases the right disc is used. When checking in partition manager of yast, you find that: when all is O.K. / dev / sdc1 is used as active. When things go South on you for unknown reasons, the active disc is sdd1 instead. Both should be the same….but aren’t. Sdd1 should not be named as unused in yast when sdc1 is used. And sdc1 and sdd1 should not flip within the RAID and should contain the very same information. What is wrong here? I do not understand. PS. in the BIOS both discs are AHCI on the same controller. RAID function of the BIOS is obviously not active, to allow the OS to do softraid. _________________________________________________________________ ________________________________________________________ Ihre E-Mail-Postf�cher sicher & zentral an einem Ort. Jetzt wechseln und alte E-Mail-Adresse mitnehmen! https://www.eclipso.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
Carlos E. R.
-
David C. Rankin
-
Istvan Gabor
-
Per Jessen
-
stakanov