stmfonlinelogicalunit(3stmf) [opensolaris man page]
stmfOnlineLogicalUnit(3STMF) SCSI Target Mode Framework Library Functions stmfOnlineLogicalUnit(3STMF)NAME
stmfOnlineLogicalUnit - take online of a logical unit that is currently in the offline state
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfOnlineLogicalUnit(stmfGuid *logicalUnit);
PARAMETERS
logicalUnit The identifier of the logical unit to take online.
DESCRIPTION
The stmfOnlineLogicalUnit() function takes online of a logical unit 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 stmfOnlineLogicalUnit(3STMF)
Check Out this Related Man Page
stmfGetLogicalUnitProperties(3STMF) SCSI Target Mode Framework Library Functions stmfGetLogicalUnitProperties(3STMF)NAME
stmfGetLogicalUnitProperties - retrieve the properties of the specified logical unit
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfGetLogicalUnitProperties(stmfGuid *logicalUnit,
stmfLogicalUnitProperties *logicalUnitProps);
PARAMETERS
logicalUnit The identifier of the logical unit whose properties are being retrieved.
logicalUnitProps A pointer to an stmfLogicalUnitProperties structure. On successful return, this will contain the properties for the
specified logicalUnitOid.
DESCRIPTION
The stmfGetLogicalUnitProperties() function retrieves the properties of the specified logical unit.
RETURN VALUES
The following values are returned:
STMF_ERROR_LOGICAL_UNIT_NOT_REGISTERED
The logicalUnit is not a valid registered logical unit 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 stmfGetLogicalUnitProperties(3STMF)
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)
Discussion started by: masthan25
1 Replies
3. 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)