Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Partitioning - Size difference

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
questlinq
Posts: 69
Joined: 2017-09-19 08:51

Partitioning - Size difference

#1 Post by questlinq »

Hello,

After running 'fdisk -l' command I see difference in size of partitions ..

/dev/sda1 953M instead of 1024MB which I've set at partitioning step.
/dev/sda2 14G instead of 20GB which I've also set at partitioning ..
.. and so on ..

Is this normal?

User avatar
Ardouos
Posts: 1075
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: Partitioning - Size difference

#2 Post by Ardouos »

Can you please post the output of fdisk that you are concerned about?

can you also post the output of:

Code: Select all

lsblk
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

questlinq
Posts: 69
Joined: 2017-09-19 08:51

Re: Partitioning - Size difference

#3 Post by questlinq »

@Ardouos

Size output is the same when running 'lsblk' command ..

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Partitioning - Size difference

#4 Post by debiman »

please show us the FULL output for both commands.
please use code tags for code:
[Xcode]command & output here[/code]
(remove the X to make it work)

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Partitioning - Size difference

#5 Post by p.H »

Partition sizes in the Debian installer, Gparted, parted... use SI (decimal) prefixes by default : k=1000, M=1000k, G=1000M...
Sizes in many other programs such as fdisk use binary prefixes by default : Ki=1024, Mi=1024Ki, Gi=1024Mi... sometimes omitting to display the "i".

953 MiB would perfectly match 1000 MB (1 GB), but not 1024 MB (976 MiB).
However there is no way that 14 GiB (15 GB) would match anything near 20 GB (18,6 GiB).

Post Reply