Sponsored Content
Full Discussion: HP-UX check SCSI reservation
Operating Systems HP-UX HP-UX check SCSI reservation Post 302844022 by cecco16 on Friday 16th of August 2013 06:20:29 AM
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!
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
scsictl(1M)															       scsictl(1M)

NAME
scsictl - control a SCSI device SYNOPSIS
mode[value]]... command]... device ola_params arguments... command}... ctrl DESCRIPTION
The command provides a mechanism for controlling a SCSI device. It can be used to query mode parameters, set configurable mode parameters, and perform SCSI commands. The operations are performed in the same order as they appear on the command line. The second form, as shown above, supports the online addition of a supported SCSI card to a system. This option cannot be used with any other options available for this command. The command can be used to clear persistent reservation from a device, as shown in the third form above, using the option. Some of the commands can be used on a controller device as shown in the fourth form. The list of commands supported on a controller device is provided in the option description below. device specifies the character special file to use. ctrl specifies the special file of a parallel SCSI controller node. Options recognizes the following options. Mode parameters and commands need only be specified up to a unique prefix. When abbreviating a mode parameter or command, at least the first three characters must be supplied. Display the status of all mode parameters available, separated by semicolon-blank or newline. Cause the device to perform the specified command. If multiple commands need to be specified, then each command must be prefixed by the option. command can be one of the following: For magneto-optical devices that support write without erase, this command can be used to pre-erase the whole surface to increase data throughput on subsequent write operations. This command maintains exclusive access to the surface during the pre-erasure. For devices that have an internal write cache, this command causes the device to flush its cache to the physical medium. Domain validation allows the user to check the quality of transmissions across the bus and helps to find problems like faulty and missing terminators, bad components, and so on. This command is only valid for Ultra160 and later devices. If any errors encountered during domain validation, they will be logged in the This command displays information about limits and negotiable parameters of a bus. This command displays information about limits and negotiable parameters of a physical or a virtual peripheral device. This command displays information about limits and negotiable parameters of a target peripheral device. This command causes a target reset task management function to be sent to the associated target. This command causes the system to generate a SCSI bus reset condition on the associated bus. A SCSI bus reset condition causes all devices on the bus to be reset (including clearing all active commands on all devices). Continue processing arguments even after an error is detected. The default behavior is to exit immediately when an error is detected. Command line syntax is always verified for correctness, regardless of the option. Improper command line syntax causes to exit without performing any operations on the device. Display the status of the specified mode parameter. mode can be one of the following: For devices that support immediate reporting, this mode controls how the device responds to write requests. If immediate report is enabled write requests can be acknowledged before the data is physically transferred to the media. If immediate report is disabled the device is forced to await the completion of any write request before reporting its status. Equivalent to For devices that support a queue depth greater than the system default, this mode controls how many I/Os the driver will attempt to queue to the device at any one time. Valid values are Some disk devices will not support the maximum queue depth settable by this command. Setting the queue depth in software to a value larger than the disk can handle will result in I/Os being held off once a QUEUE FULL condition exists on the disk. Set the mode parameter mode to value. The available mode parameters and values are listed above. Mode parameters that take only a binary value or can also be specified as either or respectively. Currently this option supports only the following command: This command should be followed by five arguments namely, hw_path, scsi_id, width, period, and offset. Actual values of scsi_id, width, period and offset are decided by the hardware. If the hardware is not capable of supporting the requested values, they will be brought to the maximum capability of the card. A value of may be specified for scsi_id, width, period and offset in order to use the hardware default values. Note: This command does not validate any of the arguments passed. Therefore, it does not show any output upon suc- cessful completion. Use the command with the option to clear the persistent reservation from a device. This command cannot be used with any other options or commands. This command should be followed by two arguments: key and device. key is a string of characters which was used while set- ting persistent reservation. This key can be in any of the following two formats: (a) Text format: can contain any of alphanumeric characters. In this format length of the key should not exceed 8 charac- ters. (b) Hex format: preceded by 0x or 0X, can contain any of hexadecimal digit. In this format length of the string should not exceed 18 characters in total (including 0x or 0X). Suppress the labels that are normally printed when mode parameters are displayed. Mode parameter values are printed in the same order as they appear on the command line, separated by semicolon-blank or newline. Specify tgtid as the SCSI target parameter on which operation needs to be initiated. The valid range of tgtid value is between 0 and 15. In agile addressing the tgtid is the port_id returned by the command target_path. See intro(7) for information about agile addressing and scsimgr(1M). The commands supported with the option are and See the option for explanations of these commands. ctrl specifies the special file of a parallel SCSI controller node. RETURN VALUE
exits with one of the following values: Operation successful. Error condition occurred. DIAGNOSTICS
Diagnostic messages are generally self-explanatory. EXAMPLES
To display all the mode parameters, turn on, and redisplay the value of producing the following output: The same operation with labels suppressed: produces the following output: To clear persistent reservation from a device: To add a supported SCSI card online at To issue a command on a SCSI target with a tgtid of 2 using as the ctrl device: To display limits and negotiable parameters of a device and then reset the SCSI target: WARNINGS
Not all devices support all mode parameters and commands listed above. Changing a mode parameter may have no effect on such a device. Issuing a command that is not supported by a device can cause an error message to be generated. is not supported on sequential-access devices using the tape driver. The mode applies to the entire device; the section number of the device argument is ignored. To aid recovery, immediate reporting is not used for writes of file system data structures that are maintained by the operating system, writes to a hard disk (but not a magneto-optical device) through the character-device interface, or writes to regular files that the user has made synchronous with or (see open(2) and fcntl(2)). DEPENDENCIES
disc3 When the system is rebooted, the driver always resets the value of the mode parameter to If or is used to change the setting of immediate reporting on a SCSI device, the new value becomes the default setting upon subsequent configuration (for example, opens) of this device and retains its value across system or device powerfail recovery. However, on the next system reboot, the mode parameter is again reset to the value of the tunable system parameter, This is set using the command. sdisk If or is used to change the setting of immediate reporting on a SCSI device, the new value becomes the default setting upon subsequent con- figuration (for example, opens) of this device until the "last close" of the device, that is, when neither the system nor any application has the device open (for example, unmounting a file system via and then mounting it again via (see mount(1M)). On the next "first open", the mode parameter is again reset to the value of the tunable system parameter, This is set using the command. SEE ALSO
diskinfo(1M), kctune(1M), scsimgr(1M), fcntl(2), open(2), intro(7). scsictl(1M)
All times are GMT -4. The time now is 01:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy