Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-14-2013, 01:34 PM   #1
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, 05:03 PM   #2
Registered: Mar 2008
Posts: 18,086

Rep: Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709
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 05:05 PM.
Old 02-18-2013, 10:49 AM   #3
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,720

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


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 12:24 AM
usb device works only when is plugged in after booting Jaa Linux - Hardware 2 08-22-2006 10:00 AM
Cloned image using Acronis not booting dogbreath_NZ Linux - Kernel 2 08-09-2006 11:35 PM
booting 2 physical drives Malique Linux - Hardware 5 04-06-2004 06:10 AM
Dual booting on 2 hard drives olivierrrrr Linux - Newbie 18 10-12-2003 12:53 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 AM.

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