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

Re: Question about HotPlug and cciss hp storage



On Fri, Feb 17, 2012 at 8:04 AM, Julien Groselle
<julien.groselle@gmail.com> wrote:
>
> So no, I didn't rescan anything... It's just what I need (a command line to
> recan all HDD device)

Apparently it's as easy as this:

echo "- - -" > /sys/class/scsi_host/host0/scan

Where 0 is the the controller number.  This information is taken from here:

http://rackerhacker.com/2009/04/23/re-scan-the-scsi-bus-in-linux-after-hot-swapping-a-drive/

-- 
Chris


Reply to: