how to upgrade from rh70 to rh71
Hmm:
I never really thought about this when I decided to put all my filesystems on LVM logical volumes; but how am I going to be able to upgrade to RedHat 7.1? If I remember correctly, the installer has its own custom kernel and root filesystem to boot into for the upgrade.
My setup is two IDE disks with 4 RAID-1 devices. I have an LVM volume group (/dev/w0) on one of these (/dev/md2), that has all my filesystems on it (except /boot).
/dev/w0/root/dev/w0/var/dev/w0/usr/dev/w0/home/dev/w0/opt.
So the redhat upgrade kernel will need to have support for RAID and LVM. And it will need to run vgscan, and vgchange -ay. And it will need to have devfs support or it will need to use mknod to make the directories enumerated above. Does anyone know if it does all these things?
Am I going to have to use my own rescue disk as the platform from which to manually do the upgrade (by issuing the appropriate rpm commands?
Has anyone with a similar configuration done this?
---
Joe Harvell
Quoted 5 lines · Joe Harvell
Hmm:
I never really thought about this when I decided to put all my filesystems on LVM logical volumes; but how am I going to be able to upgrade to RedHat 7.1?
:-)
Quoted 2 lines
If I remember correctly, the installer has its
own custom kernel and root filesystem to boot into for the upgrade.
Which probably does support LVM in as much as the 0.9.whatever beta that is in the Linus kernel does. Your problems will likely be more with the installer code than the kernel.
Quoted 2 lines
So the redhat upgrade kernel will need to have support for RAID and LVM. And it will need to run vgscan, and vgchange -ay.
Yup.
Quoted 3 lines
And it will
need to have devfs support or it will need to use mknod to make the directories enumerated above.
Yup.
Quoted 2 lines
Does anyone know if it does all these
things?
I doubt it.
Quoted 2 lines
Am I going to have to use my own rescue disk as the platform from which to manually do the upgrade (by issuing the appropriate rpm commands?
That or upgrade (and it is an upgrade from redhat IMHO -- not to start any religious wars) to Mandrake 8.1. Mandrake's installer has had support for LVM volumes (recognizing them, activating them, and even creating them!) for a couple of releases now.
They appear in their "disk druid" (disk partitioner) as additional "partitions" that can be assigned mount points, have filesystems mounted on, etc. The only thing they don't do yet is support root on an LV -- I am working on that problem when time permits. Since they just released 8.1 I hope to have root on LVs in their next release.
By speaking up, maybe I am about to be proven that Red Hat has all of this too, but I have never noticed it in their installer.
b.
Signature · 1 line
Brian J. Murrell
Quoted 7 lines · Brian J. Murrell
Quoted 5 lines · Joe Harvell
Hmm:
I never really thought about this when I decided to put all my filesystems on LVM logical volumes; but how am I going to be able to upgrade to RedHat 7.1?
mount your rh71 cd and do
rpm -Ivh /mnt/cdrom/RedHat/RPMS/kernel-2.4.2-2.ix86.rpm (so it will not upgrade it)
then rpm -Fvh /mnt/cdrom/RedHat/RPMS/*rpm
(speaking of mandrake)
Quoted 3 lines
mounted on, etc. The only thing they don't do yet is support root on an LV -- I am working on that problem when time permits. Since they just released 8.1 I hope to have root on LVs in their next release.
i will add it at least to mkinitrd, since i am switching my main system to mdk81, at the moment i am busy rebuilding everything with athlon optimizations
i also had problem with lvm over raid with the installer.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \