You are not logged in.
howdy. basically i have my / and /home on 2 different partitions (i think / was supposed to be my swap). the issue is im basically out of storage. is it possible to merge my sda2 and sda3 partitions so i can just use the entirety of the ssd storage without having to do a fresh install? or did i goof when partitioning my drives on installation?
Offline
Using an extra partition for /home is rather common.
lsblk -f
findmnt /homeOffline
Using an extra partition for /home is rather common.
lsblk -f findmnt /home
but my / partition is at 99%
❯ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 21G 20G 359M 99% /
devtmpfs 4.2M 0 4.2M 0% /dev
tmpfs 6.0G 30M 6.0G 1% /dev/shm
tmpfs 2.4G 10M 2.4G 1% /run
tmpfs 6.0G 3.4M 6.0G 1% /tmp
/dev/sda1 207M 82M 125M 40% /boot
/dev/sda3 230G 47G 172G 22% /home
tmpfs 1.2G 66k 1.2G 1% /run/user/1000
~Offline
du -hs /var/cacheOffline
du -hs /var/cache
here you go
❯ sudo du -hs /var/cache
4.7G /var/cacheOffline
Well, there're 4.7GB for you to free
sudo pacman -Sccwill remove all pacman package caches…
Offline
I'd be tempted to write an FAQ on this topic ... but I know no one would read it before posting.
tokisuno, there are a rather obscene number of threads on these forums about people (thinking they are) running out of space. Before you start repartitioning (or worse yet reinstalling) find some of those threads and follow the diagnostics to identify if you really do need more space or if you just need to fix some underlying problem that's inappropriately eating up any available space.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'd be tempted to write an FAQ on this topic ... but I know no one would read it before posting.
tokisuno, there are a rather obscene number of threads on these forums about people (thinking they are) running out of space. Before you start repartitioning (or worse yet reinstalling) find some of those threads and follow the diagnostics to identify if you really do need more space or if you just need to fix some underlying problem that's inappropriately eating up any available space.
but I know no one would read it before posting.
i wrote this because there isn't an faq post. i didn't check other topics on this, and that's my bad. but saying you wouldn't write an faq forum because no one would read it, but also say that there are a lot of threads on this (that i didn't look for because noob), then there's clearly a demand for it.
what's easier: leading someone to an FAQ, or answering a question you've already answered 100 times?
but i do think it would make my life easier to have both in the same partition, but that could just be because im running on a single ssd laptop and my brain is still windows-pilled in some senses.
Offline
Did you successfully free enough space on the root partition?
"Merging" partitions isn't a thing - you'd first have to repartition, moving sda3 to the right, expand sda2, move everything from sda3 to sda2 delete sda3 and expand sda2 to fill the rest.
Idk whether eg. gparted abstracts that for you w/ a nice GUI, but trying to do this manually is usually a great way to mourn lost data.
Offline
Did you successfully free enough space on the root partition?
"Merging" partitions isn't a thing - you'd first have to repartition, moving sda3 to the right, expand sda2, move everything from sda3 to sda2 delete sda3 and expand sda2 to fill the rest.
Idk whether eg. gparted abstracts that for you w/ a nice GUI, but trying to do this manually is usually a great way to mourn lost data.
yea that makes sense. i don't keep sensitive files on here since everything i need backed up is synced with a syncthing server @ home.
and yes i did get more storage. tysm <3
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline