[stgt] [PATCH] Allow to create a MMC LUN without backing store

ronnie sahlberg ronniesahlberg at gmail.com
Sat Dec 24 07:38:15 CET 2011


Tomo, List

Please find attached a patch to tgtadm to allow to create a new LUN
without a backingstore
if the device type is MMC.


This means that the LUN will be created, but no media is loaded, like
a CD/DVD which does not yet have a disk inserted.
This is useful both for scripts where you want to add media at a later
stage, but also for Jukeboxes where you probably want the initial
state of the system to be a reader without media mounted but lots of
media mounted in the storage slots, to later be moved to the reader
using the mtx command.



Maybe this should also allow creation of a LUN without media for SSC too?


regards
ronnie sahlberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Try-open-the-backing-file-as-readonly-if-the-initial.patch
Type: text/x-diff
Size: 1607 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20111224/9a044625/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Try-open-the-backing-file-as-readonly-if-the-initial.patch.gz
Type: application/x-gzip
Size: 687 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20111224/9a044625/attachment-0001.bin>


More information about the stgt mailing list