[stgt] Bug report, target offline / online

Albert Pauw albert.pauw at gmail.com
Sat May 2 06:18:07 CEST 2009


I am using the latest git version.

Tomasz Chmielewski wrote:
> Albert Pauw schrieb:
>> The initd sample script contains the following:
>>
>>    tgtadm --op update --mode sys --name State -v offline
>>    # Configure the targets.
>>    tgt-admin -e -c $TGTD_CONFIG
>>    # Put tgtd into "ready" state.
>>    tgtadm --op update --mode sys --name State -v ready
>>
>>
>> However, the offline/ready stuff comes back with "tgtadm: invalid 
>> request".
>>
>> The line from the README files to do this:
>>
>> [root at orange doc]# tgtadm --tid 1 --lun 1 --op update --mode 
>> logicalunit --name online --value No
>>
>> Comes back with the following error:
>>
>> tgtadm: option '-n' not supported in logicalunit mode
>>
>>
>> What is the correct line to set a target offline and online?
>
> What version exactly do you use?
>
>

--
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 mailing list