[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[aperi-dev] (Proposed) fix / checkin for bug #208708
|
Hi everyone,
Uhm, before I check-in ...
It seems like Simona already coded a great fix for bug #208708:
DevAccess.java 1.1.2.1
ProbeLinux.java 1.3.2.1
I merged these (non-conflicting), and made one small change to
ProbeLinux.java - to check for "Virtual" rather than "VirtualDisk" -
//-----------------------------------------------------------------
// The "Direct-Access" search below also counts the "VirtualDisk"
// multipath entries. This causes the Probe code to think there
// are more devices than there really are. To resolve this, ignore
// any "VirtualDisk" entries from the scsiDisks count.
//-----------------------------------------------------------------
if (line.indexOf("Virtual") > -1) {
bIgnore = true;
}
and this now works great on a server with the following devices and
kernel:
fed4:/home/rawipfel/Aperi-Dev/Code/AperiDebug/agent/log/fed4.cas.lab.novell.com # lsscsi
[0:0:8:0] enclosu DP BACKPLANE 1.05 -
[0:2:0:0] disk DELL PERC 5/i 1.03 /dev/sda
[1:0:0:0] storage COMPAQ MSA1000 5.10 -
[1:0:0:1] disk COMPAQ MSA1000 VOLUME 5.10 /dev/sdb
[1:0:0:2] disk COMPAQ MSA1000 VOLUME 5.10 /dev/sdc
[1:0:0:3] disk COMPAQ MSA1000 VOLUME 5.10 /dev/sdd
[1:0:0:4] disk COMPAQ MSA1000 VOLUME 5.10 /dev/sde
[2:0:0:0] cd/dvd Dell Virtual CDROM 123 /dev/sr0
[3:0:0:0] disk Dell Virtual Floppy 123 /dev/sdf
Linux fed4 2.6.16.46-0.12-xen #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
May I check in?
Thanks,
Robert