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

Re: [Linux-cluster] Reinitilize a LUN




--- "Brown, Rodrick R"
<rodrick r brown bofasecurities com> wrote:

> How does one reinitlize LUN's on a system w/o
> rebooting in Linux on
> Solaris I usually use luxadm -e forcelip
> /path/blah/foo 
> 

there is a wonderfull document:
http://people.redhat.com/nayfield/storage/RHEL4Storage.html

from where I highlight this:

If you need re-do a SCSI scan, you can do


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


Where host0 is replaced by the HBA you wish to use.
You also can do a fabric rediscover like this:


echo “1” > /sys/class/fc_host/host0/issue_lip
echo "- - -" > /sys/class/scsi_host/host0/scan

This will send a LIP (loop initialization primitive)
to the fabric. 

cu
roger

__________________________________________
RedHat Certified Engineer ( RHCE )
Cisco Certified Network Associate ( CCNA )

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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