[stgt] [PATCH 0/0] Allow creating a SBC jukebox

ronnie sahlberg ronniesahlberg at gmail.com
Sun Jan 29 07:04:38 CET 2012

Good point.

Please see attached patch.
It allows to control whether the DataTransfer device (through which
the initiators access the snapshots) should be read-write or read-only

Yes, now that we have a really nice and very useful enterprise feature
 some writeup and pretty pictures of using it would be good.
Let me see what I can come up with over the next few weeks or so.

ronnie sahlberg

On Sun, Jan 29, 2012 at 7:54 AM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Sat, 28 Jan 2012 14:28:41 +1100
> Ronnie Sahlberg <ronniesahlberg at gmail.com> wrote:
>> 1, This allows creating a SBC device without any backing store. I.e. no media loaded yet.
>> It automatially forces such devices to be removable==1  and online==0 (no media loaded)
>> 2, Add a new option to SMC so that you can force a storage elemet slot to become Empty.
>> 3, Now, This is the funky stuff this has all been leading up to:
>> Add documentation/script to create a SBC jukebox.
>> This jukebox (when used ontop of BTRFS) can take snapshots of a different file
>> (a file used to be exported as a normal SBC LUN thought a different target)
>> that file can be snapshotted regularely via a cronjob.
>> All x most recent snbapshots are then exported via a dedicated snapshot-target when an
>> initiator can attach, pich which nsnapshot it wants to use (using MTX) and then access
>> the content of the snapshot.
>> i.e.
>> You export a SBC LUN to an initiator.
>> Then you use this snapshot script to create regular snapshots of that SBC device.
>> These snapshots are then exported with a mediachanger through a different target to different initiators.
>> Those other initiators can now access these point in time snapshots of the production LUN.
> Shapshots are exported in read-only mode, right?
> Anyway, the feature sounds really cool. You should talk about it at
> a conference or post an article at a popular web site :)
> Merged, thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SBC-Jukebox-Allow-the-snapshots-to-be-read-only-or-r.patch.gz
Type: application/x-gzip
Size: 865 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20120129/89bd4a87/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SBC-Jukebox-Allow-the-snapshots-to-be-read-only-or-r.patch
Type: text/x-diff
Size: 1562 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20120129/89bd4a87/attachment-0002.patch>

More information about the stgt mailing list