]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm/tests: 03assem-incr enhance
authorXiao Ni <xni@redhat.com>
Wed, 22 May 2024 08:50:44 +0000 (16:50 +0800)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 24 May 2024 08:05:19 +0000 (10:05 +0200)
commit23f45965a0abe3506885c8e8005ee79473a66422
tree6af51d8cfd6aee8d7acf8f493c60b20a38301f86
parent41706a91568472d10153bf4ada3c3f0d93ef327a
mdadm/tests: 03assem-incr enhance

It fails when hostname lenght > 32. Because the super1 metadata name
doesn't include hostname when hostname length > 32. Then mdadm thinks
the array is a foreign array if no device link is specified when
assembling the array. It chooses a minor number from 127.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
test
tests/03assem-incr