You are not logged in.

#1 2022-11-17 15:30:13

sonus89
Member
Registered: 2022-11-17
Posts: 2

"lsblk" displays different size of partition than "fdisk -l"

Hi everyone, I am trying to install an Arch Linux on a Virtual Machine ( Virtualbox ) and at the partitioning I was surprised that "lsblk" command displays a different size of partition. I partition approx. 30 Gb of disk space into 26.2 G primary and 4.1 G extended but the extended is shown as "1K" by lsblk command.

Here is the screenshot: https://imgur.com/a/99lbyY6

Offline

#2 2022-11-17 15:32:56

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: "lsblk" displays different size of partition than "fdisk -l"

sda1 is 26.2G.
What is your doubt?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-17 16:32:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: "lsblk" displays different size of partition than "fdisk -l"

d.ALT wrote:

sda1 is 26.2G.
What is your doubt?

I believe the question is about the discrepancy re. sda2.

Last edited by cfr (2022-11-17 16:33:10)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2022-11-17 16:51:08

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: "lsblk" displays different size of partition than "fdisk -l"

cfr wrote:
d.ALT wrote:

sda1 is 26.2G.
What is your doubt?

I believe the question is about the discrepancy re. sda2.

I see.

Well... Extended Partition is merely a "container", not an actual partition; thus its size is not a real thing.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB