mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
- Add LUN 0 warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3454 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1658,6 +1658,12 @@ sub checkConfiguration {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!defined($$tgt{'LUN'}->{'0'})) {
|
||||
print "\t->WARNING: No LUN 0 defined for driver/target '$driver/$target'. ".
|
||||
"Many initiators require a LUN 0 to be defined.\n\n";
|
||||
$warnings++;
|
||||
}
|
||||
}
|
||||
|
||||
if (defined($$tgt{'GROUP'})) {
|
||||
@@ -1674,6 +1680,12 @@ sub checkConfiguration {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!defined($$tgt{'GROUP'}->{$group}->{'LUN'}->{'0'})) {
|
||||
print "\t->WARNING: No LUN 0 defined for driver/target/group '$driver/$target/$group'. ".
|
||||
"Many initiators require a LUN 0 to be defined.\n\n";
|
||||
$warnings++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user