Hello list,
Sorry for this off-topic question, but i had no good idea where to ask.
I am looking for a solution wich can emulate SCSI device from a block device
like loop.
I need the sg device but not for special commands, but for reading and
writing only.
I have found only one solution until now, but i want to find better and
faster.
The actually working is ISCSI target and initiator in one pc.
But this opens up port, and makes a lot of IP packets even if i use lo for
this, wich is only a waste of time and resources.
Is there any solution for this allready?
Or somebody can help me where to search?
I am thinking to modify the ide-scsi to use blockdev instead of IDE
layer....
Thanks,
Janos Haar
On Sat, 7 Aug 2010 01:26:45 +0200
"Janos Haar" <[email protected]> wrote:
> I am looking for a solution wich can emulate SCSI device from a block device
> like loop.
> I need the sg device but not for special commands, but for reading and
> writing only.
> I have found only one solution until now, but i want to find better and
> faster.
> The actually working is ISCSI target and initiator in one pc.
> But this opens up port, and makes a lot of IP packets even if i use lo for
> this, wich is only a waste of time and resources.
scsi-debug should work for you.
Hi,
Thanks for the tip.
I have not used this before.
But now i have readed the documentation, and for me it looks like scsi-debug
can work only in RAM and can make only volatile drives.
Have i missed someting? :-)
Thanks,
Janos Haar
----- Original Message -----
From: "FUJITA Tomonori" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Sunday, August 08, 2010 10:50 AM
Subject: Re: scsi emulation - question
> On Sat, 7 Aug 2010 01:26:45 +0200
> "Janos Haar" <[email protected]> wrote:
>
>> I am looking for a solution wich can emulate SCSI device from a block
>> device
>> like loop.
>> I need the sg device but not for special commands, but for reading and
>> writing only.
>> I have found only one solution until now, but i want to find better and
>> faster.
>> The actually working is ISCSI target and initiator in one pc.
>> But this opens up port, and makes a lot of IP packets even if i use lo
>> for
>> this, wich is only a waste of time and resources.
>
> scsi-debug should work for you.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
On Sat, 7 Aug 2010 12:35:14 +0200
"Janos Haar" <[email protected]> wrote:
> But now i have readed the documentation, and for me it looks like scsi-debug
> can work only in RAM and can make only volatile drives.
Yes. If you store data to a file, a device, etc, iSCSI is the only
option.