Announcement

Collapse
No announcement yet.

File Checks (Check Disk)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    File Checks (Check Disk)

    I'm not sure this is a bug per se but here goes....

    During the boot process, the system sometimes will start a file check (similar to chkdsk or scandisk in Windows\DOS). The dialog always states "Kubuntu has been mounted 30 times without checking the file system" (or some such) It then goes on to run a file check.

    However, it hasn't even been close to 30 times that Kubuntu has been mounted or booted. Sometimes it'll do it after 10 times, sometimes less. There doesn't appear to be anything wrong with the file system or the partition as far as I can tell. Why are these file checks being performed and is there any way to turn them off? Thanks.

    #2
    Re: File Checks (Check Disk)

    Doing a bit of seaching with Google I found that you can use "tune 2fs" from Terminal to change the interval of the system file check. However, that still doesn't resolve why the system is trying to run a check so often especially when it's not needed.

    Comment


      #3
      Re: File Checks (Check Disk)

      fsck may think there are possible errors, though there may not be any.

      You can turn it off by editing your fstab:

      here's mine as an example:

      # /etc/fstab: static file system information.
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      proc /proc proc defaults 0 0
      /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
      /dev/hda2 /home ext3 defaults 0 2
      /dev/hda3 /media/hda3 ext3 defaults 0 2
      /dev/hda4 /media/hda4 ext3 defaults 0 2
      /dev/hdb1 /media/hdb1 ext3 defaults 0 2
      /dev/hdd1 /media/hdd1 ext3 defaults 0 2
      /dev/hdd5 none swap sw 0 0
      /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
      /dev/sda / media/usb0 auto rw,user,noauto 0 0
      The very last column is where fsck options are passed. The root fs is usually set to 1 so it is checked first, a 2 will be checked afterwards, I am not sure where the frequency of checks are set. A 0 turns of checking altogether. You can do this if you wish, but I wouldn't recommend it as you have to unmount the partition to check it (hard if it is your "/" )

      Comment


        #4
        Re: File Checks (Check Disk)

        Thanks for the reply. My fstab file shows my root partition as "1", all others as "0". I think I'll leave it as "1" for now and see what happens since making an interval change using
        "tune 2fs". If it still keeps insisting on a check too often, I'll turn it off altogether. I've got everything backed up in case the hdd goes south for some reason. I can always recover after replacing the drive. Good info, thanks again.

        Comment

        Working...
        X