[mythtv-users] How do I "clone" the HD on a FE?

John Drescher drescherjm at gmail.com
Thu Oct 11 20:20:16 UTC 2007


On 10/11/07, Steve MacLaren <scram69 at gmail.com> wrote:
>
>
> On 10/11/07, Marc <drayson at net1plus.com> wrote:
> > Alternately you can follow this..
> >
> > Create temporary mount points for the new drives partitions:
> > # mkdir /mnt/part1
> >
> > Mount the new partition:
> > # mount /dev/Xda1 /mnt/part1
> >
> > Migrate the data (the -x flag forces rsync to stay on the same source
> > partition when recursing through directories):
> > # rsync -avH --progress -x / /mnt/part1
> >
> > If the system wasn't previously in single user mode, move to single user
> > mode and update the data that changed during the first copy:
> > (--delete flag tells rsync to delete files from the destination which do
> not
> > exist on the source):
> > # rsync -avH --delete --progress -x / /mnt/part1
> >
> > Modified from documentation on how to migrate from a single disk config to
> a
> > RAID-1 config.
> >
> > Marc
> >
> >
> >
> I have been searching for just such "documentation" (I want to migrate from
> single disk to RAID-1) but haven't found it.  Can you please point me to it?
>

Create a raid 1 array (using mdadm) with a missing disk then copy the
data using the rsync command above. Then modify your system to boot
off the raid1 array. Then when all this works add the  original disk
to the raid array using mdadm.

John


More information about the mythtv-users mailing list