[TriLUG] fsck script?
Byarlay, Wayne A.
wab at purdue.edu
Tue Mar 11 14:09:18 EDT 2008
Yeah, I could unmount it because it's not / and I'll probably script
something to run every 30 days to unmount it, fsck it, and bring it back
up again.
WAB
-----Original Message-----
From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
Behalf Of Maarten Lippmann
Sent: Tuesday, March 11, 2008 2:07 PM
To: Triangle Linux Users Group General Discussion
Subject: Re: [TriLUG] fsck script?
matt's right, it's tune2fs:
tune2fs -i 60d -c 0
wouls force a fsck on the first reboot every 60 days in stead of every
30 mounts.
and my suggestion to do it manually only works on filesystems you can
unmount of course...
but at least the esc key will get you out of trouble if you need to
cancel one
On Tue, Mar 11, 2008 at 12:59 PM, Maarten Lippmann
<m.w.lippmann at gmail.com> wrote:
> next time this happens, press escape (stops it and continues booting)
> and run fsck manually as you said.
> That fixes it.
>
> theres also a config file or thing you can run to disable the
counter.
> let me look up what that was.
>
>
>
> On Tue, Mar 11, 2008 at 12:55 PM, Byarlay, Wayne A. <wab at purdue.edu>
wrote:
> > Greetings all,
> >
> > Recently, I had a server reboot atof course as Alan said, only run
fsck on an unmounted filesystem.
the config option is in
. a very crucial time, and upon
> > rebooting, I got the message that a disk check had not been run
the past
> > 30 boots, and so fsck was forcing a check. Unfortunately, this was
a
> > critical time, and since this was a very large volume (6.5 tb), it
took
> > forever.
> >
> >
> > Can I manually run fsck on this volume during regular operating
hours,
> > so that fsck will never surprise me like that again? Or, at the
least,
> > set it to run on next reboot when I am not at a critical time?
> >
> > Or a 3rd recommendation that I'm not thinking of?
> >
> > WAB
> > --
> > TriLUG mailing list :
http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ : http://trilug.org/faq/
> > TriLUG Member Services FAQ :
http://members.trilug.org/services_faq/
> >
>
>
>
> --
> Please avoid sending me Word or PowerPoint attachments.
> Use plain text, HTML or PDF (adobe acrobat) in stead.
> See http://www.gnu.org/philosophy/no-word-attachments.html
>
>
>
> "Is 't noodlot, dat ick vall', van eere en staet berooft,
> Laet vallen, als ick vall', met deze kroone op 't hooft,
> Dien scepter in de vuist, dien eersleip van vertrouden,
> En zoo veel duizenden als onze zyde houden.
> Dat valle streckt tot eer, en onverwelckbren lof:
> En liever d' eerste Vorst in eenigh laeger hof,
> Dan in 't gezalight licht de tweede, of noch een minder
> Zoo troost ick my de kans, en vrees nu leet noch hinder."
>
--
Please avoid sending me Word or PowerPoint attachments.
Use plain text, HTML or PDF (adobe acrobat) in stead.
See http://www.gnu.org/philosophy/no-word-attachments.html
"Is 't noodlot, dat ick vall', van eere en staet berooft,
Laet vallen, als ick vall', met deze kroone op 't hooft,
Dien scepter in de vuist, dien eersleip van vertrouden,
En zoo veel duizenden als onze zyde houden.
Dat valle streckt tot eer, en onverwelckbren lof:
En liever d' eerste Vorst in eenigh laeger hof,
Dan in 't gezalight licht de tweede, of noch een minder
Zoo troost ick my de kans, en vrees nu leet noch hinder."
--
TriLUG mailing list :
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
More information about the TriLUG
mailing list