5 Commits
1.0.0 ... 1.1.0

Author SHA1 Message Date
Keith Nash
43b4a05522 Update README.md 2021-02-19 15:22:44 -06:00
Keith Nash
a68e2ae834 Increased memory buffers from 4096 to 8192 2021-02-19 15:20:51 -06:00
Keith Nash
bc7d0e0e87 Update README.md 2021-02-19 15:17:57 -06:00
Keith Nash
2ef13143a5 Merge pull request #11 from justin-p/master
Additional tested drive model
2020-10-24 08:13:37 -05:00
Justin Perdok
ee67da83ab Update README.md 2020-10-24 14:55:14 +02:00
2 changed files with 6 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ The script extracts the drive model and serial number and creates a log filename
`badblocks` is invoked with the following options:
* `-b 4096` : Use a block size of 4096
* `-b 8192` : Use a block size of 8192
* `-e 1` : Abort the `badblocks` test immediately if an error is found (override this setting with the `-x` option below)
* `-v` : Verbose mode
* `-o` : Write list of bad blocks found (if any) to a file named `burnin-[model]_[serial number].bb`
@@ -97,6 +97,7 @@ Tested under:
* Ubuntu Server 16.04.2 LTS
* CentOS 7.0
* Tiny Core Linux 11.1
* Fedora 33 Workstation
## Drive Models Tested
@@ -116,8 +117,10 @@ The script should run successfully on any SAS or SATA disk with SMART capabiliti
* Re (WD4000FYYZ)
* Green
* Red
* WD140EDFZ
* Seagate
* IronWolf NAS HDD 12TB (ST12000VN0008)
* IronWolf NAS HDD 8TB (ST8000NE001-2M7101)
## Prerequisites
@@ -130,4 +133,4 @@ Tested with the static analysis tool at [www.shellcheck.net](https://www.shellch
## Author
Original author: Keith Nash, March 2017.
Modified on 5 October 2020.
Modified on 19 February 2021.

View File

@@ -559,7 +559,7 @@ run_smart_test() {
run_badblocks_test() {
log_header "Running badblocks test"
if [ "${DISK_TYPE}" != "SSD" ]; then
dry_run_wrapper "badblocks -b 4096 -wsv -e ${BB_E_ARG} -o \"${BB_File}\" \"${DRIVE}\""
dry_run_wrapper "badblocks -b 8192 -wsv -e ${BB_E_ARG} -o \"${BB_File}\" \"${DRIVE}\""
else
log_info "SKIPPED: badblocks for ${DISK_TYPE} device"
fi