btrfs
check
btrfs check
Check van het filesystem gaat niet als de drive gemount is:
btrfs check /dev/sda2
/dev/sda2 is currently mounted. Aborting.
Algemene informatie
btrfs fi show
Label: none uuid: 5364b79a-cc9a-4d79-a2a3-6679401aa6f3
Total devices 1 FS bytes used 15.04GiB
devid 1 size 40.00GiB used 19.57GiB path /dev/sda2
Als je wil zien welk filetype de verschillende partities zijn:
df -T
devtmpfs devtmpfs 3039212 8 3039204 1% /dev
tmpfs tmpfs 3046936 69328 2977608 3% /dev/shm
tmpfs tmpfs 3046936 2352 3044584 1% /run
tmpfs tmpfs 3046936 0 3046936 0% /sys/fs/cgroup
/dev/sda2 btrfs 41946112 16576576 24249968 41% /
…
/dev/sda2 btrfs 41946112 16576576 24249968 41% /tmp
/dev/sda3 xfs 200050240 1121016 198929224 1% /home
tmpfs tmpfs 609388 20 609368 1% /run/user/1000Fouten-log
btrfs device stats /dev/sda2
[/dev/sda2].write_io_errs 0
[/dev/sda2].read_io_errs 0
[/dev/sda2].flush_io_errs 0
[/dev/sda2].corruption_errs 0
[/dev/sda2].generation_errs 0Vrije ruimte (df):
btrfs filesystem df /home
ERROR: not a btrfs filesystem: /home
btrfs filesystem df /
Data, single: total=17.01GiB, used=14.31GiB
System, DUP: total=32.00MiB, used=16.00KiB
Metadata, DUP: total=1.25GiB, used=740.53MiB
GlobalReserve, single: total=50.58MiB, used=0.00BMeer op de btrfs spiekbrief: https://blog.programster.org/btrfs-cheatsheet