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:48] – lo oemb1905 | computing:btrfsreminders [2026/09/23 23:33] (current) – oemb1905 | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | ||
| mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | mkfs.btrfs -f -d raid10 -m raid1 --checksum=xxhash --nodesize=32k / | ||
| - | mount -o compress-force=zstd: | + | mount -o compress-force=zstd: |
| - | mount -o compress=zstd: | + | mount -o compress=zstd: |
| btrfs filesystem show /mnt/vm | btrfs filesystem show /mnt/vm | ||
| btrfs filesystem show /mnt/wh | btrfs filesystem show /mnt/wh | ||
| Line 91: | Line 91: | ||
| cryptsetup luksOpen / | cryptsetup luksOpen / | ||
| #mount the btrfs r10 pool for vm | #mount the btrfs r10 pool for vm | ||
| - | mount -o compress-force=zstd: | + | mount -o compress-force=zstd: |
| #mount the btrfs r10 pool for wh | #mount the btrfs r10 pool for wh | ||
| - | mount -o compress=zstd: | + | mount -o compress=zstd: |
| | | ||
| This script is designed to be run manually post reboot. In order, you reboot, log in to the admin user via ssh, unlock the crypt key directory with '' | This script is designed to be run manually post reboot. In order, you reboot, log in to the admin user via ssh, unlock the crypt key directory with '' | ||
| 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 294: | Line 294: | ||
| </ | </ | ||
| - | --- // | + | I changed default to '' |
| + | |||
| + | --- // | ||