Bug 513293

Summary: Size of used space is not shown (shows 0 B in use) for encrypted by LUKS XFS filesystems
Product: [Applications] partitionmanager Reporter: Łukasz Konieczny <ftefrjbhfvasf32>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.12.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Erratic presentation of used space in the XFS volume

Description Łukasz Konieczny 2025-12-13 14:57:55 UTC
Created attachment 187583 [details]
Erratic presentation of used space in the XFS volume

SUMMARY
KDE Partition Manager doesn't show how much space is in use for encrypted by LUKS (I use LUKS2) XFS volumes, as shown in the screenshot attached.

STEPS TO REPRODUCE
1. Create an XFS filesystem and encrypt it using LUKS (dm-crypt).
2. Mount it.
3. Observe the result.

OBSERVED RESULT
KDE Partition Manager shows that 0 B is in use, despite KDiskFree showing that there is 76% in use for my example /home/ partition.

EXPECTED RESULT
The program knows, how much space is in use for encrypted XFS volumes.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.11-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: System76
Product Name: Darter Pro
System Version: darp7

ADDITIONAL INFORMATION
The problem didn't appear now, it is present for at least two years (I have migrated from ext4 to XFS about 1.5 year ago).