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
stmfGetViewEntryList(3STMF) SCSI Target Mode Framework Library Functions stmfGetViewEntryList(3STMF)NAME
stmfGetViewEntryList - retrieve the list of view entries for a specified logical unit
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfGetViewEntryList(stmfGuid *logicalUnit,
stmfViewEntryList **viewEntryList);
PARAMETERS
logicalUnit The identifier of the logical unit for which to retrieve the list of view entries.
viewEntryList A pointer to a pointer to an stmfViewEntryList structure. On successful return, this will contain a list of view entries
for logicalUnit.
DESCRIPTION
The stmfGetViewEntryList() function retrieves the list of view entries for a specified logical unit. The caller should call stmfFreeMem-
ory(3STMF) when this list is no longer needed.
RETURN VALUES
The following values are returned:
STMF_ERROR_NOMEM The library was unable to allocate sufficient memory for viewEntryList.
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), stmfFreeMemory(3STMF), attributes(5)SunOS 5.11 9 Jun 2008 stmfGetViewEntryList(3STMF)
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)
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)
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)
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)
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)
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)