Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical device not detected #8

Open
ewiesmann opened this issue Jul 8, 2020 · 1 comment
Open

Logical device not detected #8

ewiesmann opened this issue Jul 8, 2020 · 1 comment

Comments

@ewiesmann
Copy link

Hi,

on a Windows Server 2019 an existing Logicat Device is not detected.

In line 293 of check_adaptec_raid we search for "^Logical device number ([0-9]+)$"

arcconf (Version 3.03.00 (23668) ) outputs:

    ----------------------------------------------------------------------
    Logical device information
    ----------------------------------------------------------------------
    Logical Device number 0
    ...

Caused by case sensitive pattern matching no "Logical device number" is found

May be a better attempt would be to search case insensitive:
if($line =~ /^Logical device number ([0-9]+)$/**i**){

Best regards,
Edgar

@ewiesmann
Copy link
Author

code line shoud look like this:
if($line =~ /^Logical device number ([0-9]+)$/i){

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant