stmfOnlineTarget(3STMF) SCSI Target Mode Framework Library Functions stmfOnlineTarget(3STMF)NAME
stmfOnlineTarget - take online a target port that is currently in the offline state
SYNOPSIS
cc [ flag ... ] file... -lstmf [ library ... ]
#include <libstmf.h>
int stmfOnlineTarget(stmfDevid *target);
PARAMETERS
target The identifier of the target port to online.
DESCRIPTION
The stmfOnlineTarget() function takes online a target port that is currently in the offline state.
RETURN VALUES
The following values are returned:
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 stmfOnlineTarget(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)
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,
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)
Hi,
I wanted to configure new iscsi port on HPUX system, i added the target port address and configured it, once done, went to array side and searched for that host iqn number , but was nt able to find the same, came to host, then when i ran "iscsiutil -pVS" command it gave me below result
... (0 Replies)
Discussion started by: Vinay Kumar D
0 Replies
5. Post Here to Contact Site Administrators and Moderators
I am an educator teaching online courses for a state educational college. I came across the cartoons in the "Cartoons for Geeks" thread and I was wondering if I might use some of them as attention grabbers in my UNIX/Linux course? (2 Replies)