Query: mpath_persistent_reserve_out
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MPATH_PERSISTENT_RESERVE_OUT(3) Library Functions Manual MPATH_PERSISTENT_RESERVE_OUT(3)NAMEmpath_persistent_reserve_outSYNOPSIS#include <mpath_persist.h> int mpath_persistent_reserve_out (int fd, int rq_servact, struct prin_resp *resp, int noisy, int verbose)DESCRIPTIONThe function in the mpath_persistent_reserve_out() sends PR OUT command to the DM device and gets the response. Parameters: fd The file descriptor of a multipath device. Input argument. rq_servact PROUT command service action. Input argument rq_scope Persistent reservation scope. The value should be always LU_SCOPE (0h). rq_type Persistent reservation type. The valid values of persistent reservation types are 5h (Write exclusive - registrants only) 6h (Exclusive access - registrants only) 7h (Write exclusive - All registrants) 8h (Exclusive access - All registrants). paramp PROUT command parameter data. The paramp is a struct which describes PROUT parameter list. Caller should manage the memory alloca- tion of this structure. noisy Turn on debugging trace: Input argument. 0->Disable, 1->Enable. verbose Set verbosity level. Input argument. value: 0 to 3. 0->Crits and Errors, 1->Warnings, 2->Info, 3->DebugRETURNSMPATH_PR_SUCCESS if PR command successful else returns any one of the status mentioned below MPATH_PR_SYNTAX_ERROR if syntax error or invalid parameter MPATH_PR_SENSE_NOT_READY if command fails with [sk,asc,ascq: 0x2,*,*] MPATH_PR_SENSE_MEDIUM_ERROR if command fails with [sk,asc,ascq: 0x3,*,*] MPATH_PR_SENSE_HARDWARE_ERROR if command fails with [sk,asc,ascq: 0x4,*,*] MPATH_PR_SENSE_INVALID_OP if command fails with [sk,asc,ascq: 0x5,0x20,0x0] MPATH_PR_ILLEGAL_REQ if command fails with [sk,asc,ascq: 0x5,*,*] MPATH_PR_SENSE_UNIT_ATTENTION if command fails with [sk,asc,ascq: 0x6,*,*] MPATH_PR_SENSE_ABORTED_COMMAND if command fails with [sk,asc,ascq: 0xb,*,*] MPATH_PR_NO_SENSE if command fails with [sk,asc,ascq: 0x0,*,*] MPATH_PR_SENSE_MALFORMED if command fails with SCSI command malformed MPATH_PR_RESERV_CONFLICT if command fails with reservation conflict MPATH_PR_FILE_ERROR if command fails while accessing file (device node) problems(e.g. not found) MPATH_PR_DMMP_ERROR if Device Mapper related error.(e.g Error in getting dm info) MPATH_PR_OTHER if other error/warning has occurred(e.g transport or driver error)SEE ALSOmpath_persistent_reserve_in mpathpersist /usr/share/doc/mpathpersist/README Linux Manpage 2011-04-08 MPATH_PERSISTENT_RESERVE_OUT(3)
Related Man Pages |
---|
sg_persist(8) - centos |
mpath_persistent_reserve_out(3) - centos |
sg_persist(8) - suse |
mly(4) - netbsd |
scsi_sense_ascq(9f) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Ending Mail |
Advance file parsing... |
Deleting a file with no corresponding pair |
Extraction of .gz file using 7zip fails |
Fixed Decade Long Bug in ModCP |