name@fedora:~$ lsblk -o PATH,PARTTYPENAME,FSTYPE,MOUNTPOINTS
PATH PARTTYPENAME FSTYPE MOUNTPOINTS
/dev/sda
/dev/sda1 Linux filesystem ext4
/dev/sdb
/dev/sdb2 Microsoft basic data ntfs /mnt/Vids
/dev/sdc
/dev/sdc1 Linux filesystem btrfs
/dev/sdd ext4
/dev/zram0 swap [SWAP]
/dev/nvme0n1
/dev/nvme0n1p1 EFI System vfat /boot/efi
/dev/nvme0n1p2 Linux extended boot ext4 /boot
/dev/nvme0n1p3 Linux filesystem btrfs /home
/
/dev/nvme0n1p4 Linux filesystem ext4
/dev/nvme0n1p6 BIOS boot
/dev/nvme0n1p7 Linux filesystem ext4
/dev/nvme0n1p7 is an old Mint partitition I haven’t booted to in over a year and can lose if needed. Before the Fedora install on the drive unfortunately. As is /dev/nvme0n1p4 which is blank.
sda, sdb, sdc, sdd are mechanical drives.
name@fedora:~$ sudo btrfs inspect-internal dump-super /dev/nvme0n1p3
superblock: bytenr=65536, device=/dev/nvme0n1p3
---------------------------------------------------------
csum_type 0 (crc32c)
csum_size 4
csum 0x6b804c26 [match]
bytenr 65536
flags 0x1
( WRITTEN )
magic _BHRfS_M [match]
fsid 71fdfdb2-889b-42bd-8f7c-fe1999759379
metadata_uuid 00000000-0000-0000-0000-000000000000
label fedora
generation 540385
root 84432125952
sys_array_size 129
chunk_root_generation 540140
root_level 0
chunk_root 22970368
chunk_root_level 1
log_root 84412203008
log_root_transid (deprecated) 0
log_root_level 0
total_bytes 1090757066752
bytes_used 1010992824320
sectorsize 4096
nodesize 16384
leafsize (deprecated) 16384
stripesize 4096
root_dir 6
num_devices 1
compat_flags 0x0
compat_ro_flags 0x3
( FREE_SPACE_TREE |
FREE_SPACE_TREE_VALID )
incompat_flags 0x371
( MIXED_BACKREF |
COMPRESS_ZSTD |
BIG_METADATA |
EXTENDED_IREF |
SKINNY_METADATA |
NO_HOLES )
cache_generation 0
uuid_tree_generation 540385
dev_item.uuid ec01db2a-8aa6-4267-bb26-74431cab1129
dev_item.fsid 71fdfdb2-889b-42bd-8f7c-fe1999759379 [match]
dev_item.type 0
dev_item.total_bytes 1090757066752
dev_item.bytes_used 1087534792704
dev_item.io_align 4096
dev_item.io_width 4096
dev_item.sector_size 4096
dev_item.devid 1
dev_item.dev_group 0
dev_item.seek_speed 0
dev_item.bandwidth 0
dev_item.generation 0
name@fedora:~$ sudo btrfs device usage /
/dev/nvme0n1p3, ID: 1
Device size: 1015.85GiB
Device slack: 0.00B
Data,single: 992.83GiB
Metadata,DUP: 20.00GiB
System,DUP: 16.00MiB
Unallocated: 3.00GiB
name@fedora:~$ sudo btrfs filesystem usage /
Overall:
Device size: 1015.85GiB
Device allocated: 1012.85GiB
Device unallocated: 3.00GiB
Device missing: 0.00B
Device slack: 0.00B
Used: 948.79GiB
Free (estimated): 61.88GiB (min: 60.38GiB)
Free (statfs, df): 61.88GiB
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,single: Size:992.83GiB, Used:933.95GiB (94.07%)
/dev/nvme0n1p3 992.83GiB
Metadata,DUP: Size:10.00GiB, Used:7.42GiB (74.22%)
/dev/nvme0n1p3 20.00GiB
System,DUP: Size:8.00MiB, Used:144.00KiB (1.76%)
/dev/nvme0n1p3 16.00MiB
Unallocated:
/dev/nvme0n1p3 3.00GiB
name@fedora:~$ btrfs inspect-internal dump-super /dev/nvme0n1p3 | grep -r . /sys/fs/btrfs/
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/read_policy:[pid]
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/commit_stats:commits 122
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/commit_stats:cur_commit_ms 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/commit_stats:last_commit_ms 14
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/commit_stats:max_commit_ms 175
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/commit_stats:total_commit_ms 2982
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/generation:540397
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/exclusive_operation:none
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/nodesize:16384
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/bg_reclaim_threshold:75
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/label:fedora
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/discardable_bytes:311422976
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/discard_bytes_saved:1372696576
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/discardable_extents:19846
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/iops_limit:1000
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/kbps_limit:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/max_discard_size:67108864
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/discard_bitmap_bytes:363986944
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/discard/discard_extent_bytes:1535717376
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/sectorsize:4096
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/temp_fsid:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/quota_override:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/clone_alignment:4096
ERROR: cannot open /dev/nvme0n1p3: Permission denied
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/in_fs_metadata:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/scrub_speed_max:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/replace_target:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/writeable:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/fsid:71fdfdb2-889b-42bd-8f7c-fe1999759379
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/missing:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/error_stats:write_errs 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/error_stats:read_errs 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/error_stats:flush_errs 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/error_stats:corruption_errs 1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/devinfo/1/error_stats:generation_errs 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/checksum:crc32c (crc32c-lib)
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/disk_used:15940714496
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_pinned:180224
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/dynamic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/chunk_size:1073741824
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/reclaim_errors:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_used:7970357248
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/periodic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bg_reclaim_threshold:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/size_classes:none 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/size_classes:small 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/size_classes:medium 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/size_classes:large 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/reclaim_count:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/dup/used_bytes:7970357248
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/dup/total_bytes:10737418240
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/disk_total:21474836480
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/total_bytes:10737418240
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/reclaim_bytes:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_reserved:606208
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_readonly:65536
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_zone_unusable:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/bytes_may_use:650248192
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/metadata/flags:4
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/disk_used:294912
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_pinned:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/dynamic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/chunk_size:33554432
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/reclaim_errors:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_used:147456
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/periodic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bg_reclaim_threshold:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/size_classes:none 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/size_classes:small 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/size_classes:medium 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/size_classes:large 0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/reclaim_count:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/dup/used_bytes:147456
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/dup/total_bytes:8388608
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/disk_total:16777216
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/total_bytes:8388608
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/reclaim_bytes:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_reserved:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_readonly:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_zone_unusable:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/bytes_may_use:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/system/flags:2
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/global_rsv_reserved:536870912
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/disk_used:1003021303808
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_pinned:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/dynamic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/chunk_size:10737418240
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/reclaim_errors:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_used:1003021303808
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/periodic_reclaim:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bg_reclaim_threshold:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/size_classes:none 152
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/size_classes:small 185
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/size_classes:medium 348
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/size_classes:large 310
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/single/used_bytes:1003021303808
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/single/total_bytes:1066043179008
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/reclaim_count:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/disk_total:1066043179008
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/total_bytes:1066043179008
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/reclaim_bytes:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_reserved:188416
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_readonly:65536
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_zone_unusable:0
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/bytes_may_use:2052096
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/data/flags:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/allocation/global_rsv_size:536870912
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/metadata_uuid:71fdfdb2-889b-42bd-8f7c-fe1999759379
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/features/free_space_tree:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/features/no_holes:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/features/compress_zstd:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/features/skinny_metadata:1
/sys/fs/btrfs/71fdfdb2-889b-42bd-8f7c-fe1999759379/features/extended_iref:1
/sys/fs/btrfs/features/zoned:0
/sys/fs/btrfs/features/raid56:0
/sys/fs/btrfs/features/supported_rescue_options:usebackuproot nologreplay ignorebadroots ignoredatacsums ignoremetacsums ignoresuperflags all
/sys/fs/btrfs/features/block_group_tree:0
/sys/fs/btrfs/features/default_subvol:0
/sys/fs/btrfs/features/mixed_groups:0
/sys/fs/btrfs/features/send_stream_version:2
/sys/fs/btrfs/features/free_space_tree:0
/sys/fs/btrfs/features/no_holes:0
/sys/fs/btrfs/features/supported_sectorsizes:4096
/sys/fs/btrfs/features/raid1c34:0
/sys/fs/btrfs/features/acl:1
/sys/fs/btrfs/features/compress_zstd:0
/sys/fs/btrfs/features/skinny_metadata:0
/sys/fs/btrfs/features/temp_fsid:0
/sys/fs/btrfs/features/verity:0
/sys/fs/btrfs/features/supported_checksums:crc32c xxhash64 sha256 blake2b
/sys/fs/btrfs/features/simple_quota:0
/sys/fs/btrfs/features/compress_lzo:0
/sys/fs/btrfs/features/extended_iref:1
/sys/fs/btrfs/features/metadata_uuid:0
/sys/fs/btrfs/features/rmdir_subvol:0
Thank you for your efforts on this.