HP-UX check SCSI reservation


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX check SCSI reservation
# 1  
Old 08-16-2013
HP-UX check SCSI reservation

Hi guys,

I need some help to better understand how to determine if a disk have persistent SCSI reservation. I know that we should use the "Persisten Reservation Utility" but we are not allowed to run that tool. Since we have the output from some grab utility and specifically we have the "scsimgr get _attr" I want to know how can i determine if there is any reservation on the disks.


Thanks for your help!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Modifying properties to use scsi-3 reservation for disks with two paths in sun cluster

Hi I am having two node cluster. I was trying to change the to use scsi3 reservation for all disks having two paths. Please let me know where I went wrong or there any issue to implement the same. On node1 bash-3.2# cldev status === Cluster DID Devices === Device Instance ... (8 Replies)
Discussion started by: sb200
8 Replies

2. Solaris

Unknown Disks "offline or reservation conflict"

Hi All, I am a RH Linux admin that recently started working at a company with a number of SUN Servers so it's been an interesting transition. Considering the last person left with very little documentation left behind so I have been picking up most issues half complete, or troubleshot. ... (7 Replies)
Discussion started by: MobileGSP
7 Replies

3. Filesystems, Disks and Memory

Installing SCSI

I need to hook a tape library to my compy (tru64 versifon 4F) by way of SCSI. I can get as far as plugging it in on my own. Please help Thanks (0 Replies)
Discussion started by: randUSR()
0 Replies

4. AIX

LUN Reservation and Clearence

Hello Everyone, I wud like to knw what we mean by LUN reservation and how to clear the LUN reservation in AIX. Regards, nivas (2 Replies)
Discussion started by: nivaspIND
2 Replies

5. Solaris

Help probe-scsi-all

I have run init 0 to bring it to OK prompt. I know that probe-scsi-all can hang the system. I want to know what is the difference between probe-scsi-all and probe-scsi. I was told that probe-scsi-all external and internal devices and probe-scsi shows only internal devices. what dose this ... (3 Replies)
Discussion started by: nitinkgoud
3 Replies

6. UNIX for Advanced & Expert Users

Scsi

I would like to install a AIT drive to the scsi connector on our solaris box. I am very new to the unix world and would be greatful if someone could help or lead me in the right direction. Thanks (4 Replies)
Discussion started by: vpyle
4 Replies

7. Filesystems, Disks and Memory

Compaq Scsi

Howto make Debian GNU/Linux install boot on a Compaq DeskPro XL 590 with Compaq SCSI diskdrive? The problem is that Compaq's Scsi controller sems to be odd. help please :) (0 Replies)
Discussion started by: Esaia
0 Replies

8. UNIX for Advanced & Expert Users

Scsi

How can you get a scsi card to initalize or decome available at boot up on AIX 4.3 (1 Reply)
Discussion started by: truma1
1 Replies
Login or Register to Ask a Question
scsi_status(9S) 					    Data Structures for Drivers 					   scsi_status(9S)

NAME
scsi_status - SCSI status structure SYNOPSIS
#include <sys/scsi/scsi.h> INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) DESCRIPTION
The SCSI-2standard defines a status byte that is normally sent by the target to the initiator during the status phase at the completion of each command. STRUCTURE MEMBERS
uchar sts_scsi2 :1; /* SCSI-2 modifier bit */ uchar sts_is :1; /* intermediate status sent */ uchar sts_busy :1; /* device busy or reserved */ uchar sts_cm :1; /* condition met */ ucha sts_chk :1; /* check condition */ sts_chk indicates that a contingent allegiance condition has occurred. sts_cm is returned whenever the requested operation is satisfied sts_busy indicates that the target is busy. This status is returned whenever a target is unable to accept a command from an otherwise acceptable initiator (that is, no reservation conflicts). The recommended initiator recovery action is to issue the command again later. sts_is is returned for every successfully completed command in a series of linked commands (except the last command), unless the command is terminated with a check condition status, reservation conflict, or command terminated status. Note that host bus adapter drivers may not support linked commands (see scsi_ifsetcap(9F)). If sts_is and sts_busy are both set, then a reservation conflict has occurred. sts_scsi2 is the SCSI-2 modifier bit. If sts_scsi2 and sts_chk are both set, this indicates a command terminated status. If sts_scsi2 and sts_busy are both set, this indicates that the command queue in the target is full. For accessing the status as a byte, the following values are appropriate: STATUS_GOOD This status indicates that the target has successfully completed the command. STATUS_CHECK This status indicates that a contingent allegiance condition has occurred. STATUS_MET This status is returned when the requested operations are satisfied. STATUS_BUSY This status indicates that the target is busy. STATUS_INTERMEDIATE This status is returned for every successfully completed command in a series of linked commands. STATUS_SCSI2 This is the SCSI-2 modifier bit. STATUS_INTERMEDIATE_MET This status is a combination of STATUS_MET and STATUS_INTERMEDIATE. STATUS_RESERVATION_CONFLICT This status is a combination of STATUS_INTERMEDIATE and STATUS_BUSY, and it is returned whenever an initia- tor attempts to access a logical unit or an extent within a logical unit is reserved. STATUS_TERMINATED This status is a combination of STATUS_SCSI2 and STATUS_CHECK, and it is returned whenever the target ter- minates the current I/O process after receiving a terminate I/O process message. STATUS_QFULL This status is a combination of STATUS_SCSI2 and STATUS_BUSY, and it is returned when the command queue in the target is full. SEE ALSO
scsi_ifgetcap(9F), scsi_init_pkt(9F), scsi_extended_sense(9S), scsi_pkt(9S) Writing Device Drivers SunOS 5.10 30 Aug 1995 scsi_status(9S)