Mailinglist Archive: opensuse-factory (279 mails)

< Previous Next >
Re: [opensuse-factory] cloning a hard drive with YaST
  • From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
  • Date: Mon, 09 Mar 2009 13:35:19 +0000
  • Message-id: <49B51B17.8010207@xxxxxxxxxxxxxxxx>
Carlos E. R. 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.

-- Cheers,
Carlos E. R.

I have a suspicion that the badblocks on the source drive is causing a
problem. When I used dd, I perhaps should have used the "noerror" option
then do xfs_repair.
Thanks, guys, I shall have another look.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References