Carlos E. R. pecked at the keyboard and wrote:
On Monday, 2009-03-09 at 04:03 -0000, Sid Boyce wrote:
Problem, I have a xfs 1TB hard drive with badblocks (/dev/sda1) and would like to clone it to another 1TB drive (/dev/sdc1), /dev/sdc is already partitioned and mkfs.xfs run.
With xfs you could use xfsdump and xfsrestore.
I've tried rsync, that didn't do it properly.
Why not?
Next I copied all the data across, but it gets confused on boot with the different namings in /dev/disk/by-id/ and what was copied across in /etc/fstab and the stuff in /etc/grub/.
Well, those you will have to adjust manually, there is no way around it that I know of.
YaST in 11.2 Alpha0 doesn't now have an entry for cloning a system that I can identify. What's recommended?
rsync.
I agree that rsync is the better way to go. I also agree that /etc/fstab will need to be adjusted manually. Also make sure you set the proper partition bootable. Another copy method you could try is dd. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org