From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: linux-raid@vger.kernel.org
Cc: Andreas Klauer <Andreas.Klauer@metamorpher.de>
Subject: mdadm 4.3 rejects /dev/md128 and larger numbers
Date: Mon, 4 Mar 2024 14:19:29 +0100 [thread overview]
Message-ID: <ZeXKYbxagk7SD0UH@metamorpher.de> (raw)
Hello,
since mdadm 4.3, trying to use numbers larger than 127 results in:
mdadm: Value "/dev/md3032" cannot be set as devname.
Reason: Not POSIX compatible. Value ignored.
Because in util.c :: is_devname_numbered() (commit 25aa73291):
if (val > 127)
return false;
The kernel seems to be fine with MINORMASK (2^20 - 1).
If so, instead of 127, the limit here should be 1048575?
I don't need a million arrays. But I do have more arrays than
average because I use partitions instead of one big array
for everything. And some flexibility in using distinct number
ranges per group of arrays makes /proc/mdstat easier to read.
Regards,
Andreas Klauer
next reply other threads:[~2024-03-04 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 13:19 Andreas Klauer [this message]
2024-03-04 15:00 ` mdadm 4.3 rejects /dev/md128 and larger numbers Mariusz Tkaczyk
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=ZeXKYbxagk7SD0UH@metamorpher.de \
--to=andreas.klauer@metamorpher.de \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).