Rescanning SCSI/SATA bus

From: Jan Engelhardt
Date: Wed Sep 05 2007 - 05:41:58 EST


Hi,


when trying to do a rescan on (1) sata_nv/2.6.18 (2) sym53c83xx/2.6.21,
I get:

11:40 sun:~ # cd /sys/class/scsi_host/host0/
11:40 sun:../scsi_host/host0 # ls
can_queue device proc_name sg_tablesize subsystem
unchecked_isa_dma
cmd_per_lun host_busy scan state uevent unique_id
11:40 sun:../scsi_host/host0 # echo 1 >scan
-bash: echo: write error: Invalid argument

What is the proper way to trigger a rescan, if it comes to be necessary?

thanks,
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/