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. |
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. |
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 |
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. |
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! |
l4n3,
I'm not sure that I follow what is not convenient about RH's KB article for adding a device? |
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. |