Re: [CentOS] Mirroring Hard Drive

2008-12-08 Thread William L. Maltby
On Mon, 2008-12-08 at 18:55 +1100, Amos Shapira wrote: 2008/12/8 William L. Maltby [EMAIL PROTECTED]: snip can/does. I guess I'll have to read up on cp some more and see if it leaves the access times alone (cpio parameter allows retaining that) and handles hard-links efficiently. I'm

Re: [CentOS] Mirroring Hard Drive

2008-12-08 Thread Amos Shapira
2008/12/8 William L. Maltby [EMAIL PROTECTED]: In reality, being raised on real UNIX(TM) systems from long ago and far away, it was just one of the things we wanted left unchanged when we did backups or shipped tapes to the outside world (one of my many jobs back then). There is the

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Matt
I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if something happens to the one in service I can plug in the spare quickly and restore one of the weekly backups without reinstalling the entire OS and all the

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread John R Pierce
Matt wrote: I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if something happens to the one in service I can plug in the spare quickly and restore one of the weekly backups without reinstalling the entire OS and

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread William L. Maltby
On Sun, 2008-12-07 at 12:36 -0800, John R Pierce wrote: Matt wrote: I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if snip no, as dd is a raw block copy of the storage device. i dont actually recommend

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Les Mikesell
William L. Maltby wrote: On Sun, 2008-12-07 at 12:36 -0800, John R Pierce wrote: Matt wrote: I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if snip no, as dd is a raw block copy of the storage device. i

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread William L. Maltby
On Sun, 2008-12-07 at 16:04 -0600, Les Mikesell wrote: William L. Maltby wrote: snip Am I missing something? Just old fashioned? Cpio has all the params you want and can be _very_ fast with the righ parameters. Similar to the above dump/restore set I've seen many use tar/untar

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Les Mikesell
William L. Maltby wrote: On Sun, 2008-12-07 at 16:04 -0600, Les Mikesell wrote: William L. Maltby wrote: snip Am I missing something? Just old fashioned? Cpio has all the params you want and can be _very_ fast with the righ parameters. Similar to the above dump/restore set I've seen many

Re: [CentOS] Mirroring Hard Drive

2008-12-07 Thread Amos Shapira
2008/12/8 William L. Maltby [EMAIL PROTECTED]: Yep. I've recently began using rsync for several types of local copy, usually back-up related. I can't recall if the cp -a detects and handles hard-links to minimize space requirements though. I know cpio Yes, it seems that cp -a is designed just

Re: [CentOS] Mirroring Hard Drive

2008-11-18 Thread Jussi Hirvi
Matt ([EMAIL PROTECTED]) kirjoitteli (17.11.2008 18:42): mkdir /mnt/org mount /dev/hdx /mnt/org mkdir /mnt/bckup mount /dev/hdx /mnt/bckup cp -af /mnt/org/* /mnt/bckup/. Won't this command choke if there are too many files? I think I have run into that before. If it does, here's a

Re: [CentOS] Mirroring Hard Drive

2008-11-17 Thread Matt
Or you could boot up with knoppix or some other livecd so the filesystem is not in use and mount both drives and do a: mkdir /mnt/org mount /dev/hdx /mnt/org mkdir /mnt/bckup mount /dev/hdx /mnt/bckup cp -af /mnt/org/* /mnt/bckup/. Won't this command choke if there are too many files? I

Re: [CentOS] Mirroring Hard Drive

2008-08-12 Thread Robert
Robert wrote: Paul R. Ganci wrote: Matt wrote: why not just put it in the machine and make it a raid1 mirror then, if the first one dies, you just use the second one :D How do you do that? Detailed step by step instructions easily modified for CentOS:

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Matt
I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if something happens to the one in service I can plug in the spare quickly and restore one of the weekly backups without reinstalling the entire OS and all the

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Paul R. Ganci
Matt wrote: why not just put it in the machine and make it a raid1 mirror then, if the first one dies, you just use the second one :D How do you do that? Detailed step by step instructions easily modified for CentOS: http://www.howtoforge.com/software-raid1-grub-boot-debian-etch I

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Bent Terp
On Sat, Aug 2, 2008 at 4:00 PM, Johnny Hughes [EMAIL PROTECTED] wrote: stupid question ... why not just put it in the machine and make it a raid1 mirror cuz it's not an md volume to begin with? ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Robert
Paul R. Ganci wrote: Matt wrote: why not just put it in the machine and make it a raid1 mirror then, if the first one dies, you just use the second one :D How do you do that? Detailed step by step instructions easily modified for CentOS:

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread John R Pierce
Bent Terp wrote: On Sat, Aug 2, 2008 at 4:00 PM, Johnny Hughes [EMAIL PROTECTED] wrote: stupid question ... why not just put it in the machine and make it a raid1 mirror cuz it's not an md volume to begin with? one method is to make the 2nd disk a 'half' mirror, with all the

Re: [CentOS] Mirroring Hard Drive

2008-08-01 Thread John R Pierce
Matt wrote: I have a 500GB Sata drive about 15% used I would like to make an exact copy of too another Sata 500GB drive as a spare. That way if something happens to the one in service I can plug in the spare quickly and restore one of the weekly backups without reinstalling the entire OS and

Re: [CentOS] Mirroring Hard Drive

2008-08-01 Thread Tom Bishop
Or you could boot up with knoppix or some other livecd so the filesystem is not in use and mount both drives and do a: mkdir /mnt/org mount /dev/hdx /mnt/org mkdir /mnt/bckup mount /dev/hdx /mnt/bckup cp -af /mnt/org/* /mnt/bckup/. umount both drives then copy mbr dd if=/dev/hdx of=/dev/hdx

RE: [CentOS] Mirroring Hard Drive

2008-08-01 Thread Joseph L. Casale
brute force approach... dd if=/dev/sda of=/dev/sdb bs=16384 That's probably the most safest, but you'll have to remove it before you boot if you use lvm right? Doesn't clonzilla support lvm? Could you boot off a live cd to only copy actual data which should be quick in your case? jlc

Re: [CentOS] Mirroring Hard Drive

2008-08-01 Thread Les Mikesell
Joseph L. Casale wrote: brute force approach... dd if=/dev/sda of=/dev/sdb bs=16384 That's probably the most safest, but you'll have to remove it before you boot if you use lvm right? Doesn't clonzilla support lvm? Could you boot off a live cd to only copy actual data which should be

RE: [CentOS] Mirroring Hard Drive

2008-08-01 Thread Dan Carl
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Les Mikesell Sent: Friday, August 01, 2008 3:16 PM To: CentOS mailing list Subject: Re: [CentOS] Mirroring Hard Drive Joseph L. Casale wrote: brute force approach... dd if=/dev/sda of=/dev