[stgt] Late opening of the backing store

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Jan 18 22:31:19 CET 2012


On Wed, 18 Jan 2012 18:20:35 +0100
**UNKNOWN CHARSET** <me at moshe.nl> wrote:

> When a LUN is created with tgtd, tgtd immediately open()s the backing 
> store, however I don't think data is actually read before a connection 
> from an initiator is made.
> 
> My question is, is there an option to make tgtd open the file the 
> moment a connection is made (and not before)?
> And if this is not currently possible, what would it take to implement 
> this?
> As a related feature, the backing store could be close()d after the 
> (last) connection has ended.

tgt enables you to add/remove logical units any time. Why you can't
add a device such as lvm volumes when it's ready?
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list