You are not logged in.
Pages: 1
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
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 btrfsBut 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
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
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
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
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
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
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
What? That sentence makes no sense. Are you asking how to access the forums from mobile?
Offline
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
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
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
I found!!
I was trying to find it in main page, but I found it in any category. Thanks anyway.
Offline
Pages: 1