Unsolved
This post is more than 5 years old
2 Intern
•
138 Posts
0
2244
January 24th, 2014 10:00
How does one identify an expanded LUN on RHEL Linux 5.8 or 6.4
All:
Today I got a request to expand an existing LUN on a CLARiiON that is presented to an existing RHEL Linux 5.8 server. Which I did.
The problem is that the Linux Admins can't detect the added space. They use native Linux Multipathing (multipath -d, multipath -ll). Not EMC PowerPath. They still see a 10 GB volume, even though I changed it to 20 GB.
We do this all of the tiem with the W2K8 Admins, but we have never done this before with the Linux servers.
I told them that the Linux OS is "remembering" the old volume attibutes, and that they need to get it to "see" the new space. They have been messing around (rescan, 'echo "- - -" blah, blah, .....'), but they can't get it to work on the fly. The best they come up with is I remove the LUN from the server, they reboot the server, which wipes out the old LUN characteristics, and then I replace the LUN with the same "local LUN number", and then they see the new space. Also, if I change the "local LUN number" then Linux sees it as a new volume and sees the new space.
Is there some kind of Linux command to "recognize" the new attribute of the LUN:
pv-recognize-new sdX
echo "- - -" blah, blah, recognize-new...
pvexpand
If W2K8 can do it, then RHEL should be able to do it!
Stuart

