FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ



 
 
LinkBack Thread Tools
 
Old 04-30-2008, 12:27 AM
Les
 
Default fsck

On Wed, 2008-03-26 at 11:57 -0700, Rick Stevens wrote:
> tony.chamberlain@lemko.com wrote:
> >
> > thanks for the suggestion about the touch /forcefsck
> >
> > someone here wanted me to ask if we can do touch /forcefsck -a
> > to automate the fsck so no one has to be there to answer "yes", "yes", ...
> >
>
> You can stuff "-y" into /etc/fsckoptions or create
> /etc/sysconfig/autofsck and add
>
> AUTOFSCK_OPT="-y"
>
> to it.
Is there any chance that this would mess up an LVM setup?

Regards,
Les H

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 04-30-2008, 09:50 AM
Renich Bon Ciric
 
Default fsck

On Wed, 2008-03-26 at 17:15 -0600, Aaron Konstam wrote:
> I don't think so since forcefsck is not a command just a file that has
> to exist,

What about using XFS instead of ext{2,3}? How do I make the fsck use a
xfs_repair instead of a xfs_check on startup?
--
Renich Bon Ciric <renich@woralelandia.com>
Woralelandia
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-09-2008, 06:16 AM
Ric Moore
 
Default fsck

On Tue, 2008-04-29 at 17:27 -0700, Les wrote:
> On Wed, 2008-03-26 at 11:57 -0700, Rick Stevens wrote:
> > tony.chamberlain@lemko.com wrote:
> > >
> > > thanks for the suggestion about the touch /forcefsck
> > >
> > > someone here wanted me to ask if we can do touch /forcefsck -a
> > > to automate the fsck so no one has to be there to answer "yes", "yes", ...
> > >
> >
> > You can stuff "-y" into /etc/fsckoptions or create
> > /etc/sysconfig/autofsck and add
> >
> > AUTOFSCK_OPT="-y"
> >
> > to it.
> Is there any chance that this would mess up an LVM setup?
Have you gotten an answer?? I'd like to know. Ric

--
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net <---down4now too
================================================

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-09-2008, 04:05 PM
Roger Heflin
 
Default fsck

Ric Moore wrote:

On Tue, 2008-04-29 at 17:27 -0700, Les wrote:

On Wed, 2008-03-26 at 11:57 -0700, Rick Stevens wrote:

tony.chamberlain@lemko.com wrote:

thanks for the suggestion about the touch /forcefsck


someone here wanted me to ask if we can do touch /forcefsck -a
to automate the fsck so no one has to be there to answer "yes", "yes", ...


You can stuff "-y" into /etc/fsckoptions or create
/etc/sysconfig/autofsck and add

AUTOFSCK_OPT="-y"

to it.

Is there any chance that this would mess up an LVM setup?

Have you gotten an answer?? I'd like to know. Ric



Not unless there is a significant bug somewhere.


Roger

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-09-2008, 05:13 PM
"Tod Merley"
 
Default fsck

Hi

I would tend to set a flag checked by a utility inserted in the run
level one startup. The script would then be able to accomplish the
whole thingl

Have Fun!

Tod

2008/3/25 <tony.chamberlain@lemko.com>:
>
> Is there anyway to automate the following (all from one script):
>
> Boot to single-user mode (or whatever is required)
> run fsck
> reboot back to level 5 (or 3)
>
> so that you can kick it off, go away,
> come back an hour or so later and it'll
> all be done (via IP)?
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi

I would tend to set a flag checked by a utility inserted in the run
level one startup. The script would then be able to accomplish the
whole thingl

Have Fun!

Tod

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-09-2008, 05:30 PM
Rick Stevens
 
Default fsck

Tod Merley wrote:

Hi

I would tend to set a flag checked by a utility inserted in the run
level one startup. The script would then be able to accomplish the
whole thingl

Have Fun!

Tod

2008/3/25 <tony.chamberlain@lemko.com>:

Is there anyway to automate the following (all from one script):

Boot to single-user mode (or whatever is required)
run fsck
reboot back to level 5 (or 3)

so that you can kick it off, go away,
come back an hour or so later and it'll
all be done (via IP)?

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Hi

I would tend to set a flag checked by a utility inserted in the run
level one startup. The script would then be able to accomplish the
whole thingl


Er, a simple script:

#!/bin/bash
touch /.autofsck
reboot

will do it. The system looks for /.autofsck when it boots. If it finds
it, it fscks the filesystems, then deletes /.autofsck. Check the main
startup script "/etc/rc.d/rc.sysinit" for details.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer rps2@nerd.com -
- Hosting Consulting, Inc. -
- -
- Lottery: A tax on people who are bad at math. -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 12:43 PM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org