what is dd test for storage

Created: Sep 12, 2019 06:48:12Latest reply: Sep 12, 2019 06:51:52 85 2 1 0
  Rewarded Hi-coins: 0 (problem resolved)

what is dd test for storage

  • x
  • convention:

Featured Answers
hurryup
Created Sep 12, 2019 06:51:06 Helpful(1) Helpful(1)

dd is a very useful command under Linux/UNIX. It is used to copy a file with a block of the specified size and perform the specified conversion at the same time as copying, so it can be used to test the sequential read and write capabilities of the hard disk. You can write files and you can write raw devices.

dd syntax
-------------------------------------------------- -------
Functional Description: Read, convert and output data.
Syntax: dd [bs=][cbs=][conv=][count=][ibs=][if= ][obs=][of=][seek=][skip=][--help][--version]
Additional explanation: dd can read data from standard input or file, convert data according to the specified format, and then output to file, device or standard output.
Parameters:
Bs= Set ibs (input) and obs (output) to the specified number of bytes.
Cbs= When converting, only the specified number of bytes is converted at a time.
Conv= Specifies how the file is converted.
Count= Reads only the specified number of blocks.
Ibs= The number of bytes per read.
If= Read from file.
Obs= The number of bytes per output.
Of= Output to file.
Seek= Skips the specified number of blocks at the beginning of output.
Skip= Skips the specified number of blocks at the beginning of reading.
--help help.
--version Displays version information.

Detailed dd common parameters
-------------------------------------------------- -------
If=xxx reads from xxx, such as if=/dev/zero, the device provides 0 infinitely (does not generate read disk IO)
Of=xxx Write to xxx, you can write a file, you can write a bare device. Such as of=/dev/null, "black hole", it is equivalent to a write-only file. All content written to it will be lost forever. (Do not generate write disk IO)
Bs=8k The size of each read or write, that is, the size of a block.
Count=xxx The total number of read and write blocks.
  • x
  • convention:

All Answers
hurryup
hurryup Created Sep 12, 2019 06:51:06 Helpful(1) Helpful(1)

dd is a very useful command under Linux/UNIX. It is used to copy a file with a block of the specified size and perform the specified conversion at the same time as copying, so it can be used to test the sequential read and write capabilities of the hard disk. You can write files and you can write raw devices.

dd syntax
-------------------------------------------------- -------
Functional Description: Read, convert and output data.
Syntax: dd [bs=][cbs=][conv=][count=][ibs=][if= ][obs=][of=][seek=][skip=][--help][--version]
Additional explanation: dd can read data from standard input or file, convert data according to the specified format, and then output to file, device or standard output.
Parameters:
Bs= Set ibs (input) and obs (output) to the specified number of bytes.
Cbs= When converting, only the specified number of bytes is converted at a time.
Conv= Specifies how the file is converted.
Count= Reads only the specified number of blocks.
Ibs= The number of bytes per read.
If= Read from file.
Obs= The number of bytes per output.
Of= Output to file.
Seek= Skips the specified number of blocks at the beginning of output.
Skip= Skips the specified number of blocks at the beginning of reading.
--help help.
--version Displays version information.

Detailed dd common parameters
-------------------------------------------------- -------
If=xxx reads from xxx, such as if=/dev/zero, the device provides 0 infinitely (does not generate read disk IO)
Of=xxx Write to xxx, you can write a file, you can write a bare device. Such as of=/dev/null, "black hole", it is equivalent to a write-only file. All content written to it will be lost forever. (Do not generate write disk IO)
Bs=8k The size of each read or write, that is, the size of a block.
Count=xxx The total number of read and write blocks.
  • x
  • convention:

balabbala
balabbala Created Sep 12, 2019 06:51:52 Helpful(1) Helpful(1)

Posted by hurryup at 2019-09-12 06:51 dd is a very useful command under Linux/UNIX. It is used to copy a file with a block of the specifie ...
ok thanks
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login