SCSI Devices

Arten von Devices

  • sdX Hard Disk
  • scdX Optical Drive
  • stX Tape Drive
  • sgX Pass-Though (z.B. Scanner)

 SCSI Informationen auslesen

cat /proc/scsi/scsi

SCSI Optical Drive Kongurationen (z.B.)

Autoclose deaktivieren

echo "0" > /proc/sys/dev/cdrom/autoclose

 SCSI Device Infos ausflisten

lsscsi

SG Devices scannen

sg_scan

SG Devices Mappen

sg_map

SCSI Durchsatz messen

time sg_rbuf /dev/sgX

 SCSI Bus Rescan

rescan-scsi-bus.sh

Alternativer SCSI Bus Rescan

echo "- - -" > /sys/class/scsi_host/host*/scan

SCSI Port resetten

echo "1" > /sys/class/fc_host/host*/issue_lip

SCSI Device löschen

echo "1" > /sys/block/sdX/device/delete