ansible/roles/cryptoraid/files/bin/fs_trim.sh

7 lines
79 B
Bash
Raw Normal View History

2022-10-20 15:03:12 +02:00
#!/bin/sh
set -e
FS_ROOT="${BTRFS_ROOT:-/mnt/btr_pool}"
fstrim -v "$FS_ROOT"