LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2011, 07:03 AM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
clone disk between 2 identical machines


Hi

I have 2 identical hardware machines.
On the servers I have ServeRAID- m1015 hardware RAID controllers.
In each controller I configured 2 disks in RAID1.

I configure server1 and when I finish I want to unplug 1 disks from this machine and put it to another machine and create RAID1 mirror.
Then I will have 2 machines with identical setup.

What needs to be done on the 2nd machine (this cloned one) to make system work ?

I already listed the following actions :
1. edit uuid in /etc/fstab file of disk from machine1.
2. change ethernet aliases in /etc/udev/rules.d directory

thx for help.
 
Old 08-25-2011, 12:58 AM   #2
kostya
Member
 
Registered: Mar 2010
Location: Moscow, Russia
Distribution: Ubuntu Studio, antix(mepis), Fedora, FreeBSD
Posts: 174
Blog Entries: 5

Rep: Reputation: 18
Quote:
Originally Posted by drManhattan View Post
2. change ethernet aliases in /etc/udev/rules.d directory
Not ALIASES, perhaps, but the network addresses for your NICs?
Then system passwords and settings for various services in case you're planning to run both?

Depending on just how "identical" these two must be...

Last edited by kostya; 08-25-2011 at 01:00 AM.
 
Old 08-25-2011, 02:06 AM   #3
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
I already done this and my system boots into "Maintenance Mode".

There were following issues :
1. UUID of disk was from GoldenImage machine
2. Aliases for NIC's on GoldenImage was eth1-4 and on the clone it was eth5-8. It seams like clone system started to name NIC from eth5 cause thought that it alread has eth1-4.
3. Of course changed hostnames and IP addresses

My question is how to change UUID of disk in /etc/fstab ?
 
  


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
2 identical machines, 1 kernel??? Mufasa Linux - Distributions 1 01-07-2009 01:56 AM
clone identical HDD and leave both bootable owenm Linux - Enterprise 1 12-02-2008 04:11 PM
KDE freezes on identical machines LarryFrigginWachs Linux - General 1 04-17-2006 04:53 PM
Sync up identical machines kenny_dilger Linux - General 1 07-09-2004 04:26 PM
building 5 identical machines - how to clone the HDs? BrianK Linux - General 1 12-18-2003 04:25 PM

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

All times are GMT -5. The time now is 05:49 AM.

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