On 7/31/19 1:29 AM, Coly Li wrote: > When creating symlink of a md raid device, the detailed information of > component disks are unnecessary for rule udev-md-raid-arrays.rules. For > md raid devices with huge number of component disks (e.g. 1500 DASD > disks), the detail information of component devices can be very large > and exceed udev monitor's on-stack message buffer. > > This patch adds '--no-devices' option when calling mdadm by, > IMPORT{program}="BINDIR/mdadm --detail --no-devices --export $devnode" > > Now the detailed output won't include component disks information, > and the error message "invalid message length" reported by systemd can > be removed. > > Signed-off-by: Coly Li <colyli@xxxxxxx> > Reviewed-by: NeilBrown <neilb@xxxxxxxx> Applied! Thanks Jes