Operating System - Linux
1753506 Members
5069 Online
108794 Solutions
New Discussion юеВ

Re: How to detect newly added storage device without reboot

 
SOLVED
Go to solution
sreekanthtm
Trusted Contributor

How to detect newly added storage device without reboot

I have one rx5670 server running RHEL 5.1.
I presented 5 luns from SAN (XP, EVA), but it is not visible from the host. What are the commands to be exicuted from host, so that it can detect the luns without reboot.

Rgds
Sreekanth
4 REPLIES 4
joseph pareti
Frequent Advisor
Solution

Re: How to detect newly added storage device without reboot

have you done a rescan? i don't know on integrity, but on proliant there are "fibre tools", such as hp_rescan -a
weisstik
Advisor

Re: How to detect newly added storage device without reboot

What kind of HBAs do you use or what driver module?
Hemmetter
Esteemed Contributor

Re: How to detect newly added storage device without reboot

Hi,

first identify you HBA by command
$lspci
compare to
$ls -ld /sys/class/scsi_host/host?/device

find the correct .../host?/
then
$ echo "- - - " > /sys/class/scsi_host/hostX/scan

finally check dmesg-output for new devices.


rgds
HGH

Steven E. Protter
Exalted Contributor

Re: How to detect newly added storage device without reboot

Shalom,

All things being equal hprescan from PSP should be able to detect the new storage without reboot.

In practice this may be effected by settings in /etc/modprobe.conf and the initrd ramdisk image.

I've had problems with this when using Emulex cards.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com