LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Adding new Disk attached from SAN with out reboot.? (https://www.linuxquestions.org/questions/linux-enterprise-47/adding-new-disk-attached-from-san-with-out-reboot-371962/)

dcj1mmy 10-11-2005 12:48 PM

Adding new Disk attached from SAN with out reboot.?
 
In the sum of all things, downtime is not yummy. I am searching for a way to detect SAN attached disk. I have tried going and running kudzu on the box with no luck as well as going into LVM and running lvmscandisk. I am using Redhat 40 update 1. I am attached to a EMC san .


Any advice or tips would be great!


I am aware of unloading / loading the fiber driver as well, only problem with that is if I have a DB up attached to the SAN , loadling and unloading that driver would be bad.

Thanks for everyones time upfront !!
dcj

debianmike 10-11-2005 02:41 PM

if you type dmesg, does it recognise the new LUN's once it is zoned?

if so, you should be able to just fdisk them at that point.

I am getting some lun's tomorow myself, and will try it.

debianmike 10-15-2005 02:48 PM

just found this....not sure if/how it works yet.

http://llg.cubic.org/tools/

scsiadd and scsiaddgui

trickykid 10-15-2005 02:52 PM

If it's just a new disk for an existing scsi device, scsiadd or the like will probably work without you having to reboot. If it's a whole new scsi device, you most likely will probably need to reboot so the computer recognizes it.

mhiggins 10-28-2005 04:42 PM

This works well for me.
http://bash.cyberciti.biz/diskadmin/...si-bus.sh.html

If you walk down the /sys/bus/scsi/decices/*:*:*:*/
you can force a rescan if the driver supports

echo 1>rescan

-Matt


All times are GMT -5. The time now is 04:50 PM.