Bug 440146 - Show unusable disk space reserved for reserved blocks, inode blocks
Summary: Show unusable disk space reserved for reserved blocks, inode blocks
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.04.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-22 10:24 UTC by Mohammed Sameer
Modified: 2021-07-22 10:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Partition properties (194.21 KB, image/png)
2021-07-22 10:24 UTC, Mohammed Sameer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammed Sameer 2021-07-22 10:24:37 UTC
Created attachment 140248 [details]
Partition properties

SUMMARY
Show unusable disk space reserved for reserved blocks, inode blocks in partition properties window of KDE Partition Manager for applicable filesystems like ext4 etc.

On my PC for /dev/sda2 ext4 partition of 867.39 GiB, the reserved block count is "11368998*4096 bytes= 46567415808 bytes= 43.3693 gibibytes", inode count is "56852480*256 bytes=14554234880 bytes= 13.5547 gibibytes" which is lot of disk space.

If above unusable disk space is shown in properties of a specific partition, then users can know where the disk space is utilized & can atleast modify the reserved block count, also when reinstalling the OS. New users can find this feature helpful.

Also the partition properties of /dev/sda2 in KDE Partition Manager shows available disk space as 68.46 GiB, which includes reserved block usage etc, but actual usable free disk space is 10.4 GiB. Please see the attached screenshot.
I am not sure everything above is correct.

EXPECTED RESULT
Show disk space utilized by Reserved blocks, Inode blocks, Journal blocks etc. or show it as filesystem reserved disk space in partition properties of KDE Partition Manager.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-63-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-5010U CPU @ 2.10GHz
Memory: 3.8 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Comment 1 Mohammed Sameer 2021-07-22 10:32:37 UTC
output of tune2fs -l /dev/sda2:

tune2fs 1.45.5 (07-Jan-2020)
Filesystem volume name:   <none>
Last mounted on:          /
Filesystem UUID:          f8e66549-c5db-4c42-b729-15601980172f
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              56852480
Block count:              227379968
Reserved block count:     11368998
Free blocks:              14115771
Free inodes:              55628719
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Sun Oct 21 12:57:56 2018
Last mount time:          Thu Jul 22 13:35:57 2021
Last write time:          Thu Jul 22 19:05:49 2021
Mount count:              1503
Maximum mount count:      -1
Last checked:             Sun Oct 21 12:57:56 2018
Check interval:           0 (<none>)
Lifetime writes:          3144 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       27264217
Default directory hash:   half_md4
Directory Hash Seed:      ab9a972f-9846-415b-8578-388e3a3a6ee5
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0xfae01655