Share your knowledge at the LQ Wiki.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 10-11-2005, 01:48 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Lightbulb 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 !!
Old 10-11-2005, 03:41 PM   #2
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
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.
Old 10-15-2005, 03:48 PM   #3
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
just found this....not sure if/how it works yet.

scsiadd and scsiaddgui
Old 10-15-2005, 03:52 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
Old 10-28-2005, 05:42 PM   #5
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
This works well for me.

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

echo 1>rescan



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Promise PDC20376 wont see the disk attached to the P-ATA port! NickLess Debian 4 09-13-2004 03:42 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 07:02 PM
hda: attached ide-disk driver & lost interrupt esteeven Linux - Hardware 6 04-21-2004 07:43 AM
mount disk attached to HBA jackpal Linux - Hardware 3 03-18-2004 06:59 PM
SuSe Linux: hde: attached IDE disk driver freeze Kefka_DArden Linux - Hardware 26 02-12-2004 01:25 PM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration