Skip to contentSkip to conversation

Dynamic scsi_debug module

DISCUSSION Phillip Susi 3 participants 4 messages Feb 7, 2014 SCSI

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it possible to use the scsi_debug module to create more than one device? It seems to me that it needs rewritten to have an interface to dynamically create devices and set their parameters with a tool like losetup, rather than using module parameters.

I found some references to being able to load certain modules multiple times using modprobe -o, but this option does not seem to exist.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS9TOaAAoJEI5FoCIzSKrwEPAH/07+mgbvCIYfJ60DPoZAOIoa tN5D0ABI1Qw3DGIUqHQcdT9pUDcGdXRfO+akBtsvmCGQGI3W7lZphVzie1OwhAEq OiEbeT07EbLCGhP/UY9tmKssAXjeai7UZrbUDfvuvxSgBEmqFzCxyGHMCOAG7pfj iYW38h1xiMq7vZyttSJ4yIFDJnm9IAa8+lemhnqs2XPwzrmpod2yfgJcm4cpxkfY Mcix+qw7YhBNNtuHXk7BSgQDEB01w1dB4jjmTzH0VwUsbf4F45zq5IvI21f/m7DO 9Tzsvhd3DVDgYYpEMJTgnuts9vE0L8hX5xjE50QlT7/izv1XR9gVSwgh8PJOA74= =GLCo
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Phillip" == Phillip Susi <[email protected]> writes:

Phillip> Is it possible to use the scsi_debug module to create more than Phillip> one device? It seems to me that it needs rewritten to have an Phillip> interface to dynamically create devices and set their Phillip> parameters with a tool like losetup, rather than using module Phillip> parameters.

The question is how much sense it makes to invest in scsi_debug now that we have the LIO target in the kernel?

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · Martin K. Petersen

The question is how much sense it makes to invest in scsi_debug now that we have the LIO target in the kernel?

Thanks, I hadn't heard of this. It looks interesting, though a bit complicated.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS9VHPAAoJEI5FoCIzSKrwZAsH/iXhw0Ng+eH8Jnad0/iv00+U ZHDThYnCiTUe9NcxDwQ0gFBkWAXrQsLk6pHajCTXghETt4ZSfhLrM8TU9x128shH FW3z0TfSdLka4Q2V8pA1UOCGTXYF1+/KUtknxE2UWUnXMXiiUcKdlkSmWvfx6UBP 8H4KzLXoPSnmPQ8rGAI1fTWZhvHqYyIqDcRktNg1u3I4CLTUeqmXcudOhs5ZJPNZ BMDH3IKht5P6PpGfWvHvham97ho8Sj4PeoBPQNVjGGu8CtC8fQFkVh1sBezH0M0f mi1Fq9ddEOxgfFlJZAHs15iwCQKepCm4gYArRwrUD24w9s5ceT5Uni57Yxa4W5E= =xQ6u
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 7 lines · Phillip Susi
Quoted 2 lines · Martin K. Petersen

The question is how much sense it makes to invest in scsi_debug now that we have the LIO target in the kernel?

Thanks, I hadn't heard of this. It looks interesting, though a bit complicated.

Just FYI, a 'apt-get install targetcli' should set you up with everything on the user-space side required to run LIO target + associated fabric drivers.

--nab