1stmfOfflineLogicalSUCnSiIt(T3aSrTgMeFt)Mode Framework LibrarsytmFfuOnfcftliionnesLogicalUnit(3STMF)
2
3
4

NAME

6       stmfOfflineLogicalUnit  - take offline a logical unit that is currently
7       in the online state
8

SYNOPSIS

10       cc [ flag... ] file... -lstmf [ library... ]
11       #include <libstmf.h>
12
13       int stmfOfflineLogicalUnit(stmfGuid *logicalUnit);
14
15

PARAMETERS

17       logicalUnit    The identifier of the logical unit to offline.
18
19

DESCRIPTION

21       The stmfOfflineLogicalUnit() function takes offline a logical unit that
22       is  currently in the online state. Once in the offline state, the logi‐
23       cal unit will no longer be capable of servicing requests in the system.
24
25
26       This API call can be used to take offline a logical unit for servicing.
27       Once  the  logical  unit is offline, an initiator port that attempts to
28       issue any SCSI commands to the offlined logical  unit  will  receive  a
29       check  condition.  For purposes of the REPORT LUNS command, the logical
30       unit will no longer appear in the logical unit inventory for  any  ini‐
31       tiator  ports  to  which  it  is  currently  mapped by one or more view
32       entries.
33

RETURN VALUES

35       The following values are returned:
36
37       STMF_ERROR_BUSY        The device is currently busy.
38
39
40       STMF_STATUS_SUCCESS    The API call was successful.
41
42

ATTRIBUTES

44       See attributes(5) for descriptions of the following attributes:
45
46
47
48
49       ┌─────────────────────────────┬─────────────────────────────┐
50       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │Interface Stability          │Committed                    │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │MT-Level                     │Safe                         │
55       └─────────────────────────────┴─────────────────────────────┘
56

SEE ALSO

58       libstmf(3LIB), attributes(5)
59
60
61
62SunOS 5.11                        9 Jun 2008     stmfOfflineLogicalUnit(3STMF)
Impressum