LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2008, 09:00 AM   #1
b_e_s
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Question Move a Redhat installation to another server with devices


Hello,

I am using Ibm Tivoli Storage manager (TSM) for backup servers. I created a bootable cd for restore data when server crash.

I would like to "copy" (in fact restore from TSM server) all data to another server which contain other raid controller (I want to restore data from HP server to DELL server).
I meet some problems when all data have been restored and my server is rebooting (take a look on the picture in attachment).

Hp raid controller call hard drive device like "/dev/cciss/c0d0" and Dell raid controller call HD like : "/dev/sda".
Also i modified /etc/mtab, /etc/fstab, /boot/grub/device.map, and i built again the partition labels with "e2label /dev/sdaX /home" for example.

When the server rebooting, i think it loading the old raid controller module (cciss.ko) and try to mount partition but it failed.

If anybody is interesting about this study case please,... help !

Thanks,
Seb
 
Old 12-04-2008, 09:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by b_e_s View Post
Hello,

I am using Ibm Tivoli Storage manager (TSM) for backup servers. I created a bootable cd for restore data when server crash.

I would like to "copy" (in fact restore from TSM server) all data to another server which contain other raid controller (I want to restore data from HP server to DELL server).
I meet some problems when all data have been restored and my server is rebooting (take a look on the picture in attachment).

Hp raid controller call hard drive device like "/dev/cciss/c0d0" and Dell raid controller call HD like : "/dev/sda".
Also i modified /etc/mtab, /etc/fstab, /boot/grub/device.map, and i built again the partition labels with "e2label /dev/sdaX /home" for example.

When the server rebooting, i think it loading the old raid controller module (cciss.ko) and try to mount partition but it failed.

If anybody is interesting about this study case please,... help !

Thanks,
Seb
What did you make the bootable CD with? Use something like systemimager, mkcdrec, or mondoarchive, which handles different hardware better, but it still won't be perfect. Kernel modules may have to be loaded/unloaded/loaded-with-options, to make new servers work, and it's tricky.

If you can't go to identical hardware, I'd make sure that you have your OS on one partition, and data/software/everything else on another. Do a fresh Linux build to the new hardware, install the TSM client, and a quick restore of the data partition, and you're back in business.
 
Old 12-04-2008, 07:14 PM   #3
b_e_s
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
My Bootable Cdrom is a slax distribution and use for restore data of clients (i installed the tsm client on it and recompiled it). I tried a restoration on other server with same configuration, it works in few time !
Re-install the server for restore data after is not optimized for me. I have to use a cd and restore data directly from tsm server.

Yes i had backup severate partitions /, /var, /home, ...

How to change the loading of modules for take in account the new raid controller ? Is it possible ?
 
Old 12-04-2008, 08:30 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by b_e_s View Post
My Bootable Cdrom is a slax distribution and use for restore data of clients (i installed the tsm client on it and recompiled it). I tried a restoration on other server with same configuration, it works in few time !
Re-install the server for restore data after is not optimized for me. I have to use a cd and restore data directly from tsm server.

Yes i had backup severate partitions /, /var, /home, ...

How to change the loading of modules for take in account the new raid controller ? Is it possible ?
Yes, that's what I said...you CAN manually load modules, etc., to get different hardware working. But you have to KNOW what they are, and have them built into your recovery CD to start with.

Your /, /var, /usr, etc., are your operating system. They get built when you do an OS load. What I said was to keep your SOFTWARE (/home, your databases, images, whatever....), on a separate partition. A fresh install takes less than an hour...TSM install is a couple minutes, and restoring one partition goes very quick.

And, as I suggested earlier, check out mondoarchive, mkcdrec, or systemimager. All of those I mentioned do what you're looking for....but again, identical hardware is easy....different hardware is not.
 
Old 12-05-2008, 05:21 AM   #5
b_e_s
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Yes, that's what I said...you CAN manually load modules, etc., to get different hardware working. But you have to KNOW what they are, and have them built into your recovery CD to start with.
Ok but my recovery cd already include some raid modules else i won't be able to start dell and hp servers from cd and see disk, partitions,...
As you said, i have to find which modules are used. But when i located files what i supposed to do ? Modify initrd of my /boot/ restore partition ? i don't know....

Quote:
....but again, identical hardware is easy....different hardware is not.
I see... I see !! Thank you TB0ne

I hope it's clear for you
 
Old 12-05-2008, 08:13 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by b_e_s View Post
Ok but my recovery cd already include some raid modules else i won't be able to start dell and hp servers from cd and see disk, partitions,...
As you said, i have to find which modules are used. But when i located files what i supposed to do ? Modify initrd of my /boot/ restore partition ? i don't know....

I hope it's clear for you
Very clear to me...but you're missing what I'm saying. When you build your recovery CD, it looks at what you've GOT, and builds the kernel accordingly.

The bare-metal recovery products I mentioned, let you load modules from the command line. Since they're modules, you load them with modprobe...you don't have to modify initrd. As for finding out which ones? Who knows....that depends on your hardware, and if you go to newer hardware, an older version of Linux may not be able to work with the new devices at ALL. Hence, the suggestion that you do a fresh install, and just restore data/software via TSM.......
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat linux client server installation horizonti_2004 Linux - General 2 11-28-2008 11:05 AM
Advice on how to physically move a san attached Redhat server to a new Data Center mistrm2 Linux - Enterprise 2 01-31-2008 02:56 AM
Getting ERROR "no valid devices were found ..." on Installation of RedHat Linux 9 salil.mehta Linux - Laptop and Netbook 16 07-25-2006 08:45 PM
RedHat Advance Server 2.1 installation ashley75 Linux - General 1 03-15-2005 04:28 PM
Mandrake Move 9.2, no devices found??? silentwhispers Mandriva 1 09-04-2004 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration