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

Summary

Details

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