Hans de Goede wrote:
- No API for enumerating the LUNs in a target once you're logged in ?
open-iscsi / iscsiadm does not do this, it merely creates a virtual scsi
adapter and then the generic kernel scsi code does this (AFAIK).
I think you guys are talking about different things. open-iscsi/iscsiadm
just does the iscsi parts and so it asks the scsi layer to find and
setup/destroy luns. However, I think Daniel just wanted a way to see the
mapping of a iscsi session to its target and luns (so the session to
host/target/lun mappings see when you do iscsiadm -m session -P 3).
I think Daniel also might want a command to execute some opertaion on a
lun under a target like rescan (iscsiadm -m session -R would ask the
scsi layer to find new luns on a session) or delete. Or maybe if we can
just provide the info for the mappings they could use a more generic
SCSI lib to rescan, delete, etc.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list