Unix and Linux Discussions Tagged with logical |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
18 |
8,938 |
Solaris |
|
|
|
0 |
1,381 |
UNIX and Linux RSS News |
|
|
|
2 |
34,304 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,520 |
Shell Programming and Scripting |
|
|
|
1 |
6,508 |
AIX |
|
|
|
0 |
2,674 |
Solaris BigAdmin RSS |
|
|
|
6 |
49,720 |
HP-UX |
|
|
|
0 |
3,491 |
Solaris BigAdmin RSS |
|
|
|
12 |
64,016 |
Shell Programming and Scripting |
|
|
|
0 |
2,447 |
HP Server News and Podcasts RSS |
|
|
|
1 |
2,077 |
Solaris |
|
|
|
8 |
18,740 |
AIX |
|
|
|
3 |
4,588 |
Solaris |
|
|
|
0 |
1,502 |
UNIX and Linux RSS News |
|
|
|
4 |
12,978 |
AIX |
|
|
|
5 |
27,577 |
AIX |
|
|
|
1 |
7,005 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
27,692 |
AIX |
|
|
|
8 |
17,137 |
Shell Programming and Scripting |
|
|
|
3 |
30,553 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,283 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,626 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,640 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,756 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
17,280 |
HP-UX |
|
|
|
1 |
4,792 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,097 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,900 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
3,569 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,592 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
18,605 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,640 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,080 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,795 |
UNIX for Dummies Questions & Answers |
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)