scsiadd

Langue: en

Version: 303743 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

scsiadd - Add and remove SCSI devices

SYNOPSIS

scsiadd {-a|-r} <id>

scsiadd {-a|-r} <id> <lun>

scsiadd {-a|-r} <host> <id> <lun>

scsiadd {-a|-r} <host> <channel> <id> <lun>

scsiadd [-i maxid] -s <host>

scsiadd [-i maxid] -s <host> <channel>

scsiadd -p

DESCRIPTION

scsiadd adds and removes devices, scans for new devices, or prints the status of the SCSI bus. The options are:
-a
add device
-r
remove device
-s
scan for new devices
-p
print SCSI status
-i
set maximum SCSI ID which is scanned

FILES

scsiadd need the /proc/scsi/scsi file to send its commands to the linux kernel. In 2.6 kernels this file is considered deprecated and you have to enable the following kernel option so this file is generated:
Device Drivers->SCSI device support->legacy /proc/scsi/ support

EXAMPLES

scsiadd 3
add SCSI device with ID 3 on primary host
scsiadd -r 1
remove SCSI device with ID 1 from primary host
scsiadd -s
scan for new devices on primary device
scsiadd -a 1 2 13 4
add SCSI device with ID 13 and LUN 4 on host 1 channel 2

AUTHOR

Dirk Jagdmann <doj@cubic.org>

The latest version can be found at http://llg.cubic.org/tools

SEE ALSO

http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/index.html
Howto describing many aspects of the Linux 2.4.0 SCSI system