Andrei Borzenkov composed on 2015-01-07 12:17 (UTC+0300):
Wed, 07 Jan 2015 04:00:57 -0500 Felix Miata composed:
Jan Engelhardt composed on 2015-01-07 09:13 (UTC+0100):
Felix Miata wrote:
http://fm.no-ip.com/Tmp/Linux/big41raidNADA.txt contains output from lsmod, cat /proc/mdstat, and tune2fs -l.
My (years old) marking on it made unclear as to whether I had only prepped its partitions for use as a backup HD, or had actually used it in this system and later replaced one with newer leaving this as an offline spare.
md120 : inactive sdb14[0](S) 156280216 blocks super 1.0
Just a spare. (S)
OK...
The array is also incomplete, i.e. you do not even have enough non-spare data volumes in your system to at least start it in degraded mode.
This I don't understand. Providing mdadm.conf and susequently being able to mount its md devices as /dev/mdX devices (ro, because degraded to one partition per device instead of 2 configured) seems to prove whatever needed to be wherever it needed to be was there, and the only problem had been lack of activation.
It would be helpful if you show mdadm.conf then.
# uname -a Linux big41 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux # /etc/mdadm.conf DEVICE partitions ARRAY /dev/md0 level=raid1 UUID=7bb80bd1:7190763b:e67858c2:e1709118 ARRAY /dev/md1 level=raid1 UUID=30ea461c:9b926cd0:51ce856f:76aa6ff4 ARRAY /dev/md2 level=raid1 UUID=7e5708a2:0cf651d9:a76e1f13:a4a36c19 ARRAY /dev/md3 level=raid1 UUID=1af29bc5:ec2c3760:02daa1f0:5c28277a ARRAY /dev/md4 level=raid1 UUID=805ab730:c7ff1970:3aece583:fea16d3d ARRAY /dev/md5 level=raid1 UUID=fc3787e2:bc83c66c:8afe6288:1c75f7f0 ARRAY /dev/md6 level=raid1 UUID=cda6eba4:2d28ed19:bc1316ff:d7da2e59 ARRAY /dev/md7 level=raid1 UUID=f7939330:26ee7348:064baf79:480175e0
Doesn't the existant partition type 0xFD provide e2fs a useful clue, or is maybe that what blinds it to what is actually present?
No. The only place where 0xfd partition type is (was) used is kernel-level Linux MD autodetection.
"Was", as in kernel no long autodetects md devices? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org