Differences

This shows you the differences between two versions of the page.

Link to this comparison view

misc [2019/10/21 01:16]
dlicious Added library information
misc [2021/04/09 10:34] (current)
dlicious Added more badblocks timing data
Line 194: Line 194:
 It's important to get the block size right, so that any bad blocks that badblocks records will line up with the blocks in the filesystem you create later.  The default block size mkfs will use when creating ext4 filesystems is 4096, but if you're going to create a filesystem with a different block size then specify that size instead.  Obviously, if you already have an existing filesystem on the partition, you're going to want to use a filesystem tool to do a non-destructive write test (such as ''e2fsck -cc''). It's important to get the block size right, so that any bad blocks that badblocks records will line up with the blocks in the filesystem you create later.  The default block size mkfs will use when creating ext4 filesystems is 4096, but if you're going to create a filesystem with a different block size then specify that size instead.  Obviously, if you already have an existing filesystem on the partition, you're going to want to use a filesystem tool to do a non-destructive write test (such as ''e2fsck -cc'').
  
-This command took about 11 hours (10:48:23.28 to be precise) on a Seagate 8 TB 7200 RPM external USB drive (don't know if it was USB 2.x or 3.x though) using ''-p 0'' (which means it stopped after the first pass).  If multiple passes are requiredpresumably they'll each take the same amount of time.+Here are some example runtimes for the bad block checks, since predicting how long it'll take is so impractical.  When comparing times, remember to factor in the pass count (''-p'' on the badblocks command line). 
 + 
 +^ Device              ^ Type       ^ Size    ^ Blocks      ^ Connnection ^ Time        ^ Command line                                                                         ^ 
 +| Seagate             | HDD (7200) | ~8 TB   |             | USB         | 10:48:23.28 | badblocks -v -w -p 0 -s -t random -b 4096 -o seagate-8t.badblocks /dev/sdb1          | 
 +| Seagate STGX2000400 | HDD (5400| 1.8 TiB | 488,378,632 | USB 3.0     | 21:25:11.28 | badblocks -v -w -p 2 -s -t random -b 4096 -o seagate-stgx2000400.badblocks /dev/sdb1 |
  
 ==== Creating a new filesystem ==== ==== Creating a new filesystem ====
misc.1571638598.txt.gz · Last modified: 2019/10/21 01:16 by dlicious
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki