You are not logged in.
Pages: 1
I opened my pc and this is what i found after running df -h
Filesystem Size Used Avail Use% Mounted on
dev 3.8G 0 3.8G 0% /dev
run 3.8G 1.7M 3.8G 1% /run
/dev/nvme0n1p2 20G 19G 0 100% /
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 3.8G 16K 3.8G 1% /tmp
/dev/nvme0n1p1 510M 80M 431M 16% /boot
/dev/mapper/ainstnvme0n1p3 449G 106G 321G 25% /home
tmpfs 768M 72K 768M 1% /run/user/1000how can i make all of the files go to the partition that has more space instead of the full partition?
I need help bc i am new here and a big linux newb
Moderator edit, added code tags so I could read the output
Last edited by Jetson (2022-11-20 04:21:20)
Offline
For starters, get a little headroom and clear your pacman cache (not something I generally recommend)
Then, mount a volume with some space at /var/cache.
Were it my system, I would probably find a way to arrange for a larger root partition.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
You can't make files go to different partitions. You can resize partitions, and / or reoganize your partitioning scheme. But either of those would be jumping before looking. First, what's taking up all the space and is all of that supposed to be there as is described in several related previous threads.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
All good suggestions. It is mentioned in the thread Trilby linked, but ncdu is a good way to quickly scan your filesystem. Just be careful with it particularly if invoking as root.
Offline
If You have a swapfile on root partition You can just move it to some other partition. Just a thought.
Newbie
Offline
As you have plenty of space in your /home, you can move the content of /var/cache/pacman/pkg to a folder in ~. Then you can bind mount this folder to /var/cache/pacman/pkg.
Offline
ok i have read what you guys wrote but i was thinking of resizing the partition by taking some space by the big partition. how do i do that?
Offline
just deleted the mingw compiler i had downloaded months ago and now everything works
Offline
Pages: 1