![]() |
Migrating RHEL4 OS to EMC SAN with PowerPath
We are currently working on a boot-to-san project, and we're trying to find out if we can take our current RHEL boxes, and migrate them to boot-to-san, or if we have to do a fresh install of the OS and all the applications (Oracle mainly).
Working with a test box, I can load RHEL on a host, dd it to the san, and it will boot-from-san just fine. However, if I have PowerPath installed and working, and then dd it to the san, it will not work. If there is anyone that can help me, thank you. |
How does it "not work" exactly? How far along in the boot process do you get, and what error messages do you see?
|
And, of course, 1 hour after I posted this, we figured out what went wrong, and have our box booting to SAN.
Thanks. Just as an FYI, you have to change the /boot line of fstab to point to the PowerPath pseudoname of the boot partition on the SAN. So this line: LABEL=/boot /boot ext3 defaults 1 2 will read this: /dev/emcpowerXX /boot ext3 defaults 1 2 with the first X being the PowerPath pseudoname for the LUN, and the second X being the partition # (ours was emcpowerf1) I'm writing up the entire process now, if anyone wants a copy of it, please let me know. |
Makes sense. Thanks for following up on your thread.
(Note that you could also update your /boot label to point to the emcpower device. But your solution is fine.) |
Sorry if I wasn't clear, but that is exactly what we did.
|
Further adventures with bfs migration:
Since we're moving ALL of our RedHat boxen to either bfs, or P2V, I've been having a lot of fun with all sorts of problems. My definition of "a lot of fun" of course includes the fact that I've only been doing Linux for about 2 months now. Latest adventure: After using dd to copy the local hardrive to the LUN on the SAN, it couldn't find the volume group, which caused a kernel panic. This has only happened on one box so far, but here is how I finally made it work: I did a fresh install on a different box, upgraded that box to the same kernel as the box we were having trouble with, and then copied the initrd .img file to the bad box.I hope this is somewhat clearer than mud for folks reading it. |
| All times are GMT -5. The time now is 11:23 AM. |