Giter Site home page Giter Site logo

ansemjo / zpool-scrub-timers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lnicola/systemd-zpool-scrub

4.0 2.0 1.0 13 KB

enable scheduled zpool scrubbing with a systemd timer

License: MIT License

Makefile 47.32% Roff 52.68%
systemd systemd-timer zpool zpool-scrub zfs

zpool-scrub-timers's Introduction

zpool-scrub-timers(8) -- scheduled zpool scrubbing

SYNOPSIS

systemctl enable --now [email protected]

or

systemctl enable --now [email protected]

DESCRIPTION

These unit files initiate a zpool scrub on a regular basis (weekly or monthly). For one-off scrubs you should simply use zpool scrub tank, where tank is the pool to be scrubbed.

See zpool(8) for documentation of zpool subcommands.

USAGE

The only option to these timers is the pool name to be scrubbed. If your pool name is mypool and you want to schedule weekly scrubs use

systemctl enable --now [email protected]

INSTALLATION

After cloning the repository or downloading and extracting a release use make install to install the unit files in /etc/systemd/system.

Afterwards reload your daemon with systemd daemon-reload and enable the desired timer (see USAGE).

EXAMPLE

Clone the repository:

cd /tmp
git clone https://github.com/ansemjo/systemd-zpool-scrub-timers.git
cd systemd-zpool-scrub-timers/

Install unit files:

sudo make install

Enable timer:

sudo systemctl enable --now [email protected]

zpool-scrub-timers's People

Contributors

ansemjo avatar grayshade avatar lnicola avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tmbeck

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.