Re: Logging fsck at boot

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

 



On Tue, 2006-11-14 at 12:31 -0200, Clodoaldo Pinto Neto wrote:
> I want to run fsck at boot and have it logged. I used shutdown -F -r
> and it worked but I can't find a log.
> 
> The reason I want it is that the server is having this error:
> kernel: journal commit I/O error
> 
> The server is only reachable by SSH. So I need to run fsck at boot and
> have it logged.
> 
> How can I make shutdown -F -r tell fsck to correct eventual problems
> like in e2fsck -f -y ?
> 
> Regards, Clodoaldo Pinto Neto
> 
open /etc/rc.sysinit and lookout for the statements that check check for
a few options to run fsck.
Just before those lines put your own lines like

fsck -f -y /dev/devicename and redirect the output to some file. 

Autofixing the filesystem can be dangerous. If there are large problems
with inodes, it may render you a unusable file system. That doesnt
happen too often but it happened to me once. So, It will be better to
have a backup before running such a command.
-- 
Thanx
Pritam Ghanghas

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux