[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about HotPlug and cciss hp storage



I'm sure my kernel is not so old :)

# uname -r ; cat /etc/debian_version
2.6.32-5-amd64
6.0.4

Le 17 février 2012 17:55, Christofer C. Bell <christofer.c.bell@gmail.com> a écrit :
On Fri, Feb 17, 2012 at 10:34 AM, frank <frank@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] CAOEVnYsLxNFJaZVsi4peoCtt8dcUHmbeGm6U2VBsBeOA86xABg@mail.gmail.com" target="_blank">http://lists.debian.org/[🔎] CAOEVnYsLxNFJaZVsi4peoCtt8dcUHmbeGm6U2VBsBeOA86xABg@mail.gmail.com



Reply to: