Re: Converting system to raid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can cp not work? every guide I found used ether cp or rsync. Even guides on seting up an auto backup system use cp or rsync.
Seems the only files/folders that shouldn't get copied are the block device ones that are created at boot and are not really on the
drive.

----- Original Message ----- 
From: "Robin Hill" <robin@xxxxxxxxxxxxxxx>
To: <linux-raid@xxxxxxxxxxxxxxx>
Sent: Friday, April 10, 2009 6:22 AM
Subject: Re: Converting system to raid

On Thu Apr 09, 2009 at 04:44:25PM -0700, Timothy D. Lenz wrote:

> I used "sudo cp -axu / /mnt/md0" to copy hda to md0. I changed
> /mnt/md0/etc/fstab so that "/" os /md0 instead of /hda.
>
This won't work properly, for a start.  You _cannot_ copy a running
system - there's bound to be data which hasn't yet been flushed to disk,
as well as locked files.  You need to boot off a CD (or another
partition) and do the copy from there.

HTH,
    Robin
-- 
     ___
    ( ' }     |       Robin Hill        <robin@xxxxxxxxxxxxxxx> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux