On Fri, Feb 17, 2012 at 10:34 AM, frank <fr...@dead-link.org> wrote: > On Fri, 2012-02-17 at 10:26 -0600, Christofer C. Bell wrote: > >> echo "- - -" > /sys/class/scsi_host/host0/scan > > Have you tried it? Or just copied and pasted? > > echo "- - -" > /sys/class/scsi_host/host0/scan > > -bash: /sys/class/scsi_host/host0/scan: No such file or directory > # uname -a > Linux xxx 2.6.26-2-amd64 #1 SMP Wed Sep 21 03:36:44 UTC 2011 x86_64 > GNU/Linux
I cut and pasted it out of a blog after verifying the command looked reasonable if it were to be run on my own system. I have no need to rescan my SCSI bus. cbell@circe:/sys/class/scsi_host$ ls -l * lrwxrwxrwx 1 root root 0 Feb 17 10:24 host0 -> ../../devices/pci0000:00/0000:00:1f.1/host0/scsi_host/host0 lrwxrwxrwx 1 root root 0 Feb 17 10:24 host1 -> ../../devices/pci0000:00/0000:00:1f.1/host1/scsi_host/host1 lrwxrwxrwx 1 root root 0 Feb 17 10:24 host2 -> ../../devices/pci0000:00/0000:00:1f.2/host2/scsi_host/host2 lrwxrwxrwx 1 root root 0 Feb 17 10:24 host3 -> ../../devices/pci0000:00/0000:00:1f.2/host3/scsi_host/host3 cbell@circe:/sys/class/scsi_host$ ls -l * */scan lrwxrwxrwx 1 root root 0 Feb 17 10:24 host0 -> ../../devices/pci0000:00/0000:00:1f.1/host0/scsi_host/host0 --w------- 1 root root 4096 Feb 17 10:25 host0/scan lrwxrwxrwx 1 root root 0 Feb 17 10:24 host1 -> ../../devices/pci0000:00/0000:00:1f.1/host1/scsi_host/host1 --w------- 1 root root 4096 Feb 17 10:51 host1/scan lrwxrwxrwx 1 root root 0 Feb 17 10:24 host2 -> ../../devices/pci0000:00/0000:00:1f.2/host2/scsi_host/host2 --w------- 1 root root 4096 Feb 17 10:51 host2/scan lrwxrwxrwx 1 root root 0 Feb 17 10:24 host3 -> ../../devices/pci0000:00/0000:00:1f.2/host3/scsi_host/host3 --w------- 1 root root 4096 Feb 17 10:51 host3/scan cbell@circe:/sys/class/scsi_host$ uname -a Linux circe 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux cbell@circe:/sys/class/scsi_host$ Perhaps your kernel is too old? You realize Lenny is unsupported now, yes? -- Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caoevnyslxnfjazvsi4peoctt8dcuhmbegm6u2vbsbeoa86x...@mail.gmail.com