Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was wondering if there was a way / command that will re-scan the SCSI bus.
I am using RH9. I want to find a way to rescan the SCSI bus while the system is up (similar to re-scanning for devices in Device Manager for Windows Machines). The reason is that I am constantly adding and removing SCSI devices/drives from the system, and the only way I know how to re-scan the SCSI bus is to reboot the system. Since the system must be on with little downtime, this is not a good option. Any help would be appreciated.
I configure multi-terabyte SCSI/FC RAID Subsystems and it is alot easier to just add a new device and rescan the bus than to reboot. I do all the configuration and testing, then I can unmount the device and disconnect it. Then I can add another RAID Subsystem to my SCSI bus and simply re-scan as opposed to rebooting.
Just an FYI if using fibre devices behind a SCSI midlayer driver you may want to edit
any rescan scrips, FC device id's can go above 15 devices, something scsi bus cannot do.
There is a LSI 2772 raid box i use and muliple volumes on multible luns creates a problem, if i dont tell the driver to scan all device id's and luns beond 127.
also rescaning scsi bus can be important because without some kernel mods most will not scan muti-lun devices on boot so the scan must be done after the system comes up, hot adding is suported in linux, use it!
a couple of notes though caution should be used not to remove and re-add the os device. This can be done if your installed on a scsi channel and your rescan that channel. SuSE 9.1 will go off into lala-land (technical term) if this happnes. RedHat seems to be able to handel it, has somethign to do with the /proc system, they changed it in the 2.6 kernel thats all i know.
Also, tapes typicaly dont like to be hot added, duno why but whenever i hotadd a certain SONY multi-lun tape RHEL 3,0 always messes up the blocksize untill i reboot.
I am aware of the issues when using multi-LUN devices. By default, I believe only LUN0 of the first 15 target devices are scanned. I must edit the scripts to include any LUN's above LUN0, and any devices with a higher ID in order for the os to see it.
At least, I know this is the case with Solaris, and I've experienced similar issues with various linux kernels.