LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-24-2003, 03:51 AM   #1
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
Mirroring entire Hard drive


Guys,
I just bought another identical hard drive. All I want to do is mirror entire(all partitions). What should I do? I have read some configuration about mirroring.
Thanks guy.
 
Old 02-24-2003, 04:29 AM   #2
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
using raid can be option
http://www.acnc.com/04_00.html
 
Old 02-24-2003, 04:26 PM   #3
tudmuf2b
LQ Newbie
 
Registered: Feb 2003
Distribution: Red Hat 8.0
Posts: 28

Rep: Reputation: 15
If you want do a one-shot mirroring, then use "dd". If not, then use raidtools that comes on 8.0 CD which is raidtools-1.00.2-3.3.i386.rpm

You'll have to play around with the /etc/raidtab, but it's pretty easy to do
 
Old 02-24-2003, 09:19 PM   #4
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
Thanks I will try it out
 
Old 02-25-2003, 05:13 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I didn't check the links, nor have I used raidtools, but you could just cp it all. Assuming you've fdisk'ed the new drive up into the size partitions you want, you can cp the files onto the new partitions. Here's Aussie's tutorial on it:
http://www.p-two.net/modules.php?op=...article&sid=12



Cool
 
Old 02-25-2003, 08:40 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
depends on what you want to do, and different solutions have already been posted. so, you should clarify the purpose. if you:

want to copy (eg. ghost) the whole drive, there's cp, dump, dd, etc

want to mirror HD (just in case one fails), use raid

want to keep a backup - lot of software out there. (easiest would be a crontab with dump, tar & full / interval backups)

etc.
 
Old 03-03-2003, 10:11 PM   #7
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
cuckoopint,
I wanna to mirror a hdd just in case hard drive failed. But How am I going to mirror exactly the partitions to my hdd. Thanks
 
Old 03-04-2003, 09:39 PM   #8
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
http://www.ostenfeld.dk/~jakob/Softw...AID.HOWTO.html

maybe this will help. I have never done a RAID setup... but there is a wealth of documentation out there.
 
  


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
mirroring hard drives Kruncher Linux - General 1 08-22-2005 04:00 PM
Mirroring a hard drive technochef Linux - Software 4 02-22-2005 09:12 PM
Windows XP hogs entire 40 GB Hard Drive with one Partition jedi_zach Linux - General 2 02-09-2004 01:29 AM
Mirroring (Hard Drive to Hard Drive) unikevin Linux - Hardware 2 01-19-2004 05:31 PM
Mirroring Hard Disk smurf Linux - General 1 09-13-2001 06:38 AM


All times are GMT -5. The time now is 03:21 AM.

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