You are not logged in.

#1 2020-01-26 14:38:48

rcl
Member
Registered: 2020-01-26
Posts: 2

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

I am currently running Arch on a VM, but i ran out of environment (Not my first time using arch but i'm not experienced at all tongue)
So i extended the partition using parted, it went from 10G to 29G

"print" on parted returns:

Number  Start   End     Size    Type     File system     Flags
2      1049kB  8591MB  8590MB  primary  linux-swap(v1)
1      8591MB  37.6GB  29.0GB  primary  ext4

Yet dolphin and df list /dev/sda1 as a 9.8G partition

Am i forgetting something?

Offline

#2 2020-01-26 14:39:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

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

rcl wrote:

Am i forgetting something?

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

resize2fs /dev/sda1

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2020-01-26 14:47:56

rcl
Member
Registered: 2020-01-26
Posts: 2

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

Slithery wrote:

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

resize2fs /dev/sda1

Ah, sorry! Thank you!

Also, for anyone else who's doing the same and ran into the problems i did

make sure to reformat the swap
(mkswap /dev/yourswappart)

Offline

#4 2020-01-26 14:56:52

zaxmyth
Member
From: Seattle / San Francisco
Registered: 2019-03-25
Posts: 25
Website

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

Did you also resize the swap partition? I'm not sure why you'd need to mkswap otherwise. Resizing a filesystem and running mkswap on a partition don't seem related the way you described them.

Last edited by zaxmyth (2020-01-26 14:58:06)

Offline

Board footer

Powered by FluxBB