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 possi

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]>: > > > 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. >

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 desi

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: >>> > >>> 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

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: > > > > 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 equiva

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 > > >> no, as dd is a raw block copy of the storag

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 > >>> > no, as dd is a raw block copy of the storage device. i dont actually > r

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 >>>

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 al

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 doe

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 f

Re: [CentOS] Mirroring Hard Drive

2008-08-12 Thread Paul R. Ganci
Robert wrote: I should have had the common decency to report that I *did* try this howto and *was* successful. There were a couple things that caused some head-scratching. Yes I also made it work this weekend. I ignored all the stuff regarding the creation of /etc/mtab and mdadm.conf ... they a

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: http://www.howtoforge.com/s

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 sa

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: http://www.howtoforge.com/software-raid1-gru

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 http://lists

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 ha

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 al

Re: [CentOS] Mirroring Hard Drive

2008-08-02 Thread Johnny Hughes
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 all

RE: [CentOS] Mirroring Hard Drive

2008-08-01 Thread Joseph L. Casale
>If you wanted to keep the drives in the same box I'm sure theres a way, with >linux there always is :) >Anyone? Well, if the disc used LVM, you would obviously have to rename the VG/LV's or there would be duplicates. How about the GUID? At any rate, I think the OP didnt have this in mind so now

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

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 quick

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 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 bs

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 all

[CentOS] Mirroring Hard Drive

2008-08-01 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 little tw