Operating System - Linux
1752758 Members
5119 Online
108789 Solutions
New Discussion

Re: How to refresh the device files

 
Ahmed Saleem
Advisor

How to refresh the device files

Dear All,

How can i refresh the device files in Red Hat Enterprise Linux AS release 4. The tape library is attahced to this system we have just added the new tape library and i just want to remove/refresh the device files for old library.
1 REPLY 1
Hemmetter
Esteemed Contributor

Re: How to refresh the device files

Hi Ahmed

there are several options:
1) reboot
2) reload driver module
3) rescan bus

$ cat /sys/class/scsi_host/host?/proc_name
megaraid
lpfc

If your tapes are connected e.g. via fibre (here lpfc) you may initiate a resacan by

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




rgds
HGH