Got it

what is dd test for storage

Created: Sep 12, 2019 06:48:12Latest reply: Jul 23, 2021 08:42:46 1184 3 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

what is dd test for storage

Featured Answers
hurryup
Created Sep 12, 2019 06:51:06

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.
View more
  • x
  • convention:

All Answers
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.
View more
  • x
  • convention:

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
View more
  • x
  • convention:

dd command: It is used to monitor the writing performance of a disk device on a Linux and Unix-like system.

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.