You are not logged in.

#1 2024-04-06 23:46:00

pescio75
Member
From: Roseto degli Abruzzi - Italy
Registered: 2024-04-06
Posts: 27

[SOLVED] Help with modifying partitions

I don't do this very often so I am unsure on the best approach for this kind of thing.

[alex@marale ~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 238.5G  0 disk
├─sda1   8:1    0   512M  0 part /boot
├─sda2   8:2    0    20G  0 part /
└─sda3   8:3    0   218G  0 part /home
zram0  254:0    0   3.8G  0 disk [SWAP]

the sda2 (20G root) is full and I'd like to do something but I don't know how.
Can anyone help me?
thank you

Last edited by pescio75 (2024-04-09 20:31:19)

Offline

#2 2024-04-08 08:11:55

Sandrino
Member
Registered: 2021-09-24
Posts: 45

Re: [SOLVED] Help with modifying partitions

I'd try to backup home data then remove sda3.
Extend sda2.
Create sda3.
Edit fstab and restore home data from its backup.

Offline

#3 2024-04-08 08:21:43

seth
Member
Registered: 2012-09-03
Posts: 52,545

Re: [SOLVED] Help with modifying partitions

the sda2 (20G root) is full

https://archlinux.org/packages/extra/x86_64/ncdu/

pacman -Scc

Offline

#4 2024-04-08 09:14:46

pescio75
Member
From: Roseto degli Abruzzi - Italy
Registered: 2024-04-06
Posts: 27

Re: [SOLVED] Help with modifying partitions

ok thanks for the help, I'll try

Offline

#5 2024-04-09 20:30:18

pescio75
Member
From: Roseto degli Abruzzi - Italy
Registered: 2024-04-06
Posts: 27

Re: [SOLVED] Help with modifying partitions

seth wrote:

the sda2 (20G root) is full

https://archlinux.org/packages/extra/x86_64/ncdu/

pacman -Scc

so do you think it is enough to clear the cache?
thanks

Offline

#6 2024-04-09 20:35:16

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 217

Re: [SOLVED] Help with modifying partitions

How mouch space is occupied by systemd journal log files?

#   journalctl --disk-usage

Consider how much history do you need and make appropriate changes.

Offline

#7 2024-04-09 20:35:25

seth
Member
Registered: 2012-09-03
Posts: 52,545

Re: [SOLVED] Help with modifying partitions

Idk whether it's enough in your case, but it's a frequent source of full disks - ncdu will tell you where all the space is used.

Offline

#8 2024-04-11 05:38:46

pescio75
Member
From: Roseto degli Abruzzi - Italy
Registered: 2024-04-06
Posts: 27

Re: [SOLVED] Help with modifying partitions

Fixxer wrote:

How mouch space is occupied by systemd journal log files?

#   journalctl --disk-usage

Consider how much history do you need and make appropriate changes.

[alex@marale ~]$ journalctl --disk-usage
Archived and active journals take up 438.8M in the file system.

I have two kernel (zen+lts), Chromium, Firefox, Gimp,....
Is it so important to have a cache with a long history?

Last edited by pescio75 (2024-04-11 05:51:34)

Offline

#9 2024-04-11 05:53:01

pescio75
Member
From: Roseto degli Abruzzi - Italy
Registered: 2024-04-06
Posts: 27

Re: [SOLVED] Help with modifying partitions

seth wrote:

Idk whether it's enough in your case, but it's a frequent source of full disks - ncdu will tell you where all the space is used.

Thank you

Offline

#10 2024-04-11 06:17:00

seth
Member
Registered: 2012-09-03
Posts: 52,545

Re: [SOLVED] Help with modifying partitions

A cache is a cache, it msotly prevents you from having to (slowly) re-generate or re-fetch data again.
If you don't intend to use cached data ever again, you don't require it to be cached.
-Sc will only remove old packages, -Scc all from the cache and there're user who relocate the pacman cache into a tmpfs (what means its gone w/ a reboot) because in reality, thanks to the ALA, a local package cache is only really required during the update process.

Offline

Board footer

Powered by FluxBB