scsictl(8) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
SCSICTL(8)              NetBSD System Manager's Manual              SCSICTL(8)


NAME
scsictl - a program to manipulate SCSI devices and busses
SYNOPSIS
scsictl device command [arg [...]]
DESCRIPTION
scsictl allows a user or system administrator to issue commands to and otherwise control SCSI devices and busses. It is used by specifying a device or bus to manipulate, the command to perform, and any arguments the command may require. scsictl determines if the specified device is an actual device or a SCSI bus automatically, and selects the appropriate command set. For commands which scsictl issues a SCSI command to the device directly, any returned sense information will be decoded by scsictl and displayed to the standard output.
DEVICE COMMANDS
The following commands are supported for SCSI devices: format (Low level) format the named device. identify Identify the specified device, displaying the device's SCSI bus, target, and lun, as well as the device's vendor, product, and revision strings. reassign blkno [blkno [...]] Issues a REASSIGN BLOCKS command to the device, adding the specified blocks to the grown defect list. This command is only supported on di- rect access devices. reset Reset the device. This command is only supported for devices which sup- port the SCIOCRESET ioctl.
BUS COMMANDS
The following commands are supported for SCSI busses: reset Reset the SCSI bus. This command is only supported if the host adapter supports the SCBUSIORESET ioctl. scan target lun Scan the SCSI bus for devices. This is useful if a device was not con- nected or powered on when the system was booted. The target and lun ar- guments specify which SCSI target and lun on the bus is to be scanned. Either may be wildcarded by specifying the keyword ``any'' or ``all''. detach target lun Detach the specified device from the bus. Useful if a device is powered down after use. The target and lun arguments have the same meaning as for the scan command, and may also be wildcarded.
NOTES
When scanning the SCSI bus, information about newly recognized devices is printed to console. No information is printed for already probed devices.
FILES
/dev/scsibus* - for commands operating on SCSI busses
SEE ALSO
ioctl(2), cd(4), ch(4), sd(4), se(4), ss(4), st(4), uk(4)
HISTORY
The scsictl command first appeared in NetBSD 1.4.
AUTHORS
The scsictl command was written by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, NASA Ames Research Center. NetBSD 1.6 October 15, 1998 2
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.