LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2009, 02:44 PM   #1
lpoppleton
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
questions about using dd command for cloning a drive


I have 2 80GB drives in my Dell Poweredge SC1430 webserver, set up as RAID, with Ubuntu 8.04LTS installed. Everything is running properly. I want to clone what the system sees as sda1 onto a drive that I have connected via a usb external enclosure.It is also an 80GB drive.

I have read and printed the instructions on "How to clone your bootable Ubuntu install to another drive" posted at http://www.arsgeek.com/2008/01/22/ho...another-drive/.

My questions are about the dd command. ‘dd if=/dev/sda1 of=/dev/sdb1 conv=noerror,sync’. The machine I am cloning is a production web server. 1)Is there any danger in running the dd command while leaving the web server active? 2)Do I need to format the output drive before running the dd command?

Thanks!
 
Old 11-12-2009, 02:50 PM   #2
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 579

Rep: Reputation: 37
I recommend you download and use CLONEZILLA. It's a very easy to use application. Good Luck.
 
Old 11-12-2009, 03:30 PM   #3
lpoppleton
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I was hoping to be able to do this without taking my webserver down. Obviously, booting from a Clonezilla cd would entail taking my webserver down. Is there some reason you do not recommend using dd?
 
Old 11-12-2009, 05:14 PM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 579

Rep: Reputation: 37
I see, I always use Clonezilla to clone my HDs, even the servers. can't you bring your server down for about 1 hour or more? (depending on how much data you have there).
I tried using the DD command once and I think (don't remember) gave me an error message that a file was being used by another process and I had to use Clonezilla to clone it.
 
Old 11-13-2009, 12:05 PM   #5
lpoppleton
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks. That answers my question about being able to clone a disk while it is live. I will try Clonezilla over the weekend.
 
  


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 Hard Drive FredGSanford Linux - Software 5 08-28-2008 06:37 AM
cloning a sata drive bicolano53 Linux - Hardware 4 04-18-2007 09:00 AM
Need help in cloning drive raddad51x Fedora 1 05-16-2006 02:31 AM
Cloning a hard drive davcefai Debian 3 11-28-2005 06:36 PM
Cloning Hard Drive rls Linux - Software 3 08-23-2003 03:32 PM


All times are GMT -5. The time now is 02:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration