centos man page for mpath_persistent_reserve_in

Query: mpath_persistent_reserve_in

OS: centos

Section: 3

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MPATH_PERSISTENT_RESERVE_IN(3)				     Library Functions Manual				    MPATH_PERSISTENT_RESERVE_IN(3)

NAME
mpath_persistent_reserve_in
SYNOPSIS
#include <mpath_persist.h> int mpath_persistent_reserve_in (int fd, int rq_servact, struct prin_resp *resp, int noisy, int verbose)
DESCRIPTION
The function in the mpath_persistent_reserve_in() sends PRIN command to the DM device and gets the response. Parameters: fd The file descriptor of a multipath device. Input argument. rq_servact PRIN command service action. Input argument resp The response from PRIN service action. The caller should manage the memory allocation of this structure noisy Turn on debugging trace: Input argument. 0->Disable, 1->Enable verbose Set verbosity level. Input argument. value:[0-3]. 0->Crits and Errors, 1->Warnings, 2->Info, 3->Debug
RETURNS
MPATH_PR_SUCCESS if PR command successful 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_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 ALSO
mpath_persistent_reserve_out mpathpersist /usr/share/doc/mpathpersist/README Linux Manpage 2011-04-08 MPATH_PERSISTENT_RESERVE_IN(3)
Related Man Pages
asc_weaponguide(6) - debian
scsi_sense_info_uint64(9f) - opensolaris
mpath_persistent_reserve_in(3) - centos
scsi_sense_asc(9f) - opensolaris
scsi_vu_errmsg(9f) - opensolaris
Similar Topics in the Unix Linux Community
read &quot;rest&quot; &lt; $wrkdir/seeimds_cnt.asc
Return code is &quot;0&quot; though the command fails.
Advance file parsing...
parsing a database with java
Deleting a file with no corresponding pair