[stgt] tgt-admin functionality
mangoo at wpkg.org
Fri Apr 8 11:31:46 CEST 2011
On 08.04.2011 10:43, James Pattinson wrote:
> I've made a small patch against tgt-admin that's hardly worth sharing
> but it is useful for me as it adds support for device-type and bs-type.
Diff generated with -u is much more readable.
We already support device-type and bs-type - see targets.conf.example.
Maybe you have some old version? Try grabbing the latest tgt release.
> While browsing the code it seems to be that tgt-admin is currently
> limited in that it can only effectively configure 1 LUN per target with
> the correct options.
Doesn't this work for you? See targets.conf.example. Or, did you mean
backing-store /dev/LVM/somedevice1 # Becomes LUN 1
backing-store /dev/LVM/somedevice2 # Becomes LUN 2
backing-store /dev/LVM/somedevice3 # Becomes LUN 3
vendor_id MyCompany Inc.
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