OnWorks favicon

grok-fsck - Online in the Cloud

Run grok-fsck in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command grok-fsck that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



GROK-FSCK - Check mirrored repositories for corruption


grok-fsck -c /path/to/fsck.conf


Git repositories can get corrupted whether they are frequently updated or not, which is
why it is useful to routinely check them using "git fsck". Grokmirror ships with a
"grok-fsck" utility that will run "git fsck" on all mirrored git repositories. It is
supposed to be run nightly from cron, and will do its best to randomly stagger the checks
so only a subset of repositories is checked each night. Any errors will be sent to the
user set in MAILTO.


show program's version number and exit

-h, --help
show this help message and exit

-v, --verbose
Be verbose and tell us what you are doing

-f, --force
Force immediate run on all repositories.

-c CONFIG, --config=CONFIG
Location of fsck.conf


Locate fsck.conf and modify it to reflect your needs. The default configuration file is
heavily commented.

Set up a cron job to run nightly and to email any discovered errors to root:

# Make sure MAILTO is set, for error reports
# Run nightly, at 2AM
00 02 * * * mirror /usr/bin/grok-fsck -c /etc/grokmirror/fsck.conf

You can force a full run using the -f flag, but unless you only have a few smallish git
repositories, it's not recommended, as it may take several hours to complete.

Use grok-fsck online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 2
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    Download LMS-YouTube
  • 3
    dotnet sdk
    dotnet sdk
    Core functionality needed to createNET
    Core projects, that is shared between
    Visual Studio and CLI. There are no fees
    or licensing costs, including for
    Download dotnet sdk
  • 4
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik berbrcken. Hierfr haben sie
    die Mglichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • 5
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    Ever wanted to get rid of Outlook ?
    DavMail is a
    gateway allowing users to use any mail
    client with Exchange and Office 365, e...
    Download DavMail POP/IMAP/SMTP/Caldav to Exchange
  • 6
    DivFix++ is yours AVI video repair and
    preview software. It designed for repair
    and preview files which are on download
    from ed2k(emule), torrent, gnutella, ftp...
    Download DivFix++
  • 7
    JBoss Community
    JBoss Community
    Community driven projects featuring the
    latest innovations for cutting edge
    apps. Our flagship project JBoss AS is
    the leading Open Source,
    Download JBoss Community
  • More »

Linux commands