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
stmfRemoveViewEntry(3STMF) SCSI Target Mode Framework Library Functions stmfRemoveViewEntry(3STMF)NAME
stmfRemoveViewEntry - remove a view entry from the system
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfRemoveViewEntry(stmfGuid *logicalUnit,
uint32_t viewEntry);
PARAMETERS
logicalUnit The identifier of the logical unit for the view entry being removed.
viewEntry The numeric value of the view entry to be removed.
DESCRIPTION
The stmfRemoveViewEntry() function removes a view entry from the system.
RETURN VALUES
The following values are returned:
STMF_ERROR_NOT_FOUND The specified logicalUnit or viewEntryName was not found in the system.
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 stmfRemoveViewEntry(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)