Discussion:
is raid installed by default
(too old to reply)
faeychild
2022-05-19 03:19:01 UTC
Permalink
I am poking through dmesg to pinpoint a problem and I found this

dmesg | grep -i raid
[ 0.162436] raid6: avx2x4 gen() 40069 MB/s
[ 0.179437] raid6: avx2x4 xor() 18405 MB/s
[ 0.196436] raid6: avx2x2 gen() 46932 MB/s
[ 0.213436] raid6: avx2x2 xor() 28318 MB/s
[ 0.230437] raid6: avx2x1 gen() 39386 MB/s
[ 0.247436] raid6: avx2x1 xor() 21443 MB/s
[ 0.264437] raid6: sse2x4 gen() 18615 MB/s
[ 0.281436] raid6: sse2x4 xor() 10823 MB/s
[ 0.298437] raid6: sse2x2 gen() 18897 MB/s
[ 0.315436] raid6: sse2x2 xor() 11622 MB/s
[ 0.332438] raid6: sse2x1 gen() 15950 MB/s
[ 0.349437] raid6: sse2x1 xor() 7860 MB/s
[ 0.349438] raid6: using algorithm avx2x2 gen() 46932 MB/s
[ 0.349439] raid6: .... xor() 28318 MB/s, rmw enabled
[ 0.349441] raid6: using avx2x2 recovery algorithm
[ 2.393424] systemd[1]: Starting Software RAID Monitor Takeover...
[ 2.433872] systemd[1]: Started Software RAID Monitor Takeover.


So I did some investigating and I have "mdadm" installed
/etc/mdadm.conf
/proc/mdstat

But I don't have all files mentioned in man mdadm.
I haven't installed raid per-se but is it a partial install by default
--
faeychild
Running plasmashell 5.20.4 on 5.15.35-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64 installed via Mageia-8-x86_64-DVD.iso
Aragorn
2022-05-19 03:32:36 UTC
Permalink
Post by faeychild
I am poking through dmesg to pinpoint a problem and I found this
dmesg | grep -i raid
[ 0.162436] raid6: avx2x4 gen() 40069 MB/s
[ 0.179437] raid6: avx2x4 xor() 18405 MB/s
[ 0.196436] raid6: avx2x2 gen() 46932 MB/s
[ 0.213436] raid6: avx2x2 xor() 28318 MB/s
[ 0.230437] raid6: avx2x1 gen() 39386 MB/s
[ 0.247436] raid6: avx2x1 xor() 21443 MB/s
[ 0.264437] raid6: sse2x4 gen() 18615 MB/s
[ 0.281436] raid6: sse2x4 xor() 10823 MB/s
[ 0.298437] raid6: sse2x2 gen() 18897 MB/s
[ 0.315436] raid6: sse2x2 xor() 11622 MB/s
[ 0.332438] raid6: sse2x1 gen() 15950 MB/s
[ 0.349437] raid6: sse2x1 xor() 7860 MB/s
[ 0.349438] raid6: using algorithm avx2x2 gen() 46932 MB/s
[ 0.349439] raid6: .... xor() 28318 MB/s, rmw enabled
[ 0.349441] raid6: using avx2x2 recovery algorithm
[ 2.393424] systemd[1]: Starting Software RAID Monitor Takeover...
[ 2.433872] systemd[1]: Started Software RAID Monitor Takeover.
So I did some investigating and I have "mdadm" installed
/etc/mdadm.conf
/proc/mdstat
But I don't have all files mentioned in man mdadm.
I haven't installed raid per-se but is it a partial install by default
It may be the result of your hard drive or SSD being listed as a RAID
device in the UEFI or BIOS. The kernel might detect that and load the
RAID module.

If you really had a RAID-6 configuration, you'd know about it,
wouldn't you? RAID-6 doesn't exactly set itself up automatically. ;)
--
With respect,
= Aragorn =
faeychild
2022-05-19 05:07:20 UTC
Permalink
Post by Aragorn
It may be the result of your hard drive or SSD being listed as a RAID
device in the UEFI or BIOS. The kernel might detect that and load the
RAID module.
Next boot then. I will check
Post by Aragorn
If you really had a RAID-6 configuration, you'd know about it,
wouldn't you? RAID-6 doesn't exactly set itself up automatically. ;)
Absolutely true Hence the head scratching.

