Tag Archives: lvm

Sunday fun

  1. Shutdown
  2. <install new/replacement disk>
  3. fdisk
  4. mkswap
  5. umount /boot
  6. dd
  7. e2fsck && resize2fs
  8. mount -o remount,ro /
  9. dd
  10. e2fsck && resize2fs
  11. mount -o remount,rw /
  12. pvcreate
  13. vgextend
  14. pvmove (wait a long long long time for 174 GB, especially with disk read errors, to move)
  15. vgreduce
  16. shutdown
  17. remove old and busted, put new hotness in as primary disk
  18. boot into rescue disk
  19. mount / /usr
  20. grub-install /dev/hda1
  21. ms-sys -m /dev/hda
  22. vi /etc/fstab
  23. shutdown -r now
  24. Party like its 1999 or, if you like assembler better:   GGB