You are not logged in.

#1 2020-03-18 09:56:23

wv5f7
Member
Registered: 2020-03-18
Posts: 2

[Solved] Wrong partition size after resizing

I have resized (enlarged) system partition with cfdisk while being logged in. Now lsblk and KDE partition manager see new partition size (53 GiB). Old size was 26.5 GiB. KDE partion manager reports correctly that 24.99 GiB is used, but "lsblk --fs" reports that 94% is used. PCManFM-Qt (I use LXQT) sees the old size, 26.5 GiB, and reports that only 97.3 MiB left available. I'm baffled.

Here is an illustrating screenshot.

Last edited by wv5f7 (2020-04-04 08:10:39)

Offline

#2 2020-03-18 10:34:34

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: [Solved] Wrong partition size after resizing

Resized /dev/sda1 but it's not updating for arch?

Slithery wrote:

You haven't resized the filesystem to use the new available space on the partition.

resize2fs /dev/sda3

--
saint_abroad

Offline

#3 2020-03-18 10:40:46

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Solved] Wrong partition size after resizing

I don't understand your screenshot so I don't fully understand what problem you have exactly.

I'm guessing you have only resized the partition, but you didn't resize the filesystem that's inside your partition. For ext4 filesystems the tool do resize it is named "resize2fs". You run resize2fs with just the device name on its command line and it will then enlarge the filesystem to fill your partition.

Offline

#4 2020-03-18 10:56:08

wv5f7
Member
Registered: 2020-03-18
Posts: 2

Re: [Solved] Wrong partition size after resizing

Thank you!

I've just did "resize2fs /dev/sda3" and it worked!

Offline

#5 2020-03-18 12:58:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,935

Re: [Solved] Wrong partition size after resizing

Great.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB