Jump to content

Switching RAID to new server


wiggst3r

Recommended Posts

Hi

 

I've currently got a server acting as a file server running Ubuntu 7.1.

 

The server has 6 HDDs, 2 are the OS drives and 4 are in RAID 5.

 

I'm looking to move the current setup to a new machine and I was wondering what the best steps would be?

 

Could I create a disk image of the current server and copy that over to the new one and then just plug in the hard drives and RAID card?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/148781-switching-raid-to-new-server/
Share on other sites

Setup new server in raid config.

Install base os.

 

rsync over /home /var/mail and other folders.

 

 

If you don't want to have to install an os on the new server, but copy everything over, take a read of:

http://wiki.kartbuilding.net/index.php/Install_and_Config_Base_OS#Migrate_from_LVM_based_to_LVM_based_Partition

It'll require a bit of work.

Put a livecd in the new server.

Setup raid on it. It'll be /dev/md0.

Run the following command:

nc -l -p 7000 | dd of=/dev/md0

 

 

Put a livecd in the old server and run:

dd if=/dev/md0 | nc newserver.ip.address 7000 -q 10

 

Might take a while, but should work ok. Again thats only 1 option of many.

 

-steve

 

What files are on the server?

 

You said "currently got a server acting as a file server".

Where are the files on the current server?

/home/users?

 

Setup the new computer. Install ubuntu on it.

Copy the files from your current fileserver onto the new server.

look into rsync for copying across the network.

 

-steve

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.