SCIENTIFIC-LINUX-USERS Archives

October 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chris Schanzle <[log in to unmask]>
Reply To:
Chris Schanzle <[log in to unmask]>
Date:
Mon, 29 Oct 2012 00:13:54 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
On 10/28/2012 03:29 AM, Todd And Margo Chester wrote:
> On 10/27/2012 07:42 PM, Steven J. Yellin wrote:
>>       You can put an fsck command in /etc/rc.d/rc.local.
>>
>> Steven Yellin
>>
>> On Sat, 27 Oct 2012, Todd And Margo Chester wrote:
>>
>>> Hi All,
>>>
>>> SL 6.2, x64
>>>
>>> I have an "ext 4" drive (/dev/sdb1)  I use for backup that is
>>> deliberately not in my fstab.
>>>
>>> "touch /forcefsck" will only force a check on my main ("/")
>>> drive.
>>>
>>> Question: is there a way to trigger an an fsck at boot on
>>> this backup drive?
>>>
>>> Many thanks,
>>> -T
>>>
>>
>
> Thank you.  Thank will work.
>
> Actually, I am trying to solve the mystery of how to get it to
> fsck at the same time as "touch /forcefsck".  Do you know
> how to do this?
>
> Many thanks,
> -T

Hi Todd,

Have you perused through tune2fs(8) to notice you may set a max-mount-counts to 1 or maybe a daily interval-between-checks to 1d?

Why are you so adverse to an fstab entry?  If you specify option "noauto" it won't be mounted on boot, but it *might* fsck with the others.

ATOM RSS1 RSS2