Koozali.org: home of the SME Server

Question regarding "running e2fsck is recommended" on USB disks

Offline lloydh

  • ***
  • 45
  • +0/-0
I use SME8b6 in Server and Gateway mode as my home server for firewall and data storage, it has 500GB of storage and I back up to a 2TB USB disk.

I formatted the USB disk following the instructions in USB Disks and it set the drive to a mount count of 30 as default.        I then added the following to fstab.

Quote
/dev/sdc1               /media/WD003            ext3    pamconsole,exec,noauto,managed 0 0

Every 30 mounts I now get the following in Messages.

Quote
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended

I run e2fsck in the unattended mode from the console but it takes 17 hours, is this really necessary every 30 mounts (25 to 30 days) or is there a shorter way of doing this.    I use e2fsck -cfpvtt /dev/sdc1.

After doing a number of searches I believe I have the following 3 options.

1) Add a cron job to run e2fsck every month.

2) Use tune2fs to increase the count on the drive.

3) Change field 6 in fstab from 0 to 2 so the disk is checked at boot but I don't know if this will be enough to prevent the "running e2fsck is recommended" message.

Does anybody have any views on this.

Thanks, Lloyd.

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: Question regarding "running e2fsck is recommended" on USB disks
« Reply #1 on: October 13, 2012, 05:37:47 AM »
Bump as this would be great info to know... 
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics