Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2509

General Questions • Debian11 : du and df disagree !

$
0
0
Hello World!

On my debian 11, "df" command (Disk Free) and "du" command (Disk Usage) disagree !

Code:

df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.1M 1.6G 1% /run
/dev/mapper/vg-roolv 9.9G 2.5G 7.0G 27% /
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mapper/vg-varlv 110G 68G 37G 65% /var
/dev/mapper/vg-homlv 51G 20G 29G 41% /home
/dev/mapper/vg-liblv 11G 1.2G 9.3G 11% /var/lib
/dev/mapper/vg-loglv 16G 16G 0 100% /var/log
/dev/sda1 228M 101M 115M 47% /boot
...

/var/log/ (always the same...) appears to be full, however i've deleted a lot and have only 1.7Gb on the 16 Gb...

Code:

du -shc /var/*
4.0K /var/agentx
9.2M /var/backups
22G /var/BKP
92M /var/cache
1.2G /var/lib
4.0K /var/local
0 /var/lock
1.7G /var/log
16K /var/lost+found
...

The problem is that i can't updgrade/install anything !

How could it be possible ??

I've LVM available and two hard disks (40G and 200G) on this VM :

Code:

lsblk
sda 8:0 0 40G 0 disk
├─sda1 8:1 0 243M 0 part /boot
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 9.8G 0 part
├─vg-roolv 254:0 0 10G 0 lvm /
├─vg-homlv 254:1 0 51G 0 lvm /home
├─vg-varlv 254:2 0 111G 0 lvm /var
├─vg-liblv 254:3 0 11G 0 lvm /var/lib
├─vg-loglv 254:4 0 16G 0 lvm /var/log
└─vg-swplv 254:5 0 512M 0 lvm [SWAP]
sdb 8:16 0 200G 0 disk
└─sdb1 8:17 0 200G 0 part
├─vg-roolv 254:0 0 10G 0 lvm /
├─vg-homlv 254:1 0 51G 0 lvm /home
├─vg-varlv 254:2 0 111G 0 lvm /var
├─vg-liblv 254:3 0 11G 0 lvm /var/lib
└─vg-loglv 254:4 0 16G 0 lvm /var/log


Have you ever observed this "problem"?

Thanks In Advance to share.
Philippe

Statistics: Posted by 486DX2 — 2024-09-05 12:52 — Replies 1 — Views 48



Viewing all articles
Browse latest Browse all 2509

Trending Articles