From: Franco Martelli <martellif67@gmail.com>
To: linux-raid@vger.kernel.org
Cc: xni@redhat.com, ncroxon@redhat.com, mtkaczyk@kernel.org
Subject: Unable to set group_thread_cnt using mdadm.conf
Date: Fri, 17 Oct 2025 16:07:31 +0200 [thread overview]
Message-ID: <608328b7-9dfe-4edd-afd5-68366fb845bc@gmail.com> (raw)
Hello,
I've a RAID5 array on Debian 13:
~$ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [raid0] [raid1] [raid10]
md0 : active raid5 sda1[0] sdc1[2] sdd1[3](S) sdb1[1]
1953258496 blocks super 1.2 level 5, 512k chunk, algorithm 2
[3/3] [UUU]
unused devices: <none>
~# mdadm --version
mdadm - v4.4 - 2024-11-07 - Debian 4.4-11
the issue is that I can't set group_thread_cnt if I use the syntax
described in mdadm.conf(5) man-page:
…
SYSFS name=/dev/md/raid5 group_thread_cnt=4 sync_speed_max=1000000
SYSFS uuid=bead5eb6:31c17a27:da120ba2:7dfda40d group_thread_cnt=4
sync_speed_max=1000000
my "mdadm.conf" is:
~$ grep -v '^#' /etc/mdadm/mdadm.conf
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md/0 metadata=1.2 UUID=8bdf78b9:4cad434c:3a30392d:8463c7e0
spares=1
SYSFS name=/dev/md/0 group_thread_cnt=8
SYSFS uuid=8bdf78b9:4cad434c:3a30392d:8463c7e0 sync_speed_max=1000000
after I makes changes to the file "mdadm.conf" I rebuild the initramfs
image file and reboot. The thing that seems strange to me is that the
other item I set (sync_speed_max) is changed accordingly, only
"group_thread_cnt" fails to set (it's always ==0):
~$ cat /sys/block/md0/md/group_thread_cnt
0
~$ cat /sys/block/md0/md/sync_speed_max
1000000 (system)
Why "sync_speed_max" is set while "group_thread_cnt" it is not? Any clue?
Thanks in advance, kind regards.
--
Franco Martelli
next reply other threads:[~2025-10-17 14:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-17 14:07 Franco Martelli [this message]
2025-10-20 14:40 ` Unable to set group_thread_cnt using mdadm.conf Xiao Ni
2025-10-20 19:22 ` Franco Martelli
2025-10-21 0:33 ` Xiao Ni
-- strict thread matches above, loose matches on Subject: below --
2025-10-14 19:53 Franco Martelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=608328b7-9dfe-4edd-afd5-68366fb845bc@gmail.com \
--to=martellif67@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=mtkaczyk@kernel.org \
--cc=ncroxon@redhat.com \
--cc=xni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox