CMK version: Enterprise 2.2.0p25
OS version: Debian 11.9
Hi,
we are running Checkmk on a physical server with Debian 11.9. During installation the partitions/file systems were automatically created with those sizes:
administrator@server:~$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 279,4G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 23,3G 0 part /
├─sda3 8:3 0 9,3G 0 part /var
├─sda4 8:4 0 977M 0 part [SWAP]
├─sda5 8:5 0 1,9G 0 part /tmp
└─sda6 8:6 0 243,5G 0 part /home
This is the current usage of the filesystems:
administrator@server:~$ df -BG
Dateisystem 1G-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
udev 126G 0G 126G 0% /dev
tmpfs 26G 1G 26G 1% /run
/dev/sda2 23G 19G 4G 84% /
tmpfs 126G 0G 126G 0% /dev/shm
tmpfs 1G 0G 1G 0% /run/lock
/dev/sda1 1G 1G 1G 2% /boot/efi
/dev/sda6 239G 1G 227G 1% /home
/dev/sda5 2G 1G 2G 1% /tmp
/dev/sda3 10G 2G 7G 21% /var
tmpfs 126G 1G 126G 1% /opt/omd/sites/sitename/tmp
tmpfs 26G 0G 26G 0% /run/user/1000
We now have the problem, that /dev/sda2 is running low on diskspace. /dev/sda6 on the other hand has plenty of free space left.
I know it is more or less a generic Linux question, but is there an easy way to decrease /dev/sda6 by e.g. 20GB and increase /dev/sda2 by 20GB?
Best regards,
UT2019