There are other odd occurrences I was looking into and then I blundered
into the raid references. Got worried :-)

Regards
--
faeychild
Running plasmashell 5.20.4 on 5.15.35-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64 installed via Mageia-8-x86_64-DVD.iso
David W. Hodgins
2022-05-19 05:55:48 UTC
Permalink
Post by faeychild
I am poking through dmesg to pinpoint a problem and I found this
dmesg | grep -i raid
[ 0.162436] raid6: avx2x4 gen() 40069 MB/s
[ 0.179437] raid6: avx2x4 xor() 18405 MB/s
[ 0.196436] raid6: avx2x2 gen() 46932 MB/s
[ 0.213436] raid6: avx2x2 xor() 28318 MB/s
[ 0.230437] raid6: avx2x1 gen() 39386 MB/s
[ 0.247436] raid6: avx2x1 xor() 21443 MB/s
[ 0.264437] raid6: sse2x4 gen() 18615 MB/s
[ 0.281436] raid6: sse2x4 xor() 10823 MB/s
[ 0.298437] raid6: sse2x2 gen() 18897 MB/s
[ 0.315436] raid6: sse2x2 xor() 11622 MB/s
[ 0.332438] raid6: sse2x1 gen() 15950 MB/s
[ 0.349437] raid6: sse2x1 xor() 7860 MB/s
[ 0.349438] raid6: using algorithm avx2x2 gen() 46932 MB/s
[ 0.349439] raid6: .... xor() 28318 MB/s, rmw enabled
[ 0.349441] raid6: using avx2x2 recovery algorithm
[ 2.393424] systemd[1]: Starting Software RAID Monitor Takeover...
[ 2.433872] systemd[1]: Started Software RAID Monitor Takeover.
So I did some investigating and I have "mdadm" installed
/etc/mdadm.conf
/proc/mdstat
But I don't have all files mentioned in man mdadm.
I haven't installed raid per-se but is it a partial install by default
The raid6 messages are generated by the kernel as it finds the sata controller
is capable of supporting it. That doesn't indicate it's being used. Normally
the sata controller will be set up to use achi (Advanced Host Controller Interface)
mode rather then raid.

Packages such as mdadm, lvm, etc. are included in all of the regular iso images
and installed by default because if you are installing over an existing raid or
lvm install, they are needed. They do no harm if not actually being used other
a few messages in the journal.

Regards, Dave Hodgins
faeychild
2022-05-19 07:08:25 UTC
Permalink
Post by David W. Hodgins
lvm install, they are needed. They do no harm if not actually being used other
a few messages in the journal.
Regards, Dave Hodgins
My suspicions were in that orientation but it's nice get confirmation

Regards
--
faeychild
Running plasmashell 5.20.4 on 5.15.35-desktop-2.mga8 kernel.
Mageia release 8 (Official) for x86_64 installed via Mageia-8-x86_64-DVD.iso
Doug Laidlaw
2022-05-19 21:41:56 UTC
Permalink
Post by faeychild
Post by David W. Hodgins
lvm install, they are needed. They do no harm if not actually being used other
a few messages in the journal.
Regards, Dave Hodgins
My suspicions were in that orientation but it's nice get confirmation
Regards
My 2 inch solid-state drive that has never been detected by any OS still
makes RAID try about 4 times to load it, so RAID must see it as a drive.
I have always associated RAID with multiple drive scenarios, but this
thread suggests that RAID is of more general application. What exactly
is it?

TIA,

Doug.
David W. Hodgins
2022-05-19 23:17:45 UTC
Permalink
Post by Doug Laidlaw
My 2 inch solid-state drive that has never been detected by any OS still
makes RAID try about 4 times to load it, so RAID must see it as a drive.
I have always associated RAID with multiple drive scenarios, but this
thread suggests that RAID is of more general application. What exactly
is it?
It is a multi-drive utility.

What messages are you seeing to indicate it's trying to initiate a raid setup?
The "kernel raid6" messages are just indicating the sata controller(s) can
be used as raid controller(s).

Regards, Dave Hodgins
red floyd
2022-05-19 23:43:23 UTC
Permalink
thread redacted
This, of course, begs the question, why do computers with a single drive
slot default to a "RAID" setting instead of AHCI? I'm talking to you,
Dell.

Loading...