sg_persist is part of the sg3_utils package.  Don't know if there's a
repo out there with binaries, but it compiles easily on Omni:

http://sg.danny.cz/sg/sg3_utils.html

Kevin

On 01/02/2015 11:28 AM, Johan Kragsterman wrote:
> 
> 
> -----"OmniOS-discuss" <[email protected]> skrev: -----
> Till: Richard Elling <[email protected]>
> Från: Johan Kragsterman 
> Sänt av: "OmniOS-discuss" 
> Datum: 2015-01-02 18:53
> Kopia: "[email protected]" <[email protected]>
> Ärende: [OmniOS-discuss] Ang: Ang: Ang: Re: LU read only and r/w for  
> different       hosts?
> 
> Hmmm again....a lot of hmmm's here today...
> 
> 
> Been reading some more, and it looks like it is possible to reserve at LU 
> level. I found a guy that uses an sg-persist command on solaris 11.1, but I 
> don't find it in OmniOS. I did a pkg search, but perhaps I don't know what to 
> search for...?
> 
> 
> 
> 
> Me again...
> 
> 
> Seems to be a good possibility that this can be configured using the 
> sg3_utils?
> 
> I've seen the reference to that before here on list, but I don't find any 
> pkg...
> 
> Hint's???
> 
> 
> Rgrds Johan
> 
> 
> 
> 
> 
> -----"OmniOS-discuss" <[email protected]> skrev: -----
> Till: Richard Elling <[email protected]>
> Från: Johan Kragsterman 
> Sänt av: "OmniOS-discuss" 
> Datum: 2015-01-02 17:53
> Kopia: "[email protected]" <[email protected]>
> Ärende: [OmniOS-discuss] Ang: Ang: Re: LU read only and r/w for different     
> hosts?
> 
> 
> -----"OmniOS-discuss" <[email protected]> skrev: -----
> Till: Richard Elling <[email protected]>
> Från: Johan Kragsterman 
> Sänt av: "OmniOS-discuss" 
> Datum: 2015-01-02 17:38
> Kopia: "[email protected]" <[email protected]>
> Ärende: [OmniOS-discuss] Ang: Re: LU read only and r/w for different hosts?
> 
> 
> -----Richard Elling <[email protected]> skrev: -----
> Till: Johan Kragsterman <[email protected]>
> Från: Richard Elling <[email protected]>
> Datum: 2015-01-02 16:03
> Kopia: "[email protected]" <[email protected]>
> Ärende: Re: [OmniOS-discuss] LU read only and r/w for different hosts?
> 
> It has been a while since using comstar, but the SCSI protocol has
> WERO group reservations. Would that suffice?
> 
>  -- richard
> 
> 
> 
> Yeah, I believe so....question is how I can manage it? It doesn't seem to be 
> a part of stmfadm, so I need to do it elsewhere, if possible...so you, or 
> someone else, got some ideas...?
> 
> 
> Rgrds Johan
> 
> 
> 
> Hmm, been reading up a little on the PR and WERO....it seems to be 
> registering on DEVICE level, not on LU level, huh? Or do I misinterpret 
> something here...?
> 
> 
> 
> 
> 
> 
>> On Jan 2, 2015, at 12:18 AM, Johan Kragsterman 
>> <[email protected]> wrote:
>>
>> Hi!
>>
>>
>> I've been thinking about this for a while, and haven't figured out a 
>> solution.
>>
>> I'd like to have a possibility to set LU read only for some hosts, but r/w 
>> to others, for the same LU. There are possibilities to set read only, or 
>> r/w, on a LU, but that property is valid for all hosts, it is not(afaik) 
>> possible to choose which hosts are going to get read only, and which are 
>> going to get r/w.
>>
>> This is an access controll operation, and as such, imho, should be 
>> controlled by comstar. It is the responsability of the view to handle this, 
>> but I haven't seen this anywhere in the comstar/stmf configuration 
>> posibilities.
>>
>> Are there someone on this list that can shed some light on this?
>>
>>
>> Best regards from/Med vänliga hälsningar från
>>
>> Johan Kragsterman
>>
>> Capvert
>>
>> _______________________________________________
>> OmniOS-discuss mailing list
>> [email protected]
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> [email protected]
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> [email protected]
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> [email protected]
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> [email protected]
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 

-- 
-------------------------------------------------------------------
Kevin Swab                          UNIX Systems Administrator
ACNS                                Colorado State University
Phone: (970)491-6572                Email: [email protected]
GPG Fingerprint: 7026 3F66 A970 67BD 6F17  8EB8 8A7D 142F 2392 791C
_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to