LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-11-2005, 12:48 PM   #1
dcj1mmy
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 !!
dcj
 
Old 10-11-2005, 02:41 PM   #2
debianmike
Member
 
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, 02:48 PM   #3
debianmike
Member
 
Registered: Sep 2005
Posts: 115

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

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

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

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 04:42 PM   #5
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
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
 
  


Reply



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 02:42 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 06:02 PM
hda: attached ide-disk driver & lost interrupt esteeven Linux - Hardware 6 04-21-2004 06:43 AM
mount disk attached to HBA jackpal Linux - Hardware 3 03-18-2004 05:59 PM
SuSe Linux: hde: attached IDE disk driver freeze Kefka_DArden Linux - Hardware 26 02-12-2004 12:25 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:48 PM.

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