Operating System - Linux
1756358 Members
3316 Online
108847 Solutions
New Discussion юеВ

Re: linux to see new devices without a reboot

 
DA2072
Occasional Advisor

linux to see new devices without a reboot

I've tried the hp_rescan -a on Red Hat Linux 4 on a Bl25p but cannot see the new devices on the host.
Running the "cat /proc/scsi/qla2xxx/0 shows the (Id:Lun) * - indicates lun is not registered with the OS message". I've also tried the echo "---">/sys/class/scsi_host/host0/scan but still cannot see the devices. How do I get the linux to see without a reboot?
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: linux to see new devices without a reboot

Have you tried running /opt/hp/hp_fibreutils/probe-luns -a before hp_rescan?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
DA2072
Occasional Advisor

Re: linux to see new devices without a reboot

Yes, it still did not work.
nataraj.kn
Advisor

Re: linux to see new devices without a reboot

hai,

please try these commands.
#lspci
or
#dmesg
you can see the devices which are connected with out rebooting.

Try mounting the device using mount command.
skt_skt
Honored Contributor

Re: linux to see new devices without a reboot

echo "1" > /sys/class/fc_host/hostx/issue_lp

sleep 15

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

replace the x with hba number on both the cases

DA2072
Occasional Advisor

Re: linux to see new devices without a reboot

There is no issue_lp file in the directory
/sys/class/fc_host/hostx.
skt_skt
Honored Contributor

Re: linux to see new devices without a reboot

issue_lip.

DA2072
Occasional Advisor

Re: linux to see new devices without a reboot

There is only a directory called device there. No file as issue_lip out there.