I've created btrfs system on USB stick, copied about 2GB of files via GUI (Nemo, Linux Mint 20), ejected via GUI. Inserted in another PC, but have not seen these files. I've checked df -h
output and partition via GUI: df shows several megabytes used, GUI shows 2.2 GB used. How to find the files? I wanted to start to use btrfs more, e.g. for replication/backups as I've read many recommend, but I'm wary when I see files disappear.
I've read Why does size and used space in df output contradict available space, df and Nemo show about same on both devices, hence answer than some process holds to the files I consider not applicable and another "By default, ext2, ext3 and ext4 filesystems reserve 5% of their capacity for use by the root user." also as it is not ext
filesystem.
I've run btrfs check
, output showed no issues.
df -h
/dev/sdb1 57G 3,8M 55G 1% /media/alex/usb
$ sudo btrfs check --force /dev/sdb1
Opening filesystem to check...
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/sdb1
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 393216 bytes used, no error found
total csum bytes: 0
total tree bytes: 131072
total fs tree bytes: 32768
total extent tree bytes: 16384
btree space waste bytes: 124727
file data blocks allocated: 262144
referenced 262144