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 details)

Uploaded Source

File details

Details for the file btrfsmaint-0.5.1.tar.gz.

File metadata

  • Download URL: btrfsmaint-0.5.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for btrfsmaint-0.5.1.tar.gz
Algorithm Hash digest
SHA256 557e14939717b797ae43c6661569ad679c4031dc4fc34eeba5aa0271e6ec6b16
MD5 6e1171275d88c22e719373c5a51478cd
BLAKE2b-256 dfdf0a668382eceab5a4fbef673db297e35263a83da0ba2ba805e6fe41e6c360

See more details on using hashes here.

Supported by

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