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

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



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


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