Skip to main content

BTRFS Filesystem Maintenace Scripts.

Project description

This is a quick project based upon Marc MERLIN’s `btrfscrub.sh <http://marc.merlins.org/linux/scripts/btrfs-scrub>`__. Fedora 24 doesn’t have shlock in the INN package, and I decided to reimplement the script in Python.

Installation

Download the script, place in /usr/local/bin, setup a monthly cronjob to execute the script.

Compatibility

  • Python 2.6+

  • Python 3.0+

  • PyPy 5+

Library Dependencies

TODO

  • Perhaps a mutex of some sort or locking like unto shlock

  • Make some default scripts - cron, systemd, etc.

Files

├── btrfscrub.sh       # Reference Copy of Marc MERLIN's Script (Apache 2.0 License)
├── btrfsmaint.py      # btrfsmaint script
├── btrfstest.py       # function test script.
├── README.md          # This File
├── LICENSE            # GPL v2.0
├── Copyright          # Copyright Statement
└── tests/             # Test output.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btrfsmaint-0.5.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page