LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-10-2004, 09:29 PM   #1
rjneeley
LQ Newbie
 
Registered: Jun 2004
Posts: 11

Rep: Reputation: 0
Copy a Hard Drive


Hi,

I am a network admin that has been given the task of upgrading a hard driver in the company mail server.

We are currently using 6 SCSI hard drives and one of these drives is about 100mb from full!!!

The full drive is a 4.2GB SCSI, The replacement drive is a 18.2 GB SCSI hard drive. The drive in question is the /var partition.

My question is how do I copy the contents of just the OLD drive to the NEW drive and not mess with the other 5 drives?

Thank you for any help you can provide!!!!!!


- Ryan
 
Old 06-11-2004, 12:05 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 144Reputation: 144
Here's a good tutorial on moving your home partition which you might be able to adapt:

http://www-106.ibm.com/developerwork...-partplan.html

You could also image the /var partition using partimage which is included in knoppix and restore the image to your new drive. With partimage, you can't image the partition with the partition mounted which is where knoppix comes in handy. You boot off the knoppix cd which boots into a kde desktop and runs entirely in ram. Here's a link for partimage usage:

http://www.desktop-linux.net/backups.htm
 
Old 06-11-2004, 04:27 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
I'd just use the dd command, where you specify the input source and the output source, and then dd just does a bit by bit copy. Check the man page for dd but I'm pretty sure it can easily handle what you're attempting to do. -- J.W.
 
Old 06-11-2004, 08:58 AM   #4
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
check out this thread

http://www.linuxquestions.org/questi...hreadid=167516
 
  


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
Completely copy hard drive... markw8500 Linux - Software 3 08-21-2005 05:42 AM
Easiest way to copy a boot drive to a new hard drive lsgko Linux - Software 3 05-24-2005 10:38 PM
How to copy ext2fs from failed hard drive to good drive? DogWalker Linux - Hardware 2 08-30-2004 11:52 PM
STUCK--Trying to copy old Hard Drive to new Hard Drive. Please Help tsw Linux - Newbie 8 05-26-2004 03:47 AM
Failing hard drive--need to copy Phathead Linux - Hardware 2 03-10-2004 01:59 PM


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