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

Re: fsck from cron?



On Thu, 28 Aug 1997, Oliver Elphick wrote:

> In message <[🔎] 199708272013.WAA00791@zanzy.shqn.pc.it>, writes:
>   >... I was wondering if/how was possible to do some kind of
>   >scheduled-fsck checks for those machines that never reboot
>  
> You can run 'fsck -f -n.  This will (according to the man page) do nothing to
> the file system, but should let you know if there are any  problems requiring
> attention.

This might cause problems with processes trying to write to the
filesystems as the check is going on.

My solution is to define a separate runlevel that brings the system
down to single user mode, unmounts the filesystem, fsck all of them,
and restarts the system into run-level 2.

-- 
Jean Pierre



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: