The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Croning a disk check

Discussion in 'General Discussion' started by Silent Ninja, Feb 11, 2008.

  1. Silent Ninja

    Silent Ninja Well-Known Member

    Apr 18, 2006
    Likes Received:
    Trophy Points:
    Buenos Aires, Argentina
    Hello everyone, I've recently made some fsck to 2 of our webservers that were failing, and then I though if there's any way to know how "bad" is the disk (or at least the / partition), before the system breaks up, and the fsck is strictly necesary.

    I'd like to run a scipt once a week that checks the disk partitions (or at least one of them) from inode errors, but I don't want fsck to autocorrect them, since the / partition must be done with a recovery cd or from within a different OS.

    Is there any command that gives me the chance to know if there has to be done any fsck, or if the disk is ok at that time?

Share This Page