[illumos-Developer] Support for tuning iSCSI exported inquiry information

Garrett D'Amore garrett at nexenta.com
Sat Jan 22 22:52:24 PST 2011


Well, I think I'm going to have to eat my hat, because this surely seems
to be there... now I need to go back and figure out why we have that
code in the first place.

	- Garrett

On Sun, 2011-01-23 at 07:16 +0200, Cyril Plisko wrote:
> 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)
> 
> 





More information about the Developer mailing list