I’m a dev working with docker. I made a stupid mistake building an image with a big database dump not ignore by dockerignore file. This result of 20g x 10 container make me out of available space. The second mistake, is i reboot after this.
So my filesystem wont reboot due to no more available space.
In rescue mode, i check.
root@recovery:/mnt/olddisk# lvdisplay
--- Logical volume ---
LV Path /dev/osvg/swap
LV Name swap
VG Name osvg
LV UUID gOiR1A-jN7h-XsTy-WiaN-tdwj-Rh4c-aAilWx
LV Write Access read/write
LV Creation host, time pop-os, 2024-03-06 21:48:30 +0000
LV Status available
# open 0
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0
--- Logical volume ---
LV Path /dev/osvg/root
LV Name root
VG Name osvg
LV UUID eSnfef-52O5-sy2C-zERF-0nc6-YMTY-y4gIzx
LV Write Access read/write
LV Creation host, time pop-os, 2024-03-06 21:48:54 +0000
LV Status available
# open 1
LV Size <463.94 GiB
Current LE 118768
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:1
root@recovery:/mnt/olddisk# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.9G 2.7M 3.9G 1% /run
efivarfs 260K 82K 174K 32% /sys/firmware/efi/efivars
/dev/nvme0n1p2 4.0G 2.5G 1.6G 62% /cdrom
/cow 20G 347M 20G 2% /
tmpfs 20G 0 20G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 20G 756K 20G 1% /tmp
tmpfs 3.9G 1.7M 3.9G 1% /run/user/999
/dev/mapper/osvg-root 456G 442G 0 100% /mnt/olddisk
root@recovery:/mnt/olddisk# pvdisplay
--- Physical volume ---
PV Name /dev/nvme0n1p3
VG Name osvg
PV Size <471.94 GiB / not usable 0
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 120816
Free PE 0
Allocated PE 120816
PV UUID ckCCU4-4B5w-R4A5-hCjn-XzYv-ZF5W-vy8f1x
root@recovery:/mnt/olddisk# lvscan -a
ACTIVE '/dev/osvg/swap' [8.00 GiB] inherit
ACTIVE '/dev/osvg/root' [<463.94 GiB] inherit
I try to delete some file and folder for making free space. but still 100% usage.
If someone has any idea, i don’t want to reset all my system. I’v try :
delete some file
e2fsck
fsck
resize2fs