lkml.org 
[lkml]   [2007]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Rescanning SCSI/SATA bus
On 2007.09.05 16:45:29 +0200, noah wrote:
> 2007/9/5, Björn Steinbrink <B.Steinbrink@gmx.de>:
> > On 2007.09.05 16:04:13 +0200, noah wrote:
> > > 2007/9/5, Martin K. Petersen <martin.petersen@oracle.com>:
> > > > >>>>> "Jan" == Jan Engelhardt <jengelh@computergmbh.de> writes:
> > > >
> > > > Jan> 11:40 sun:../scsi_host/host0 # echo 1 >scan
> > > > Jan> -bash: echo: write error: Invalid argument
> > > >
> > > > Jan> What is the proper way to trigger a rescan, if it comes to be
> > > > Jan> necessary?
> > > >
> > > > echo "- - -" > scan
> > ^^^^^
> > > >
> > > # echo --- > /sys/class/scsi_host/host9/scan
> > ^^^
> > > -bash: echo: write error: Invalid argument
> >
> > Note the spaces between the dashes.
>
> Thanks. Unfortunately it produced the same error.
> Is rescanning even supported with the sata_nv driver?

Works just fine here:
root@atjola:/sys/class/scsi_host/host0# echo - - - > scan
root@atjola:/sys/class/scsi_host/host0# cat proc_name
sata_nv

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

\
 
 \ /
  Last update: 2007-09-05 17:17    [W:0.099 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site