wiggst3r Posted March 10, 2009 Share Posted March 10, 2009 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 Quote Link to comment Share on other sites More sharing options...
steviewdr Posted March 10, 2009 Share Posted March 10, 2009 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 Quote Link to comment Share on other sites More sharing options...
wiggst3r Posted March 11, 2009 Author Share Posted March 11, 2009 That seems quite complicated for someone who is new to building servers in linux. Is there an easier way I could what I'm looking to do? Thanks Quote Link to comment Share on other sites More sharing options...
steviewdr Posted March 12, 2009 Share Posted March 12, 2009 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.