LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-24-2008, 10:55 AM   #1
l4n3
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
RHEL 5 adding a LUN without a reboot


Trying to find a more convenient way to add a LUN than that referenced here:

http://kbase.redhat.com/faq/FAQ_46_2998.shtm

Any ideas? That kbase article is old, so I'm hoping there's something better in RedHat 5.
 
Old 03-25-2008, 10:26 AM   #2
l4n3
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
qlogic tool

Okay, there's a tool:

http://download.qlogic.com/ms/52214/...n-disc-1.8.tgz

That's supposed to dynamically discover new LUNs if you have qlogic cards, which I do.

However, I can't test it right now since the SAN manager is out of town.

Anybody have experience working with this tool? Good, bad, indifferent?

thanks.
 
Old 03-25-2008, 03:00 PM   #3
jonesr
Member
 
Registered: Feb 2008
Location: Sacramento
Distribution: RHEL AS, mostly
Posts: 44

Rep: Reputation: 18
There's this SCSI rescan trick:
echo "- - -" > /sys/class/scsi_host/host0/scan

I use that to pick up SAN LUNs that have been added to RHEL4/5 VMware guests.

See http://kbase.redhat.com/faq/FAQ_43_7921.shtm

Last edited by jonesr; 03-25-2008 at 03:03 PM. Reason: Too many "/host"s in path
 
Old 03-26-2008, 12:01 PM   #4
l4n3
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks jonesr. That's similar to the kbase article I referenced above, but different.

and FYI, the qlogic tool doesn't work with RHEL5 since it relies on /proc which doesn't appear to be useful anymore.
 
Old 03-26-2008, 10:38 PM   #5
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
jonesr,

Speaking of RHEL4/5 VMware guests, do you or anyone else know of a way to add a vmdk (an extra disk) to a RHEL4/5 VMWare guest OS witout rebooting?

Thanks!
 
Old 03-27-2008, 02:54 PM   #6
slacksite
LQ Newbie
 
Registered: Feb 2008
Posts: 12

Rep: Reputation: 0
l4n3,

I'm not sure that I follow what is not convenient about RH's KB article for adding a device?
 
Old 03-28-2008, 03:17 PM   #7
l4n3
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Well, I don't want to have to know all the numbers to fill into the echo and I don't want to have to remember the path to echo it to.

I like a nice simple command like `add lun` which would scan the cards and pick it up.

Rumor has it that `kudzu` will work. Will try asap...
 
  


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
RHEL AS4u5 LUN Limit matlocda Linux - General 1 10-30-2007 06:13 PM
RHEL AS4u5 LUN Limite matlocda Linux - Server 0 10-30-2007 02:41 PM
LUN Device not showing without reboot on Redhat mickg007 Linux - Enterprise 7 06-14-2007 10:04 AM
rhel 2.4/eva lun unpresent/scsi rescan=hang duvalr Linux - Enterprise 1 03-23-2007 04:17 AM

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

All times are GMT -5. The time now is 03:41 AM.

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