Using the standard upgrade proceedures, Debian Etch + LVM will fail to upgrade to Debian Lenny gracefully. This is due to the kernel modules and is simple to avoid.
- Before changing apt sources (They should be etch)
- apt-get update
- apt-get upgrade
- reboot if kernel upgrades
- Now change your apt sources (Lenny or Stable)
- apt-get update
- apt-get upgrade
- NOTE: At this point lvm2 is probably held back.
- Reboot if the kernel upgrades
- NOW do your dist upgrade
- apt-get update
- apt-get dist-upgrade
- NOTE: At this point lvm2 is probably still held back.
- Reboot
- apt-get update
- apt-get install lvm2
- Reboot
TADA! You have to reboot a couple times, but you never have to touch the configs or the mapper.
Did you find this post useful or have questions or comments? Please let me know!