LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RHEL 5 adding a LUN without a reboot (https://www.linuxquestions.org/questions/linux-enterprise-47/rhel-5-adding-a-lun-without-a-reboot-630256/)

l4n3 03-24-2008 10:55 AM

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.

l4n3 03-25-2008 10:26 AM

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.

jonesr 03-25-2008 03:00 PM

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

l4n3 03-26-2008 12:01 PM

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.

XaViaR 03-26-2008 10:38 PM

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!

slacksite 03-27-2008 02:54 PM

l4n3,

I'm not sure that I follow what is not convenient about RH's KB article for adding a device?

l4n3 03-28-2008 03:17 PM

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...


All times are GMT -5. The time now is 02:19 AM.