You are not logged in.
Oh I see, so you're saying that if root is gone (because it's a virtual drive and it's connected) home is also deleted.
No. I'm saying that deleting the partition is eithr gonna be pointless or harmful.
I guess I just need to increase the size of /root
Did you check where you're wasting the space on the partition?
Online
You suggested I delete the cache, I did, but it made no difference. Other than that I gave all the space to /home
Offline
No, I suggested to use ncdu to see where you're spending how much disk space.
Online
Yes, I checked using ncdu, I reported the result. Only 1.5 GB is used in the cache part, the rest is much less. You also mentioned the cache part in this way and provided a link. So I deleted the caches.
Offline
sigh…
df -h
sudo du -hx /
Online
I know it's gone on too long, so I'm cautious. The output, like I said:
dh -h:
Filesystem Size Used Avail Use% Mounted on
dev 7.8G 0 7.8G 0% /dev
run 7.8G 1.3M 7.8G 1% /run
efivarfs 128K 70K 54K 57% /sys/firmware/efi/efivars
/dev/mapper/volgroup0-lv_root 30G 12G 16G 43% /
tmpfs 7.8G 1.2M 7.8G 1% /dev/shm
tmpfs 7.8G 40M 7.8G 1% /tmp
/dev/mapper/volgroup0-lv_home 199G 4.2G 184G 3% /home
tmpfs 1.6G 64K 1.6G 1% /run/user/1000
sudo du -hx / output is long and does not fit in the terminal. Should I curl it? They are all either kilobytes or megabytes and I think I need to find the GB one. Not in order, unfortunately.
Offline
# du -hxd 1 /
Find the biggest directories then for example if it was /var and /usr
# du -hxd 1 /var /usr
Repeat as needed if you want to dig deeper.
Offline
It's actually not really required…
@jojo06, you're using 12G on the root partition, what's not unreasonable. You also have 16G spare. Why do you think you need to grow the partition?
Online
@seth That's why; I set it up as 30 GB, a few GB went to installation and it first came as 18-20 GB. Now it's down to 16GB. It will continue to decrease even more. Also, wouldn't it cause performance issues?
Besides, I want to do a setup like this: a completely separate /home partitions with all installations and settings. So all the files will be like on a flash drive. Even if something happens to the system or the computer, the files will come back when /home is mounted again.
I want the opposite of the current setup. A 50 GB system files partition (maybe 30), all the rest of the space in /home. But it will use the space in /home and not in /root. Right now I'm stuck with 16 GB, 185 GB is free.
Also, I need a clean install, remember? myself, I have to install it manually. I've just finished the projects I have, I haven't even looked at the systemctl issues yet. If I start a thread, you know the answer is obvious. "You don't use Arch." Because of all this.
Offline
I want to do a setup like this: a completely separate /home partitions with all installations and settings.
That is not a thing. You install into /usr (mostly), not /home
So all the files will be like on a flash drive
Speaking of performance issues. Also flash drives are NOT cheap SSDs and will die fast if you treat them like such.
If you want to install the system on a removable drive, see https://wiki.archlinux.org/title/Instal … ble_medium
But that's frankly seldom a good idea.
Online
There was a translation error. What I want to do is to create a separate /home and keep all my files (everything except system files) there. By flash drive (USB) I mean the /home partition itself. So the /home mount system will bring back all my files. If anything goes wrong with the Arch or the system, like deleting or reinstalling /root, I can mount the /home system and recover the system.
Offline
That's the status quo of your system.
Online