This is my current setup:
Disk /dev/sda: 546.8 GiB, 587127480320 bytes, 1146733360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C89EF9D-3E76-4949-8989-AA8C05C3BF77
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 41947135 41943040 20G Linux swap
/dev/sda3 41947136 775950335 734003200 350G Linux filesystem
/dev/sda4 775950336 1146730495 370780160 176.8G Linux filesystem
lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1
├─sda2 swap 7624e18c-da83-45ac-aeae-9c0864209d7e [SWAP]
├─sda3 ext4 bf9be40b-0aca-4332-8070-820a5373ac6b /var
└─sda4 ext4 d06d9bbf-210b-4df2-8f05-d9a53ed43b3c /
sdb
└─sdb1 vfat USB DISK DEF8-5885
sr0
Filesystem Size Used Avail Use% Mounted on
udev 12G 0 12G 0% /dev
tmpfs 2.4G 1.3M 2.4G 1% /run
/dev/sda4 173G 59G 106G 36% /
tmpfs 12G 0 12G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 12G 0 12G 0% /sys/fs/cgroup
/dev/sda3 344G 56G 271G 17% /var
tmpfs 2.4G 0 2.4G 0% /run/user/1000
tmpfs 2.4G 0 2.4G 0% /run/user/1001
How can i move some disk space from /dev/sda3 into /dev/sda4? Is it possible?
I might need some extra space in / partition and the space allocated to /var is too much for my needs
lsblk -f/varto wherever/dev/sda4is mounted and then make/vara symlink pointing there. That will free up a lot of space. So if you explain what the end objective is here (e.g. "I want more space for root" or "more space for /home") and show us the mount points (the output ofdf -h) we might be able to give you a better solution.dfis a better tool to look at partition size, what is used and left.