LVM on installed system in new hardware a problem?

Joep L. Blom jlblom at neuroweave.nl
Sun Jul 12 21:44:20 UTC 2009


Smoot Carl-Mitchell wrote:
> On Sun, 2009-07-12 at 21:00 +0200, Joep L. Blom wrote:
> 
>> SIggy,
> I do not think you want to do dd, since it is a block level copy.  You
> want to logically copy the information from the volume to a new volume.
> I would recommend using rsync.  It has the advantage of being
> restartable after a network interruption.  You want to copy in archive
> mode and also use the -a option along with the -H -A and -X options
> which will preserve hardlinks, ACLs and extended ACLs.  Something like:
> 
> rsync -aHAX source_dir/ target:target_dir
> 
> If your source volume is on, say, /source on the local machine and your
> target is on /target, on host "host" run:
> 
> rsync -aHAX /source/ host:/target
> 
> You will of course need to run this as root to preserve all the file
> ownerships and permissions.
Thanks,
That's a good idea.
I seldom use rsync but is of course a logical choice for this task.
I'll do that tomorrow as I don't know how much time it take to transfer 
~ 100 GB.
I assume I can format the new disk with gparted as I haven't use that 
before.
Joep





More information about the ubuntu-users mailing list