EnglishFrenchSpanish

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

PROGRAM:

NAME


GROK-FSCK - Check mirrored repositories for corruption

SYNOPSIS


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

DESCRIPTION


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.

OPTIONS


--version
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

EXAMPLES


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
MAILTO=root
# 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
    formkiq-core
    formkiq-core
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday
    Blackfriday
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 5
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 6
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • More »

Linux commands

Ad