This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
""" | |
Script that helps invoke scrub on individual disks in a multi-disk btrfs | |
filesystem. | |
This is helpful for configurations that use erasure coding, (i.e. RAID5/RAID6), | |
where scrubbing a single disk involves reading data from the other disks. By | |
default, scrub runs concurrently on every disk in the filesystem, which can | |
result in huge amounts of I/O for such a configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user http; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log ; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |