Re: [CentOS] mdadm problem.

2007-09-26 Thread David Mackintosh
On Tue, Sep 25, 2007 at 08:16:20PM +0200, Alain Spineux wrote: ??? you made a copy of /mnt/md1 into /mnt/md1/mnt/md1 ??? use # tar cfpl - --one-file-system . | instead I think you mean # tar cfp --one-file-system - . | ... ...but in any case -l is a soon-to-be-depreciated way of

[CentOS] mdadm problem.

2007-09-25 Thread David Mackintosh
So I'm trying to RAID-1 this system which has two identical disks installed in it, and it isn't working for some reason. I started by doing a CentOS-4 install on /dev/sda1 as root, and with /dev/sda2 as my swap. I finish the install, yum update, and then I want to make the mirrors. I copy the

Re: [CentOS] mdadm problem.

2007-09-25 Thread Alain Spineux
On 9/25/07, David Mackintosh [EMAIL PROTECTED] wrote: I copy the contents of / over to the one-armed mirror: # cd / # mnt /dev/md1 /mnt/md1 # tar cfpl - . | ( cd /mnt/md1 ; tar xfp -) ??? you made a copy of /mnt/md1 into /mnt/md1/mnt/md1 ??? use # tar cfpl - --one-file-system . |