[illumos-Developer] Support for tuning iSCSI exported inquiry information
Cyril Plisko
cyril.plisko at mountall.com
Sat Jan 22 21:16:50 PST 2011
On Sun, Jan 23, 2011 at 7:07 AM, Garrett D'Amore <garrett at nexenta.com> wrote:
> On Sat, 2011-01-22 at 20:33 -0800, Eric Schrock wrote:
>> Can these be set today on a per-target basis?
>
> In our patch code, yes. Via driver.conf properties. In the current
> illumos code, there is not a mechanism to set them.
Are you sure ? Original stmfadm had this capability. See below.
There are vid, pid, and serial properties that would do exactly that.
hellride:~$ stmfadm create-lu
stmfadm: create-lu requires an operand
Usage: stmfadm create-lu [OPTIONS] <lu file>
OPTIONS:
-p, --lu-prop <logical-unit-property=value>
-s, --size <size K/M/G/T/P>
Description: Create a logical unit.
Valid properties for -p, --lu-prop are:
alias - alias for logical unit (up to 255 chars)
blk - block size in bytes in 2^n
guid - 32 ascii hex characters in NAA format
host-id - host identifier to be used for GUID generation
8 ascii hex characters
meta - separate meta data file name
mgmt-url - Management URL address
oui - organizational unique identifier
6 ascii hex characters of valid format
pid - product identifier (up to 16 chars)
serial - serial number (up to 252 chars)
vid - vendor identifier (up to 8 chars)
wcd - write cache disabled (true, false)
wp - write protect (true, false)
--
Regards,
Cyril
More information about the Developer
mailing list