Mailinglist Archive: opensuse-factory (279 mails)
| < Previous | Next > |
Re: [opensuse-factory] cloning a hard drive with YaST
- From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
- Date: Wed, 11 Mar 2009 01:55:00 +0000
- Message-id: <49B719F4.1040809@xxxxxxxxxxxxxxxx>
Carlos E. R. wrote:
during the process.
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
Content-ID: <alpine.LSU.2.00.0903101448121.9084@xxxxxxxxxxxxxxxx>I can't remember what exactly I got, just that rsync failed somewhere
On Tuesday, 2009-03-10 at 06:45 -0400, Greg Freemyer wrote:
On Tue, Mar 10, 2009 at 12:05 AM, Carlos E. R.
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:
...
Look at the output of a dd run.
dd if=/dev/zero of=/dev/null count=100
100+0 records in
100+0 records out
51200 bytes (51 kB) copied, 0.000172439 s, 297 MB/s
The first 100 says 100 blocks read without error. the first zero is 0
failed blocks failed to read.
The second 100 is the blocks written without error, and the second 0
is the failed block writes.
Aha, ok...
If you don't use sync and there are 2 errors I believe you get:
98+2 records in
98+0 records out.
i.e The failed blocks are not replicated in the destination at all
I see... I don't know how to confirm this, though. It could be:
98+2 records out
instead. :-?
I wonder why they don't document this in the manual.
With sync, you get:
98+2 records in
100+0 records out.
I suppose it is too late to know what Sid got.
I'm not sure what the exact output block has in it but at least part
of it is zero filled. I always use a 4k block size to align my
userspace behavior with the kernels normal page size.
Yes, that part is clear.
-- Cheers,
Carlos E. R.
during the process.
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 > |