You are not logged in.

#1 2015-11-15 16:08:27

dkl
Member
Registered: 2015-11-15
Posts: 8

[SOLVED] Pacman (wrongly) detects full partition

Hi everyone,

Trying to install a package with pacman, the following error message was printed:

error: Partition / too full: 16755 blocks needed, 4096 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

However, the output of df -i shows there should be enough space available:

Filesystem      Inodes  IUsed   IFree IUse% Mounted on
dev             217551    364  217187    1% /dev
run             218660    437  218223    1% /run
/dev/sda1       598016 301936  296080   51% /
tmpfs           218660      5  218655    1% /dev/shm
tmpfs           218660     11  218649    1% /sys/fs/cgroup
tmpfs           218660     30  218630    1% /tmp
/dev/sda3      3792896  19778 3773118    1% /home
tmpfs           218660     18  218642    1% /run/user/1000

I don't even know if this error is pacman-related, since I am a new Arch Linux user, I might just have screwed up the partitioning (even though, as far as I can tell, the output of df -i looks alright).

Thanks in advance for any help.

Last edited by dkl (2015-11-15 17:37:43)

Offline

#2 2015-11-15 16:13:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,904
Website

Re: [SOLVED] Pacman (wrongly) detects full partition

-i shows inode usage, not block usage. Omit it to get block usage.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-11-15 16:14:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [SOLVED] Pacman (wrongly) detects full partition

Post the output of

df -h

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2015-11-15 16:45:37

dkl
Member
Registered: 2015-11-15
Posts: 8

Re: [SOLVED] Pacman (wrongly) detects full partition

Thanks for the replies, the output of df -h is

Filesystem      Size  Used Avail Use% Mounted on
dev             1.3G     0  1.3G   0% /dev
run             1.3G  792K  1.3G   1% /run
/dev/sda1       8.9G  8.9G     0 100% /
tmpfs           1.3G  1.7M  1.3G   1% /dev/shm
tmpfs           1.3G     0  1.3G   0% /sys/fs/cgroup
tmpfs           1.3G   16K  1.3G   1% /tmp
/dev/sda3        57G  6.2G   48G  12% /home
tmpfs           252M   16K  252M   1% /run/user/1000

I guess this explains the error message smile, however /dev/sda1 should have 50G, according to how I partitioned my hard drive. Where did all the rest go?

Offline

#5 2015-11-15 16:50:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [SOLVED] Pacman (wrongly) detects full partition

Maybe you didn't partition it as such tongue


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2015-11-15 16:56:52

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [SOLVED] Pacman (wrongly) detects full partition

dkl wrote:

however /dev/sda1 should have 50G, according to how I partitioned my hard drive. Where did all the rest go?

According to this output, the file system on /dev/sda1 has 8.9GB. Is it possible that you have once resized the partition, but not the filesystem?
If yes, you might want to have a look into resize2fs.

[EDIT] And just to be sure that your partition really has a size of 50GB, can you post the output of this?

lsblk

Last edited by ayekat (2015-11-15 17:06:08)


pkgshackscfgblag

Offline

#7 2015-11-15 17:36:05

dkl
Member
Registered: 2015-11-15
Posts: 8

Re: [SOLVED] Pacman (wrongly) detects full partition

Resizing the filesystem solved the problem, thank you very much!

(just for the record, the output of lsblk is)

sda      8:0    0 111.8G  0 disk 
|-sda1   8:1    0    50G  0 part /
|-sda2   8:2    0     4G  0 part [SWAP]
`-sda3   8:3    0  57.8G  0 part /home
sr0     11:0    1  1024M  0 rom  

Offline

Board footer

Powered by FluxBB