Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: can anyone give me detailed architecture of LIO #184

Open
onkar6699 opened this issue Mar 25, 2021 · 3 comments
Open

Question: can anyone give me detailed architecture of LIO #184

onkar6699 opened this issue Mar 25, 2021 · 3 comments

Comments

@onkar6699
Copy link

No description provided.

@gonzoleeman
Copy link
Contributor

As I replied in open-iscsi, please do some research first.

@onkar6699 onkar6699 reopened this Mar 25, 2021
@onkar6699
Copy link
Author

@gonzoleeman i read articles that you mentioned thank you i got some idea from this but just can you help me that LIO uses which kernel modules and how they collaborate with each other

@gonzoleeman
Copy link
Contributor

Try:

lsmod | fgrep target

You have configfs, which is needed for target modules, and target_core_*, and iscsi_target_mod (if using iscsi).

Try:

for rpm in rtslib configshell targetcli; do rpm -ql python3-${rpm}-fb | xargs fgrep modprobe; done

(not actually tested, but that should be close)

Looks like (on my distro) that rtslib-fb does most of the "modprobe".

The interaction between user-level LIO code and the kernel is configfs, i.e. that's where the user-level code reads information and writes config changes.

You can enable debugging in the target subsystem(s) then perform simple tasks (like adding or deleting a target).

@gonzoleeman gonzoleeman changed the title can anyone give me detailed architecture of LIO Question: can anyone give me detailed architecture of LIO Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants