0

I lost a secondary hard drive in an Ubuntu Server this week. No problem restore data to the primary driver and one the way we go! Wouldn't that be nice if it was the end of the story!

I am later this week going to install a new hardware mirrored arrary into the server to prevent me from have to run out and replace the drive if something happens again. (yea I know should have been done a long time ago)

After I get the new array up and running what is the best way to I move the OS to the new array ? dd, dump, reinstall and reconfigure...

JJ01
  • 451
  • 5
  • 17

2 Answers2

2

Use rsync.

I would probably do something like:

rsync -av --exclude /new_drive / /new_drive

That should copy everything, then you'll need to edit your menu.lst in /boot/grub and also your fstab in /etc/fstab to point to the proper locations.

ScottZ
  • 467
  • 2
  • 7
0

Thank you Kevin Kuphal - Linking to

moving to a larger drive in linux

JJ01
  • 451
  • 5
  • 17