From version < 3.1
edited by Julien Fleury
on 2021/02/02 19:05
To version 1.1 >
edited by Julien Fleury
on 2021/01/06 15:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Commands
1 +Linux General Documentation
Parent
... ... @@ -1,1 +1,1 @@
1 -Documentation.Miscellaneous.Linux.WebHome
1 +iXPath Documentation.WebHome
Content
... ... @@ -17,28 +17,4 @@
17 17  down
18 18  {{/code}}
19 19  
20 -== Test disk speed ==
21 -
22 -dd command allows to copy all or parts of a disk by bytes block without impact from content structure of the disk.
23 -
24 -(% class="box warningmessage" %)
25 -(((
26 -Use dd command with caution as it can cause severe dammage to the system
27 -Do not use dd to duplicate a disk. Prefer ddrescue command
28 -)))
29 -
30 -Command structure
31 -
32 -(% class="box" %)
33 -(((
34 -dd if=<source> of=<target> bs=<block size> count=<number of blocks> oflag=<flag>
35 -)))
36 -
37 -oflag: 'dsync' to use synchronized I/O for data
38 -
39 -{{code language="shell"}}
40 -dd if=/dev/zero of=/tmp/test2.img bs=512 count=1000 oflag=dsync
41 -1000+0 records in
42 -1000+0 records out
43 -512000 bytes (512 kB, 500 KiB) copied, 1.22846 s, 417 kB/s
44 -{{/code}}
20 +
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian