[OmniOS-discuss] Ang: Re: Setting LUN properties

Gordon Selisek gordon at hafnia.dk
Fri Jan 8 16:59:39 UTC 2016


Dan + Johan,



thank you, but the omnios man page says:



sbdadm create-lu [-s, --size size] filename



there are no -p option. 



and even if i use it, i get the error message create-lu: illegal option -- p



i know my question might come over a bit amateurish, but it's legit ;-) so are there any other way to do it?

 



---- On Fri, 08 Jan 2016 17:32:35 +0100 Johan Kragsterman <johan.kragsterman at capvert.se>wrote ---- 






Hi! 

 

 

-----"OmniOS-discuss" <omnios-discuss-bounces at lists.omniti.com> skrev: ----- 

Till: Gordon Selisek <gordon at hafnia.dk> 

Från: Dan McDonald 

Sänt av: "OmniOS-discuss" 

Datum: 2016-01-08 16:35 

Kopia: "omnios-discuss at lists.omniti.com" <omnios-discuss at lists.omniti.com> 

Ärende: Re: [OmniOS-discuss] Setting LUN properties 

 

> On Jan 8, 2016, at 3:27 AM, Gordon Selisek <gordon at hafnia.dk> wrote: 

> 

> 

> Hello, and happy new year to everyone. 

> 

> Can anybody enlighten me on how to set any unique LUN property, that I'm able to retrieve on the Initiator using Win32_DiskDrive ? 

> 

> You know like on Solaris 11.2 

> 

> create-lu [&#8211;p, &#8211;-lu-prop logical-unit-property=val &#8211;-s, &#8211;-size size] lu-file 

> 

> Btw, I'm on r151016 

 

bloody(~)[1]% stmfadm create-lu -\? 

 

Usage:  stmfadm create-lu [OPTIONS] <lu file> 

        OPTIONS: 

                -p, --lu-prop  <logical-unit-property=value> 

                -s, --size  <size K/M/G/T/P> 

 

.  .  . 

 

Looks like you'd do it that way. 

 

Dan 

 

 

 

 

 

You just check out stmfadm admin commands on this site: 

 

http://docs.oracle.com/cd/E26502_01/html/E29031/stmfadm-1m.html#scrolltoc 

 

There are 13 different property possibilities listed there. 

 

 

/Johan 

 

 

_______________________________________________ 

OmniOS-discuss mailing list 

OmniOS-discuss at lists.omniti.com 

http://lists.omniti.com/mailman/listinfo/omnios-discuss 

 

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160108/8fcacb33/attachment-0001.html>


More information about the OmniOS-discuss mailing list