All of lore.kernel.org
 help / color / mirror / Atom feed
* scsi emulation - question
@ 2010-08-06 23:26 Janos Haar
  2010-08-08  8:50 ` FUJITA Tomonori
  0 siblings, 1 reply; 4+ messages in thread
From: Janos Haar @ 2010-08-06 23:26 UTC (permalink / raw)
  To: linux-kernel

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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scsi emulation - question
  2010-08-08  8:50 ` FUJITA Tomonori
@ 2010-08-07 10:35   ` Janos Haar
  2010-08-08 10:43     ` FUJITA Tomonori
  0 siblings, 1 reply; 4+ messages in thread
From: Janos Haar @ 2010-08-07 10:35 UTC (permalink / raw)
  To: FUJITA Tomonori; +Cc: linux-kernel

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" <fujita.tomonori@lab.ntt.co.jp>
To: <janos.haar@netcenter.hu>
Cc: <linux-kernel@vger.kernel.org>
Sent: Sunday, August 08, 2010 10:50 AM
Subject: Re: scsi emulation - question


> On Sat, 7 Aug 2010 01:26:45 +0200
> "Janos Haar" <janos.haar@netcenter.hu> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/ 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scsi emulation - question
  2010-08-06 23:26 scsi emulation - question Janos Haar
@ 2010-08-08  8:50 ` FUJITA Tomonori
  2010-08-07 10:35   ` Janos Haar
  0 siblings, 1 reply; 4+ messages in thread
From: FUJITA Tomonori @ 2010-08-08  8:50 UTC (permalink / raw)
  To: janos.haar; +Cc: linux-kernel

On Sat, 7 Aug 2010 01:26:45 +0200
"Janos Haar" <janos.haar@netcenter.hu> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: scsi emulation - question
  2010-08-07 10:35   ` Janos Haar
@ 2010-08-08 10:43     ` FUJITA Tomonori
  0 siblings, 0 replies; 4+ messages in thread
From: FUJITA Tomonori @ 2010-08-08 10:43 UTC (permalink / raw)
  To: janos.haar; +Cc: fujita.tomonori, linux-kernel

On Sat, 7 Aug 2010 12:35:14 +0200
"Janos Haar" <janos.haar@netcenter.hu> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-08 10:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 23:26 scsi emulation - question Janos Haar
2010-08-08  8:50 ` FUJITA Tomonori
2010-08-07 10:35   ` Janos Haar
2010-08-08 10:43     ` FUJITA Tomonori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.