Re: use dedicated storage for scsi_debug LUNs

2015-03-06 Thread Martin K. Petersen
Olaf == Olaf Hering o...@aepfle.de writes: Olaf Does that target code offer what scsi_debug offers, a bunch of Olaf stuff listable with 'lsscsi'? The latter can be passed to Olaf backstores/pscsi. Yes. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send

Re: use dedicated storage for scsi_debug LUNs

2015-03-06 Thread Olaf Hering
On Fri, Mar 06, Martin K. Petersen wrote: I agree with Doug. The target code is much more comprehensive than scsi_debug. You can set up file/disk/ram-backed SCSI LUNs on your machine without the need for any hardware . Does that target code offer what scsi_debug offers, a bunch of stuff

Re: use dedicated storage for scsi_debug LUNs

2015-03-06 Thread Martin K. Petersen
Olaf == Olaf Hering o...@aepfle.de writes: Olaf On Thu, Mar 05, Douglas Gilbert wrote: So it is possible. The stock answer has typically been that you should probably be using the target subsystem for that. Thoughts? Olaf Is the target subsystem capable of stacking? What I need for Olaf

Re: use dedicated storage for scsi_debug LUNs

2015-03-06 Thread Olaf Hering
On Thu, Mar 05, Douglas Gilbert wrote: So it is possible. The stock answer has typically been that you should probably be using the target subsystem for that. Thoughts? Is the target subsystem capable of stacking? What I need for xen-scsiback is a bunch of true SCSI devices. Due to lack of

Re: use dedicated storage for scsi_debug LUNs

2015-03-05 Thread Douglas Gilbert
On 15-03-05 10:33 AM, Olaf Hering wrote: I'm using scsi_debug to implement and test tools for xen-scsiback. Today I discovered that each LUN uses the very same storage, as described in the docs. What would it take to optionally use dedicated storage for each LUN? This is how I load scsi_debug:

use dedicated storage for scsi_debug LUNs

2015-03-05 Thread Olaf Hering
I'm using scsi_debug to implement and test tools for xen-scsiback. Today I discovered that each LUN uses the very same storage, as described in the docs. What would it take to optionally use dedicated storage for each LUN? This is how I load scsi_debug: modprobe scsi_debug add_host=4