scripts/btrfs-raid-status.sh

10 lines
195 B
Bash
Raw Permalink Normal View History

2023-06-11 00:04:22 +02:00
#!/usr/bin/env bash
dev="/dev/sde"
fs="/srv"
btrfs device scan $dev
btrfs device stats $fs
btrfs filesystem show $fs
btrfs filesystem df $fs
btrfs filesystem du -s $fs
btrfs filesystem usage $fs