[plasmashell] [Bug 524464] New: Total disk space available is duplicated, I'm guessing due to full disk encryption

Aleksander Bobiński <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=524464

            Bug ID: 524464
           Summary: Total disk space available is duplicated, I'm guessing
                    due to full disk encryption
    Classification: Plasma
           Product: plasmashell
      Version First 6.7.4
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: System Monitor widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: 1.0

Created attachment 195280
  --> https://bugs.kde.org/attachment.cgi?id=195280&action=edit
Incorrect disk space available

***
If you're not sure this is actually a bug or valid feature request, instead
post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Do not paste LLM output.

Please remove this comment after reading and before submitting - thanks!
***

DESCRIPTION
The disk size seems to be duplicated. My encrypted SSD is ~1TB but the applet
claims the total size is 1.8 TB.
```
[ ~ |0] sudo LANG=C fdisk -l
Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WD Blue SN5100 1TB                      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 524288 bytes
Disklabel type: gpt
Disk identifier: B9ADDD14-427A-4402-8DFE-7A2DE4A889BC

Device           Start        End    Sectors   Size Type
/dev/nvme0n1p1    2048    8390655    8388608     4G EFI System
/dev/nvme0n1p2 8390656 1953523711 1945133056 927,5G Linux filesystem

Disk /dev/mapper/root: 927,5 GiB, 995891347456 bytes, 1945100288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 32768 bytes / 524288 bytes
``` 

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT
The total size of a 1TB disk is ~1TB regardless of encryption.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Kernel Version: 7.1.8-arch1-3 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.