Announcement

Collapse
No announcement yet.

Dolphin partition properties showing incorrect size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Errors] Dolphin partition properties showing incorrect size

    Hi! I just installed Kubuntu for the first time and updated the system, I was exploring different components of the OS. While checking properties of root partition from the context menu, after calculating, it's showing the total size is 128.0 TiB! What I gathered from different sites, it's probably a KDE/ Dolphin issue. Now, is there a way to fix this or is it just a known bug? Can anyone kindly confirm me this?

    Relevant info:
    Description: Ubuntu 20.04.3 LTS
    plasmashell 5.18.5
    lsblk output

    Let me know, if anything else is required.
    Thanks.

    #2
    Ho! I get that too. Is your root file system on a btrfs? Running snapper, or a tool like it?

    A bit of investigation, /proc is the culprit. /proc is a pseudo file system, in that it's contents are generated dynamically from various information the OS has about processes. It's certainly not 128 TiB; from a storage perspective it's zero. IMO dolphin should ignore it if calculating the size to show on a properties pop up, and /sys too.

    With btrfs, calculating sizes of snapshots is very complicated because every snapshot starts sharing almost all the storage of the subvolume that is snapshotted. After a few dozen snapshots, who owns what?
    Regards, John Little

    Comment


      #3
      No, on both end. I used ext4 for both Linux partitions, and no, I haven't setup any backup/ snapshot utility yet. Here's the partition info, if that helps. btrfs seemed too complicated!

      Also, thanks for the prompt response.

      Comment


        #4
        same hear , but the context menu dose show the correct size of the disk , strange the same size misinformation for all of us lol

        Click image for larger version  Name:	Screenshot_20211112_145542.png Views:	0 Size:	59.9 KB ID:	658116
        theirs no partitions it's a hole disk BTRFS file system , so slightly different case scenario , 250GB SSD

        Code:
        vinny@vinny-bonox8:~$ df -h
        Filesystem      Size  Used Avail Use% Mounted on
        udev            7.8G     0  7.8G   0% /dev
        tmpfs           1.6G  1.6M  1.6G   1% /run
        /dev/sdc        233G   48G  184G  21% /
        tmpfs           7.8G     0  7.8G   0% /dev/shm
        tmpfs           5.0M  4.0K  5.0M   1% /run/lock
        tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
        /dev/sdc        233G   48G  184G  21% /home
        /dev/sda5        55G   27G   25G  52% /mnt/vm
        /dev/sdb1       932G  718G  214G  78% /mnt/storage
        tmpfs           1.6G   12K  1.6G   1% /run/user/1000
        vinny@vinny-bonox8:~$ sudo parted -l
        [sudo] password for vinny:  
        Model: ATA HGST HTS725050A7 (scsi)
        Disk /dev/sda: 500GB
        Sector size (logical/physical): 512B/4096B
        Partition Table: msdos
        Disk Flags:  
        
        Number  Start   End    Size    Type      File system     Flags
        1      8225kB  323GB  323GB   primary   btrfs           boot
        3      323GB   379GB  56.3GB  primary   ext4
        4      379GB   496GB  117GB   extended
        6      379GB   436GB  57.0GB  logical   ext4
        5      436GB   496GB  59.8GB  logical   ext4
        2      496GB   500GB  4295MB  primary   linux-swap(v1)
        
        
        Model: ATA HGST HTS721010A9 (scsi)
        Disk /dev/sdb: 1000GB
        Sector size (logical/physical): 512B/4096B
        Partition Table: gpt
        Disk Flags:  
        
        Number  Start   End     Size    File system  Name     Flags
        1      1049kB  1000GB  1000GB  btrfs        primary
        
        
        Model: ATA Samsung SSD 860 (scsi)
        Disk /dev/sdc: 250GB
        Sector size (logical/physical): 512B/512B
        Partition Table: loop
        Disk Flags:  
        
        Number  Start  End    Size   File system  Flags
        1      0.00B  250GB  250GB  btrfs
        VINNY
        Last edited by vinnywright; Nov 12, 2021, 02:23 PM.
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment

        Working...
        X