You are not logged in.

#1 Yesterday 20:00:52

chris_sugden
Member
Registered: 2018-02-23
Posts: 9

40GB Root Partition has 2.3GB Free. Steal From The Next Partition?

pacman -Syu fails with:
error: Partition / too full: 1276293 blocks needed, 596310 blocks free
error: not enough free disk space

lsblk shows this:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda         8:0    0 931.5G  0 disk
├─sda1   8:1    0    512M  0 part /boot
├─sda2   8:2    0   40.8G  0 part /
└─sda4   8:4    0 890.3G  0 part /home

My downloaded packages are sent to ~/pkgcache, and emptying that folder did not help.

If 40GB is not enough for a root partition, can I just use parted?

Parted's print:

Number  Start   End     Size    File system  Name         Flags
1      1049kB  538MB   537MB   fat32                     boot, esp
2      538MB   44.3GB  43.8GB  ext4
4      44.3GB  1000GB  956GB   ext4         Linux /home  linux-home


I would shrink the ext4 home partition, sda4, and move the now-available space to sda2.

SDA4 has over 300GB available.  If stealing from it is the way to go, how much to take?

If 40GB should be enough space for a root partition - especially since pacman's packages don't land there - any suggestions on a likely spot to find files filling it up?

Offline

#2 Yesterday 20:28:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,058

Re: 40GB Root Partition has 2.3GB Free. Steal From The Next Partition?

If 40GB should be enough space for a root partition - especially since pacman's packages don't land there - any suggestions on a likely spot to find files filling it up?

https://archlinux.org/packages/extra/x86_64/ncdu/

Online

Board footer

Powered by FluxBB