Mailinglist Archive: opensuse-factory (279 mails)

< Previous Next >
Re: [opensuse-factory] cloning a hard drive with YaST
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 10 Mar 2009 05:05:20 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.0903100459330.9084@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2009-03-09 at 23:26 -0400, Greg Freemyer wrote:

dd if=/dev/sda of=/dev/sdc bs=1G conv=noerror

Please note, never use noerror without also using sync.

Why? I'm curious. I can make a guess, but I'm not sure, it is not mentioned in the manual:

noerror
continue after read errors

sync pad every input block with NULs to ibs-size; when used
with block or unblock, pad with spaces rather than NULs

Do you mean, that without "sync", the output would just skip the remaining bytes of a block after an error, meaning the output would simply be "smaller", with pieces missing?

Because, as Sid did an 'xfs_repair' on the result, it means either there was no error, or that the gaps were filled :-?



- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkm15wMACgkQtTMYHG2NR9WBSwCdFrwL0udyMZWf51d73LPDsR51
MjgAniyEViB6Jgm9nCCxuX8Vt+T65IPF
=cuMo
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >