You are not logged in.
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
-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
Post the output of
df -h
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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 , however /dev/sda1 should have 50G, according to how I partitioned my hard drive. Where did all the rest go?
Offline
Maybe you didn't partition it as such
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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)
Offline
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