Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231496

Re: Strange statistics from gparted

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: Strange statistics from gparted
Date 2021-02-08 12:10 +0100
Message-ID <BGcAy-2Ag-7@gated-at.bofh.it> (permalink)
References <BFXi9-1fc-5@gated-at.bofh.it> <BG9W1-KL-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/08/2021 02:15 AM, Andrei POPESCU wrote:
> On Du, 07 feb 21, 12:39:59, Richard Owlett wrote:
>> I am experimenting with custom installs of MATE on Debian 10.7 .
>> My goal is to minimize its footprint on disk, and reduce menu clutter.
>> I have a default install with / on sda1.
>> The custom install has / on sda2.
>> Both installs use /sda3 for /home.
>>
>> When running gparted from the first, it reports
>>    sda1 used space is 3.85 GB
>>    sda2 used space is 2.25 GB
>>
>> When running gparted from the second, it reports
>>    sda1 used space is 4.77 GB
>>    sda2 used space is 1.80 GB
>>
>> Why?
>> TIA ;}
> 
> Based on the limited information available my best guess is that you are
> looking at different disk drives as the device names can change between
> boots.

No. The laptop has only a single hard disk.
Also, the two installations were performed from the same USB flash 
drive. Both installs were configured to allow booting to either "root" 
or "user".

> 
> In any case, try comparing the outputs of 'parted -l' (needs root)

In both cases the result is:
> Model: ATA SanDisk SDSSDA24 (scsi)
> Disk /dev/sda: 240GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags: 
> 
> Number  Start   End     Size    Type      File system     Flags
>  1      1049kB  8000MB  7999MB  primary   ext4            boot
>  2      8000MB  40.0GB  32.0GB  primary   ext4
>  3      40.0GB  124GB   84.3GB  primary   ext4
>  4      124GB   240GB   116GB   extended
>  6      124GB   132GB   7999MB  logical   ext4
>  7      132GB   140GB   7999MB  logical   ext4
>  5      232GB   240GB   8000MB  logical   linux-swap(v1)

> and
> 'lsblk -f'. If you still see a discrepancy please paste the full output
> of both commands.

Difficult to compare as lsblk reports usage ONLY for mounted partitions 
while gparted reports values for mounted AND unmounted partitions.

Cut-n-paste from both runs:

> root@debian10-7-full:~# lsblk -f
> NAME   FSTYPE LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
> sda                                                                           
> ├─sda1 ext4   debian-full f79f1db4-beb4-404b-85ae-18f8c037a424    3.2G    51% /
> ├─sda2 ext4   home-all    7f20c788-c8ed-4a55-9571-9f528ac33909   27.7G     0% /home
> ├─sda3 ext4   dvds        b4e307a5-daaa-4c96-a13d-2efc211251de    5.6G    88% /dvds
> ├─sda4                                                                        
> ├─sda5 swap               6b892dcd-12af-4774-88c0-c53cd066cae3                [SWAP]
> ├─sda6 ext4   debian-min  fbd14c22-6ee7-4832-a22b-cdb8d7978abd                
> └─sda7 ext4   test-debian f23e8435-81b0-4b9d-bdba-d4d60f15052d                
> sr0                                                                           
> root@debian10-7-full:~# 


> root@debian-min:~# lsblk -f
> NAME   FSTYPE LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
> sda                                                                           
> ├─sda1 ext4   debian-full f79f1db4-beb4-404b-85ae-18f8c037a424                
> ├─sda2 ext4   home-all    7f20c788-c8ed-4a55-9571-9f528ac33909   27.7G     0% /home
> ├─sda3 ext4   dvds        b4e307a5-daaa-4c96-a13d-2efc211251de    5.6G    88% /dvds
> ├─sda4                                                                        
> ├─sda5 swap               6b892dcd-12af-4774-88c0-c53cd066cae3                [SWAP]
> ├─sda6 ext4   debian-min  fbd14c22-6ee7-4832-a22b-cdb8d7978abd    5.3G    22% /
> └─sda7 ext4   test-debian f23e8435-81b0-4b9d-bdba-d4d60f15052d                
> sr0                                                                           
> root@debian-min:~# 

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Strange statistics from gparted Richard Owlett <rowlett@cloud85.net> - 2021-02-07 19:50 +0100
  Re: Strange statistics from gparted Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-08 09:20 +0100
    Re: Strange statistics from gparted "Thomas Schmitt" <scdbackup@gmx.net> - 2021-02-08 10:20 +0100
      Re: Strange statistics from gparted David Wright <deblis@lionunicorn.co.uk> - 2021-02-08 16:10 +0100
    Re: Strange statistics from gparted Richard Owlett <rowlett@cloud85.net> - 2021-02-08 12:10 +0100
      Re: Strange statistics from gparted David <bouncingcats@gmail.com> - 2021-02-08 13:30 +0100
  Re: Strange statistics from gparted "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-08 10:30 +0100
    Re: Strange statistics from gparted Richard Owlett <rowlett@cloud85.net> - 2021-02-08 13:10 +0100
  Re: Strange statistics from gparted Richard Owlett <rowlett@cloud85.net> - 2021-02-10 11:40 +0100
    Re: Strange statistics from gparted David <bouncingcats@gmail.com> - 2021-02-10 12:30 +0100

csiph-web