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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.