On Thu, 16 Jul 2009 15:02:39 -0600 Andrew McNabb <[email protected]> wrote:
> On Thu, Jul 16, 2009 at 02:39:08PM -0600, Charles Curley wrote: > > I do regular offsite backups via two external hard drives which I > > alternate weekly. I use a script to mount them. > > > > I'd like to add a provision to fsck the file systems but only if > > they need it, either by time since the last fsck, or by count. Is > > there a simple way to do that? > > There are options to tune2fs such as -c and -i that you can use to set > the fsck interval. For ext3, most people now seem to recommend > disabling forced checks. The idea is that the journal should usually > be good enough, and the forced checks can be really annoying. > I just added a command to fsck the partition before mounting it. For some reason I was thinking it would be harder than it was. Doh. Here is where I use it, btw: http://charlescurley.com/blog/articles/off_site_backups_for_amanda/index.html -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
