Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    6

    fsck and Manually mounted filesystems


    Hi,

    I want the filesystem of my external drive to be checked periodically after a numer of mounts.

    I put 2 in the sixth colums of fstab for this partition

    Code:
    /dev/sdb1		/mnt/hd	ext3	rw,dev,sync,user,noauto,exec,suid	0	2
    and I use the tune2fs to set the maximum mount count to 32.

    Code:
    tune2fs -c 32 /dev/sdb
    now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed.

    Probably because this partition is not mounted at start-up but I usually mount it manually.

    This maybe a silly question but can someone explain me where is my mistake??

  2. #2
    Just Joined! barriehie's Avatar
    Join Date
    Apr 2008
    Location
    The Desert!
    Posts
    85
    Try this:
    Code:
    tune2fs -c 32 /dev/sdb1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •