Re: [CentOS] unattended fsck on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/11/06, Dominik Składanowski <dskladanowski@xxxxxxxxx> wrote:
On Wed, 08 Nov 2006 10:19:44 +0100, Mark Quitoriano
<markquitoriano@xxxxxxxxx> wrote:

> Hi how can i do this? i have a headless server that i want to do fsck
> but i
> know fsck need human intervention how can i make fsck to select yes in
> all
> questions.
>

Good question.
Few weeks ago after kernel update one of my servers didn't start. I had to
do fsck by hand.

Regards.
If your system boots after an unclean shutdown you can set it up to do an autofsck, e.g. an unattended and hands-free fsck. Just go to /etc/sysconfig/autofsck and change the option from 'no' to 'yes'. The next time you reboot after an unclean shitdown, for whatever reason, you will be prompted to say 'Yes to stop autofsck'. If you don't respond it will do an automatic autofsck.

Keep warm
Sharon.
--
A taste of linux http://www.sharons.org.uk/taste/index.html
efever http://www.efever.blogspot.com/
Centos 4.3, KDE 3.5.0-1.7, OpenOffice 2.0.1
Registered Linux user 334501
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux