Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 10107  / 2 Years ago, thu, october 13, 2022, 3:17:51

I'd like to use badblocks to check my new drive for bad blocks, but I'm not sure how to choose the values for block size and number of blocks to test in parallel. The man page just says:



-b block-size
Specify the size of blocks in bytes. The default is 1024.


-c number of blocks is the number of blocks which are tested at a time. The default is 64.



The drive to test is 2TB large, so I'd like to use values that don't make this process take days. :-)


FWIW, smartmoontools reports:



Sector Sizes: 512 bytes logical, 4096 bytes physical



More From » hardware

 Answers
6

Since your drive has a 4096 byte physical sector size, you want to use -b 4096. I don't think the -c argument makes much difference, so just leave it alone.



Also the drive's internal SMART test is better and faster than badblocks, so using smartmontools or the disk utility to run that instead is a better idea.


[#43666] Friday, October 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atelti

Total Points: 194
Total Questions: 129
Total Answers: 110

Location: North Korea
Member since Tue, Jun 16, 2020
4 Years ago
atelti questions
Fri, Aug 26, 22, 02:44, 2 Years ago
Sat, Dec 10, 22, 21:37, 1 Year ago
Sat, Apr 9, 22, 13:57, 2 Years ago
;