You are not logged in.

#1 2025-01-24 17:18:49

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Partition / too full

Hello everyone. I may considered as a newbie in Arch. And I'm having a problem after a little time since installation.

:: Proceed with installation? [Y/n] y
error: Partition / too full: 305096 blocks needed, 19562 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.

Whenever I try to install something with pacman or paru, I get this line of error, though my disk is really empty.

 ❯ lsblk
NAME                  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                     8:0    0 931.5G  0 disk 
├─sda1                  8:1    0     1G  0 part /boot
└─sda2                  8:2    0 930.5G  0 part 
  ├─ArchinstallVg-root
  │                   254:0    0    20G  0 lvm  /
  └─ArchinstallVg-home
                      254:1    0 910.3G  0 lvm  /home
zram0                 253:0    0   3.8G  0 disk [SWAP]

This is what I get after lsblk. How can I increase root logical volume? Anybody help please?

Offline

#2 2025-01-24 17:51:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,179

Re: Partition / too full

I'll never understand why Archinstall defaults to 20GB root vol, that's not going to be enough on the vast majority of systems.

Also these commands don't show you FS usage, try a

df -h
btrfs df / #if using btrfs

But well as you've noticed, you'll need to read the wiki anyway despite the shortcut, luckily lvm makes this relatively painless: https://wiki.archlinux.org/title/LVM#Re … _in_one_go -- don't copy paste commands blindly, read the section and understand what you're doing and what your general setup is

Also get used to cleaning your pacman cache:  https://wiki.archlinux.org/title/Pacman … kage_cache

Last edited by V1del (2025-01-24 17:56:10)

Offline

#3 2025-01-24 17:55:19

cryptearth
Member
Registered: 2024-02-03
Posts: 2,131

Re: Partition / too full

yet another reason why newcomers should avoid archinstall and go by the guide - this really should be stressed more when executing archinstall - like "this is not intented for newcomers" or something like this - or some complicated param like "--i-really-know-what-i-am-doing"

Offline

#4 2025-01-24 17:59:52

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,451

Re: Partition / too full

You can check this yourself by using 'stat /' and see the block size reported; it's almost always 4096. Then pass this number into 'df -B 4096' to see your available blocks. In your case, that is less than the 305096 blocks pacman needs.

You can free up space by deleting older package versions using paccache.

Offline

#5 2025-01-24 18:03:13

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Re: Partition / too full

Thank you! Clearing archive really helped! And, I want to resize logical volumes but I get this:

❯ sudo lvresize -L -10G --resizefs ArchinstallVg/home
  File system ext4 found on ArchinstallVg/home mounted at /home.
  File system size (<910.26 GiB) is larger than the requested size (<900.26 GiB).
  File system reduce is required using resize2fs.
  File system unmount is needed for reduce.
  File system fsck will be run before reduce.
Continue with ext4 file system reduce steps: unmount, fsck, resize2fs? [y/n]:y
  Reducing file system ext4 to <900.26 GiB (966644465664 bytes) on ArchinstallVg/home...
unmount /home
umount: /home: target is busy.
unmount failed
  Failed to reduce file system with lvresize_fs_helper.

I think it's because I'm on my Arch, right? should I use live or something to resize my home volume? With which live distros I can do it?

Offline

#6 2025-01-24 18:21:12

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,451

Re: Partition / too full

Before you jump into resizing partitions: you have a full backup, right? First be prepared for your disks to be completely borked; having to reinstall and restore your data files from backup and then you're good to tinker with lvm resizing.

Offline

#7 2025-01-24 23:28:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,179

Re: Partition / too full

LVM resizing should generally be quite safe I'd assume. But yes backups are always important. You should be able to use nearly any live disk, a recent Arch Live USB will do fine.

Offline

#8 2025-01-29 14:11:32

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Re: Partition / too full

Sorry for late answer. It worked. Thanks. But I have another problem now. I can't even access to my arch properly, and I have to write from my android, but I can't post anything at main page. How can I post a forum in main page y'know? Thanks for the help. Love all Arch users.

Offline

#9 2025-01-29 14:25:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,179

Re: Partition / too full

What? That sentence makes no sense. Are you asking how to access the forums from mobile?

Offline

#10 2025-01-29 14:27:34

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Re: Partition / too full

Ah, I'm sorry. My mother language is not English. I'm trying to say I can see the posts from my mobile phone, but when I try to find posting button, I can't find. I don't know how can I post a forum. Sorry for not being understandable.

Offline

#11 2025-01-29 14:34:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,179

Re: Partition / too full

Did you forget to log in on Android? everything else is generally at the same spot as on the desktop version, just relevantly smaller.

Offline

#12 2025-01-29 14:38:48

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Re: Partition / too full

I did, I'm writing into this post with my mobile phone. But in main page, I can't find that button. I'd take screenshoot and share it with you, but I don't know how ??

I'm sorry for being so much ignorant in Arch and Arch forums.

Offline

#13 2025-01-29 14:41:06

MrEquin
Member
Registered: 2025-01-24
Posts: 8

Re: Partition / too full

I found!!
I was trying to find it in main page, but I found it in any category. Thanks anyway.

Offline

Board footer

Powered by FluxBB