[linux-lvm] Red Hat upgrade over existing LVM

Terje Kvernes terjekv at math.uio.no
Sat Apr 6 02:28:02 UTC 2002


Nick Urbanik <nicku at vtc.edu.hk> writes:

> We have a number of servers with /usr and /var on LVM. The
> difficulty arises when upgrading from one version of Red Hat to
> another; the installation disks do not recognise the logical
> volumes.

  a well known issue.
 
> Do any of you have any reasonable approach to solving this?  

  if you want to do the "normal" thing with a CD-boot-upgrade, no,
  you're fscked.

> Do I need to create a new network installation boot disk with a
> small kernel with support for LVM and scripts to turn on LVM groups?

  that's one way, the easier way is to either use apt or red-carpet to
  upgrade your distro.  with red-carpet, fiddle with
  /etc/redhat-release, apt has dist-upgrade, I think.  I've upgraded
  two machines from 7.0 -> 7.2 with red-carpet, but I'd advice you to
  set off a day with this, even if you get the rpms from somewhere
  besides ximian.

  I did it as follows: grab the rpms from RH7.2, with the updates,
  from a local mirror, and dump them to /var/cache/redcarpet, then
  fiddle with /etc/redhat-release (feel free to install the rpm
  "redhat-release"), then run red-carpet.  things will break and fail
  now and then, fiddle.

  these days I have a RH7.2-box that has an uptime of about 240 days.
  :)

-- 
Terje




More information about the linux-lvm mailing list