Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stmfofflinelogicalunit(3stmf) [opensolaris man page]

stmfOfflineLogicalUnit(3STMF)			   SCSI Target Mode Framework Library Functions 		     stmfOfflineLogicalUnit(3STMF)

NAME
stmfOfflineLogicalUnit - take offline a logical unit that is currently in the online state SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfOfflineLogicalUnit(stmfGuid *logicalUnit); PARAMETERS
logicalUnit The identifier of the logical unit to offline. DESCRIPTION
The stmfOfflineLogicalUnit() function takes offline a logical unit that is currently in the online state. Once in the offline state, the logical unit will no longer be capable of servicing requests in the system. This API call can be used to take offline a logical unit for servicing. Once the logical unit is offline, an initiator port that attempts to issue any SCSI commands to the offlined logical unit will receive a check condition. For purposes of the REPORT LUNS command, the logi- cal unit will no longer appear in the logical unit inventory for any initiator ports to which it is currently mapped by one or more view entries. RETURN VALUES
The following values are returned: STMF_ERROR_BUSY The device is currently busy. STMF_STATUS_SUCCESS The API call was successful. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libstmf(3LIB), attributes(5) SunOS 5.11 9 Jun 2008 stmfOfflineLogicalUnit(3STMF)

Check Out this Related Man Page

stmfOfflineTarget(3STMF)			   SCSI Target Mode Framework Library Functions 			  stmfOfflineTarget(3STMF)

NAME
stmfOfflineTarget - take offline a target port that is currently in the online state SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfOfflineTarget(stmfDevid *target); PARAMETERS
target The identifier of the target port to offline. DESCRIPTION
The stmfOfflineTarget() function takes offline a target port that is currently in the online state. Once in the offline state, the target port will no longer be capable of servicing requests in the system. This API call can be used to take offline a target port device for servicing. Once the target port is offline, it will no longer be avail- able to any entities outside of the SCSI Target Mode Framework. Any initiator ports that currently have sessions established by the offlined target port will be logged out. RETURN VALUES
The following values are returned: STMF_ERROR_BUSY The device is currently busy. STMF_STATUS_SUCCESS The API call was successful. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libstmf(3LIB), attributes(5) SunOS 5.11 9 Jun 2008 stmfOfflineTarget(3STMF)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hard drives

Will some one tell me what this means. "warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20." I'm running SCO 505 on a proliant 1600r. Thnank you in advance. (3 Replies)
Discussion started by: franruiz
3 Replies

2. Solaris

Cluster group offline then online in 2 minutes

Hi , we are using Veritas cluster server on solaris 8. Suddenly one application group was offline and online after 2 minutes.. I have checked VCS log.. "VCS INFO V-16-1-50135 User reuters fired command: hares -offline middleman_proc server01 from 127.0.0.1" Does anyone faced this... (0 Replies)
Discussion started by: ddk2oo5
0 Replies

3. UNIX for Advanced & Expert Users

NOTICE: Stp: SCSI tape 0 device 46/0 offline

:( If anyone has solved this problem, please help me! Thanks in advance! (0 Replies)
Discussion started by: FCollet
0 Replies

4. Solaris

How to keep volumes offline after reboot

Hi All, How to keep the volumes offline after reboot also, i make it offline like below # metaoffline d0 d20 after reboot its automatically getting online, however i have to keep it offline and as on required i have to make it online as per business. Thanks in anticipation (9 Replies)
Discussion started by: kumarmani
9 Replies

5. Shell Programming and Scripting

Showing offline users

Hi, Is there any command for showing offline users? The only way I can think of doing it (as i cant find a command) is getting a list of all the online users, and comparing it to /etc/passwd, anything that is in /etc/passwd and not in the users file will be offline users. But I have no... (4 Replies)
Discussion started by: mikejreading
4 Replies

6. Shell Programming and Scripting

Server Staus offline to online -Shell script

Hi, We put cron entry :whenever server is offline(checks every 5 minutes) it sends status to mailer group. The number of messages (offline)were growing in our mailbox.How to avoid not to send offline messages after the first one through shell script. Thanks in advance. Chowdary (2 Replies)
Discussion started by: chowdary_m
2 Replies

7. UNIX for Advanced & Expert Users

how to find any device online/offline

what is the command for checking which device active and which is not active (1 Reply)
Discussion started by: RahulJoshi
1 Replies

8. UNIX for Dummies Questions & Answers

How to recover services from offline to online?

Dear all, How to recover the Dns service from offline to online? I used the command " svcadm enable dns/client" the command is executing but again its showing service is offline. pls clarify and give me suggesstion... Thanks in advance (1 Reply)
Discussion started by: masthan25
1 Replies

9. OS X (Apple)

OpenStreetMap client (with offline maps) for Mac OS X

Hi I am searching for an OpenStreetMap client (with offline maps) for Mac OS X. Like Google Earth client, but with offline maps. (2 Replies)
Discussion started by: slashdotweenie
2 Replies