LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-11-2012, 12:35 PM   #1
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,565

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Question Best Pracitces for cloning a drive


Hi LQ Members,

I am going to upgrade a production server from one RHEL version to another, due to the intricacy of the applications running on the machine and how different the RHEL versions are I am thinking that cloning one of the drives for recovery purposes may be a safe way to go.

This server is running two drives in a mirror so I am thinking if there is issues I can rebuild the array to the cloned drive. My plan is to pull one of the drives and replace it with a blank one so the array gets rebuilt to that drive. I will then pull it and replace it with the original and do my upgrade.

This post is to get some input from some other members to see if this is the right way to approach this or if there are some suggestions on a better/safer way to attempt an upgrade of this sort.

Again, this is in a production data-center with only a few hours of a window for me to complete the work.

I appreciate any input or advice!

Thank You.
 
Old 04-11-2012, 12:58 PM   #2
ba.page
Member
 
Registered: Feb 2012
Location: Canada
Distribution: Scientific,Debian
Posts: 35

Rep: Reputation: 7
Your question sends chills up my spine.
This is a production server. do not do anything to it unless you can prove it works on a test server first.

now that i've spoken for your conscience, here's what I understand from the rest of your question.
you have a mirror (AB) and you're going to replace (B) with (C).
that way if your plan fails on mirror (AC), you'll recover by removing both (A) and (C) and adding (B) back in.

I guess whether or not this will work will depend on your hardware.
what happens if your controller remembers B and a failed drive and recognizes that when you try to put it back in?
who knows?
test it first. I really hope you have a test server that represents your prod environment.
 
1 members found this post helpful.
Old 04-11-2012, 01:43 PM   #3
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,565

Original Poster
Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Quote:
Originally Posted by ba.page View Post
I really hope you have a test server that represents your prod environment.

I wish I did to, this application we do not have the ability to setup in a development environment. I am thinking I may also do a dd to dump the drive to a flat file that I can backup, we also have a backup environment that I can use to roll back if necessary but its only a flat file backup and would require a rebuild of the environment. I'm hoping that if I pull drives A and C and put B and another blank drive in the controller will see the B drive and rebuild the array to the blank I put in. I don't really have a way to test this does anyone have any previous experience doing anything crazy like this?
 
Old 04-11-2012, 03:47 PM   #4
Zetec
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, W7, openSUSE, Centos
Posts: 152

Rep: Reputation: 25
Can't you P2V the server and perform a test locally off network first?
 
Old 04-15-2012, 09:12 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,251

Rep: Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026Reputation: 2026
If you want to do a hot disk pull/re-mirror, then google your HW to check and/or contact your supplier.
 
Old 04-16-2012, 10:47 AM   #6
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,565

Original Poster
Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Thanks for all the input. I have verified the hot-swap rebuild will work without problems just wanted to make sure nobody had any gotcha's to give me a heads up on.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning dual-boot drive onto a smaller drive. Harju Linux - Newbie 4 05-29-2010 11:40 AM
[SOLVED] Ext3 Drive cloning mangatmodi Linux - Software 4 03-31-2010 02:26 PM
cloning a drive with dd gdanko Linux - General 3 01-20-2010 01:11 PM
cloning drive but need advice peterb Linux - Newbie 11 10-15-2007 01:18 PM
Need help in cloning drive raddad51x Fedora 1 05-16-2006 01:31 AM


All times are GMT -5. The time now is 05:48 PM.

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