Wednesday, 15 November 2017

linux - Is there a way to restart badblocks?


I have a 1TB drive that I'd like to run badblocks on, but as I understand it would take about 3 days, I'd like to run it in chunks ( say overnight each night ) so the computer it's in is available for use during the day. Is something like that possible?



Answer



There is a way to specify from which block badblocks should start and the last block, (see man badblocks):



badblocks [ -svwnfBX ] [ -b block-size ] [ -c blocks_at_once ] [ -e max_bad_blocks ] [ -d read_delay_factor ] [ -i input_file ] [ -o output_file ] [ -p num_passes ] [ -t test_pattern ] device [ last-block ] [ first-block ]



No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...