LVM | Brain Goo https://www.popmartian.com/tipsntricks Carpe Crap 'em Wed, 20 May 2009 15:46:16 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.10 LVM Breaks When Upgrading Debian Etch to Lenny 4.x to 5.0 https://www.popmartian.com/tipsntricks/2009/04/28/lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50/ https://www.popmartian.com/tipsntricks/2009/04/28/lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50/#comments Tue, 28 Apr 2009 14:37:46 +0000 http://www.popmartian.com/tipsntricks/?p=83 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 … Continue reading →

The post LVM Breaks When Upgrading Debian Etch to Lenny 4.x to 5.0 first appeared on Brain Goo.

]]>
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.

  1. Before changing apt sources (They should be etch)
  2. apt-get update
  3. apt-get upgrade
  4. reboot if kernel upgrades
  5. Now change your apt sources  (Lenny or Stable)
  6. apt-get update
  7. apt-get upgrade
  8. NOTE: At this point lvm2 is probably held back.
  9. Reboot if the kernel upgrades
  10. NOW do your dist upgrade
  11. apt-get update
  12. apt-get dist-upgrade
  13. NOTE: At this point lvm2 is probably still held back.
  14. Reboot
  15. apt-get update
  16. apt-get install lvm2
  17. 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!

The post LVM Breaks When Upgrading Debian Etch to Lenny 4.x to 5.0 first appeared on Brain Goo.

]]>
https://www.popmartian.com/tipsntricks/2009/04/28/lvm-breaks-when-upgrading-debian-etch-to-lenny-4x-to-50/feed/ 4