HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
scsictl(1M) scsictl(1M)
DIAGNOSTICS
Diagnostic messages are generally self-explanatory.
EXAMPLES
To display all the mode parameters, turn immediate_report on, and redisplay the value of
immediate_report:
scsictl -a -m ir=1 -m ir /dev/rdsk/c0t6d0
producing the following output:
immediate_report = 0; queue_depth = 8; immediate_report = 1
The same operation with labels suppressed:
scsictl -aq -m ir=1 -m ir /dev/rdsk/c0t6d0
produces the following output:
0; 8; 1
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.
scsictl is not supported on sequential-access devices using the tape driver.
The immediate_report
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 le system data structures that are main-
tained 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
O_SYNC or
O_DSYNC (see open(2) and fcntl(2)).
DEPENDENCIES
disc3
When the system is rebooted, the disc3 driver always resets the value of the immediate_report
mode parameter to off.Ifioctl() or scsictl is used to change the setting of immediate reporting
on a SCSI device, the new value becomes the default setting upon subsequent configuration (e.g., opens) of
this device and retains its value across system or device powerfail recovery. However, on the next system
reboot, the immediate-report
mode parameter is again reset to the value of the tunable system
parameter,
default_disk_ir. This is set in the system_file used to create the HP-UX system by the
config command (see config(1M)).
sdisk
If ioctl() or scsictl is used to change the setting of immediate reporting on a SCSI device, the new
value becomes the default setting upon subsequent configuration (e.g., 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 umount and then mounting it again via mount (see mount(1M)). On the
next "first open", the
immediate-report
mode parameter is again reset to the value of the tunable sys-
tem parameter,
default_disk_ir
. This is set in the system_file used to create the HP-UX system by
the
config command (see config(1M)).
SEE ALSO
config(1M), diskinfo(1M), fcntl(2), open(2).
Section 1M766 2 HP-UX Release 11i: December 2000
___
___