LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-14-2013, 02:34 PM   #1
NYCmitch25
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Booting a Cloned Drive and booting with both drives plugged in.


I have a RHEL6 drive encrypted with LUKS (a rootvg and /boot). I want to clone it so dd seems promising or clonezilla. I dd the entire disk over and that drive works great in general. Swap the drive in, and it boots fine.

However, another scenario which I would like to account for is the delta of data not on the backed up drive. So my thought is to boot them both in the same system (say from ultra bay/USB) but it reads the wrong disk etc...

So I then go through the effort of trying to rename the LV PV update grub and fstab etc. to get it to see two separate drives (and properly see the other partition in Linux) , but I keep getting KPs. Not sure what I'm doing wrong.

Q: Has anyone done this before? Am I missing steps I wonder?
Q: OR Is there a better way?
 
Old 02-14-2013, 06:03 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,965

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
It would be a neat trick to boot both at the same time. In the future we may be able to.

The way one normally keeps data in sync is with some rsync type of way or to mount the drive as a mirror as part of raid.

A clone would have the original settings for anything that deals with device naming/numbering. Remember that you can only have one SDA device. Also things that get uuid or such are off. Kind of a lot of stuff that you would only have to or may have to change back.

I understand that you want to keep a hard drive in case of total hard drive disaster.

Last edited by jefro; 02-14-2013 at 06:05 PM.
 
Old 02-18-2013, 11:49 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,280

Rep: Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590Reputation: 590
A clone also has problems with logical volumes ... the existence of duplicate labels prevents the proper assembly of the logical volumes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Booting with identical drives Woodsman Linux - Hardware 4 09-04-2010 01:24 AM
usb device works only when is plugged in after booting Jaa Linux - Hardware 2 08-22-2006 11:00 AM
Cloned image using Acronis not booting dogbreath_NZ Linux - Kernel 2 08-10-2006 12:35 AM
booting 2 physical drives Malique Linux - Hardware 5 04-06-2004 07:10 AM
Dual booting on 2 hard drives olivierrrrr Linux - Newbie 18 10-12-2003 01:53 AM


All times are GMT -5. The time now is 12:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration