This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:btrfsreminders [2026/04/04 19:45] – oemb1905 | computing:btrfsreminders [2026/08/01 15:17] (current) – oemb1905 | ||
|---|---|---|---|
| Line 107: | Line 107: | ||
| In addition to scrubbing, I compiled a slew of commands to assess pool health more granularly. I put this script on a cronjob which runs and sends me a statistics report every hour: | In addition to scrubbing, I compiled a slew of commands to assess pool health more granularly. I put this script on a cronjob which runs and sends me a statistics report every hour: | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||
| DATE=`date +" | DATE=`date +" | ||
| Line 286: | Line 286: | ||
| sudo mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | sudo mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | ||
| sudo mount -o compress=zstd: | sudo mount -o compress=zstd: | ||
| + | cat << ' | ||
| + | #!/bin/bash | ||
| + | cryptsetup luksOpen / | ||
| + | mount -o compress=zstd: | ||
| + | EOF | ||
| + | chmod 750 / | ||
| </ | </ | ||
| --- // | --- // | ||