btrfsmaint

BTRFS Filesystem Maintenace Scripts.


Keywords
btrfs, maintenance, administration
License
Apache-2.0
Install
pip install btrfsmaint==0.5.2

Documentation

BTRFSMAINT

This is a quick project based upon Marc MERLIN's btrfscrub.sh. 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.