Re: [bug report] mdadm: Unable to initialize sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,Xiao

yes,  succeed assemble  RAID array with the latest upstream mdadm,
# mdadm -A /dev/md0 /dev/sda /dev/sdb
mdadm: /dev/md0 has been started with 2 drives.
# mdadm -V
mdadm - v4.4-55-g787cc1b6 - 2025-07-09

if not install the latest upstream mdadm,
this issue will be hit in the upstream kernel git/axboe/linux-block.git,
but not triggered in git/torvalds/linux.git,

is there anything that need to be fixed in git/axboe/linux-block.git?

Thanks,

On Thu, Jul 24, 2025 at 3:18 PM Xiao Ni <xni@xxxxxxxxxx> wrote:
>
> Hi Changhui
>
> I guess you need to use the latest upstream mdadm. Could you have a
> try with https://github.com/md-raid-utilities/mdadm/
>
> Regards
> Xiao
>
> On Thu, Jul 24, 2025 at 3:07 PM Changhui Zhong <czhong@xxxxxxxxxx> wrote:
> >
> > Hello,
> >
> > mdadm fails to initialize the sysfs interface while attempting to
> > assemble a RAID array,
> > please help check and let me know if you need any info/test, thanks.
> >
> > repo: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
> > branch: for-next
> > INFO: HEAD of cloned kernel
> > commit a8fa1731867273dd09125fd23cc1df4c33a7dcc3
> > Merge: b41d70c8f7bf 5ec9d26b78c4
> > Author: Jens Axboe <axboe@xxxxxxxxx>
> > Date:   Tue Jul 22 19:10:37 2025 -0600
> >
> >     Merge branch 'for-6.17/block' into for-next
> >
> > reproducer:
> > # mdadm -CR /dev/md0 -l 1 -n 2 /dev/sdb /dev/sdc -e 1.0
> > mdadm: array /dev/md0 started.
> > # mdadm -S /dev/md0
> > mdadm: stopped /dev/md0
> > # mdadm -A /dev/md0 /dev/sdb /dev/sdc
> > mdadm: Unable to initialize sysfs
> > # rpm -qa | grep mdadm
> > mdadm-4.4-2.el10.x86_64
> >
> > and not hit this issue with upstream kernel
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >
> >
> > Best Regards,
> > Changhui
> >
>






[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux