Disk checking

  • johne53
Posted: Wed, 07/16/2008 - 10:35
When booting up, 64studio seems to check each volume (i.e. partition) whenever it's more than about 30 times since it was last mounted. If, like me, you have 5 or 6 partitions, this can lead to them being checked almost every day. With my previous versions of Linux I was able to modify this behaviour so that the partitions would only get checked (say) once a fortnight). Can that be configured in 64studio?

AFAICT, tune2fs -c seems to

  • johne53
  • 10/07/07
  • Mon, 07/21/2008 - 08:43
AFAICT, tune2fs -c seems to work (badly) whereas tune2fs -i doesn't work at all (although it indicates that it has worked). For example, I configured my main 64studio volume to get checked once every 21 days - and I got a response saying that the interval had been reset to 1814400 seconds which is indeed 21 days. However, 3 days later, the disk has been checked again. That in itself is annoying enough - but the intervals don't make sense either. The last time my 64studio volume got checked was 3 days ago. This morning it claimed that 64studio had been mounted 41 times since the previous check. There's no way that its been mounted more than 4 or 5 times.

on my debian laptop it works

  • nowhiskey
  • 05/22/08
  • Fri, 07/18/2008 - 00:40
on my debian laptop it works for years now: tune2fs -c 50 /dev/hda1 so the drive gets checked every 50 times. but in debian this is a kind of security risk... cheers, doc


  • Pablo
  • 07/11/07
  • Wed, 07/16/2008 - 21:49
I've been looking into this. There is this command, tune2fs, which allows you specify the number of boot times or the amount of time between two checks for a given volume or partition. For example: # tune2fs -c 80 /dev/sda1 (80 boots between checks) # tune2fs -i 2m /dev/sda1 (2 months between checks) Source: http://lapipaplena.wordpress.com/fsck-y-tune2fs/ (in spanish). I'm trying it out. Cheers

Tell me about it...

  • Quentin Harley
  • 05/24/07
  • Wed, 07/16/2008 - 19:29
I waited 10min as my main machine checked two large volumes today. Should this not be close to debian? If you find out, let me know as well...