when I installed debian 12.7 I created a separated /var directory, along other 2 separated directories (names forgotten).

I also use flatpak and this program is installed in this directory. Executing ‘flatpack update’ I discovered this directory is 95% full, meaning I cannot update anything, because /var is 95% full (only 400 MiB free)

Ideas to solve this?

  • ramius345@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    If /var is on an LVM backed partition you can add more space to the logical volume then grow the filesystem online if /var is on a filesystem that supports it. Ext4 and xfs both support it.

    Btrfs and zfs should also support online resizing if you are using these. You can figure out what you have using the lsblk command.

    Edit: you will need to add an additional disk to the system or have unallocated free space. If it’s a vm in something like proxmox or VMware you can add an additional disk to the VM then use LVM/btrfs/zfs to add a physical volume/add more space to a pool. If it’s a bare metal physical machine you’ll have to plug in a new disk through a mechanism that supports hot swapping.