* [linux-lvm] how to upgrade from rh70 to rh71
@ 2001-10-02 4:35 Joe Harvell
2001-10-02 4:53 ` Brian J. Murrell
0 siblings, 1 reply; 5+ messages in thread
From: Joe Harvell @ 2001-10-02 4:35 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] how to upgrade from rh70 to rh71
2001-10-02 4:35 [linux-lvm] how to upgrade from rh70 to rh71 Joe Harvell
@ 2001-10-02 4:53 ` Brian J. Murrell
2001-10-02 18:18 ` Luca Berra
0 siblings, 1 reply; 5+ messages in thread
From: Brian J. Murrell @ 2001-10-02 4:53 UTC (permalink / raw)
To: linux-lvm
On Mon, Oct 01, 2001 at 11:35:17PM -0500, Joe Harvell wrote:
> 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.
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.
> 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.
> And it will
> need to have devfs support or it will need to use mknod to make the
> directories enumerated above.
Yup.
> Does anyone know if it does all these
> things?
I doubt it.
> 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.
--
Brian J. Murrell
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] how to upgrade from rh70 to rh71
2001-10-02 4:53 ` Brian J. Murrell
@ 2001-10-02 18:18 ` Luca Berra
0 siblings, 0 replies; 5+ messages in thread
From: Luca Berra @ 2001-10-02 18:18 UTC (permalink / raw)
To: linux-lvm
On Tue, Oct 02, 2001 at 12:53:04AM -0400, Brian J. Murrell wrote:
> On Mon, Oct 01, 2001 at 11:35:17PM -0500, Joe Harvell wrote:
> > 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)
> 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.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] how to upgrade from rh70 to rh71
@ 2001-10-02 6:34 Jean-Eric Cuendet
0 siblings, 0 replies; 5+ messages in thread
From: Jean-Eric Cuendet @ 2001-10-02 6:34 UTC (permalink / raw)
To: linux-lvm
> > 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?
I could have the same problem. But I don't run the updater. I update "by
hand".
That means, updating packages one by one with "rpm -U". That's a big
work but at least I'm sure that it'll work. The only time I upgraded
with RH installer, the system was UNUSABLE! Reinstall from scratch!
By updating this way, the LVM problem disappears!
-jec
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] startup scripts
@ 2001-02-02 20:25 Gashaw Mengistu
2001-02-02 18:04 ` Gashaw Mengistu
0 siblings, 1 reply; 5+ messages in thread
From: Gashaw Mengistu @ 2001-02-02 20:25 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
Hello all,
New here.
I am trying to get my RAID working with LVM. So far so good. But I have
a couple of questions:
Where does the startup script go? I tried to put it in rc.sysinit right
after the hostname setup and tells me LVM startup is sucessful but would
not really start the VG. It fails on fsck. Then it drops me to shell and
I can manually start LVM by doing vgchange -ay (exact same way it is in
rc.sysinit) and do fsck and continue booting from there. What gives?
The other question is probably just a fluke but I couldn't create a
directory on the file system mounted on LVM. I can create files though.
But then it went away when I rebooted.
Thanks
[-- Attachment #2: Card for Gashaw Mengistu --]
[-- Type: text/x-vcard, Size: 176 bytes --]
begin:vcard
n:Mengistu;Gashaw
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:gashaw@asosa.org
title:Systems Engineer
x-mozilla-cpt:;0
fn:Gashaw Mengistu
end:vcard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] startup scripts
2001-02-02 20:25 [linux-lvm] startup scripts Gashaw Mengistu
@ 2001-02-02 18:04 ` Gashaw Mengistu
2001-02-03 13:43 ` Nils Juergens
0 siblings, 1 reply; 5+ messages in thread
From: Gashaw Mengistu @ 2001-02-02 18:04 UTC (permalink / raw)
To: linux-lvm
Oh .. I am using Mandrake 7.2 with Kernel 2.4.1 compiled with RAID and LVM
support built in.
On Fri, 2 Feb 2001, Gashaw Mengistu wrote:
> Hello all,
>
> New here.
> I am trying to get my RAID working with LVM. So far so good. But I have
> a couple of questions:
>
> Where does the startup script go? I tried to put it in rc.sysinit right
> after the hostname setup and tells me LVM startup is sucessful but would
> not really start the VG. It fails on fsck. Then it drops me to shell and
> I can manually start LVM by doing vgchange -ay (exact same way it is in
> rc.sysinit) and do fsck and continue booting from there. What gives?
>
> The other question is probably just a fluke but I couldn't create a
> directory on the file system mounted on LVM. I can create files though.
> But then it went away when I rebooted.
>
> Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] startup scripts
2001-02-02 18:04 ` Gashaw Mengistu
@ 2001-02-03 13:43 ` Nils Juergens
2001-10-02 4:26 ` [linux-lvm] how to upgrade from rh70 to rh71 Joe Harvell
0 siblings, 1 reply; 5+ messages in thread
From: Nils Juergens @ 2001-02-03 13:43 UTC (permalink / raw)
To: linux-lvm
On Fri, 02.02.01, Gashaw Mengistu <gashaw@asosa.org> wrote:
>
> Oh .. I am using Mandrake 7.2 with Kernel 2.4.1 compiled with RAID and LVM
> support built in.
>
Well, if you compiled your kernel with raid autodetect support it does
not matter that much where you put it. If your raid is started by some
startup-script you have to put the lvm-stuff after that.
I think it is quite reasonable to initialize LVM quite early, after
the initial mount of the / filesystem. That way you can mount the
filesystems the usal way at startup - using /etc/fstab. If one of your
PV's is a MD, autodetect support is mandatory.
greetings,
Nils
--
> Nils Juergens | nils@muon.de | icq 7090774 <
> If we all work hard, we can turn this company <
> around 360 degrees -- gruntbert(LOTD) <
^ permalink raw reply [flat|nested] 5+ messages in thread
* [linux-lvm] how to upgrade from rh70 to rh71
2001-02-03 13:43 ` Nils Juergens
@ 2001-10-02 4:26 ` Joe Harvell
0 siblings, 0 replies; 5+ messages in thread
From: Joe Harvell @ 2001-10-02 4:26 UTC (permalink / raw)
To: linux-lvm, Greg Stovall, Mark Flacy, Jim Wolff, William Mcnamara
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-02 18:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-02 4:35 [linux-lvm] how to upgrade from rh70 to rh71 Joe Harvell
2001-10-02 4:53 ` Brian J. Murrell
2001-10-02 18:18 ` Luca Berra
-- strict thread matches above, loose matches on Subject: below --
2001-10-02 6:34 Jean-Eric Cuendet
2001-02-02 20:25 [linux-lvm] startup scripts Gashaw Mengistu
2001-02-02 18:04 ` Gashaw Mengistu
2001-02-03 13:43 ` Nils Juergens
2001-10-02 4:26 ` [linux-lvm] how to upgrade from rh70 to rh71 Joe Harvell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.