TuX as LLG logo
Software
DMX4Linux
Driver Suite for Linux
csv2iif.pl suite
convert PayPal transactions to IIF, OFX, QIF
Hardware
DMX30 Interface
128Ch SPP
DMX43 Interface
2out 2in EPP
LED Hardware
for Linux and Windows
EPROM Sampler
for 8 bits of sound
Misc
CatWeasel
Linux drivers for MK3/4 PCI
pg_trompe
PostgreSQL replication
trycatch
C exception/signal handling lib
Patches
to various software
Tools
and small scripts
Docs
misc documents
Links
to lighting stuff

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


Search:
http://llg.cubic.org © 2001-2017 by Dirk Jagdmann