Closed DCL-DrewL closed 5 months ago
You probably needed a fresh run of sudo check_raid -S
.
Could it be that dmsetup
was installed recently, i.e after previous check_raid -S
was used?
described in the project readme, plugin will try to use all plugins it is able to, depending on tools installed. however you could force using specific plugins only with --plugin
flag.
AFAIK dmsetup has been installed since build, though the install predates me, it's an inherited system. The utility is for use with the device-mapper, which I've only used in combination with LVM and DRDB. Possibly part of the default installation, which would also explain why the md RAID utilities are installed.
Thanks for looking!
Either way, update sudo rules via -S flag, or force use only specific plugin(s). Nothing further to be done here. or I don't understand the goal of your bug report.
As subject, getting a sudo error when running the script. The final output generated is correct, but sudo errors are kicked out by running /sbin/dmsetup.
The fix here is to update the /etc/sudoers.d/check_raid, adding the /sbin/dmsetup commands.
After adding the dmsetup commands.
I'm running a HP SmartStorage SAS controller on Ubuntu 20.04.6 LTS. No MD RAID is configured, and arcconf is not installed.