Re: [libvirt] [RFC 5/5]: Rewrite findLuns function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Lalancette schreef:
# cat /sys/bus/scsi/devices/3:0:0:0/model

skinkie@xen01 ~ $ cat /sys/bus/scsi/devices/3:0:0:0/model
SOLARIS

skinkie@xen01 ~ $ cat /sys/bus/scsi/devices/2\:0\:0\:0/model
LUN

and

# cat /sys/bus/scsi/devices/3:0:0:0/type

skinkie@xen01 ~ $ cat /sys/bus/scsi/devices/3:0:0:0/type
0

skinkie@xen01 ~ $ cat /sys/bus/scsi/devices/2\:0\:0\:0/type
0

from both your netapp target and your sun target?  Here, at least, for our
"control" LUN, model returns "Controller" while for the real LUNs model returns
"VIRTUAL-DISK", so I'm hoping I can distinguish somehow based on what is in
model, and if not that, based on type.

What does the Controller actually do on a 'Linux' target?


Stefan

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]