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. |
using raid can be option
http://www.acnc.com/04_00.html |
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 |
Thanks I will try it out
|
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 |
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. |
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 |
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. |
All times are GMT -5. The time now is 08:48 PM. |