Hi,

Thanks for giving me guidance. Yesterday I bought a new harddisk (segate
ST9500325AS 500G cost 3.5k, not sure this is Value For Money, but just
bought it) and went through. Now, I'm posting this mail with the same OS
migrated and working from the new harddisk. Its worth of an ilugc session,
or atleast a blog post.

All I have to do is (from a live-cd)

1) create the lvm partitions with the same name as in the failing harddisk
(size doesn't matter but name matters and they should have enough space to
restore the backups)
2) restore the backups
3) modify /etc/fstab to point to the correct partition for /boot (this step
is not needed if you have /boot in lvm, unfortunately, my /boot is not in
lvm, so I have to modify /etc/fstab to get rid of the UUID which points to
one of the partition in my failing harddrive)
4) generate new /boot/grub/grub.cfg
5) install grub into boot sector.

thats it, restarted and I'm done. All works fine (atleast no impact to my
day-to-day activity). Now I know how these cloud admins clone hundreds of
nodes while eating snacks.

Thanks,
Mohan R
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to