1

I have a disk that is 100% used, 400 GB of 400 GB, however I have moved more than 44 GB of files from it, but no extra space got available, the usage is still 400GB of 400GB.

Filesystem Size Used Avail Use% Mounted on /dev/mapper/system-root 49G 5.1G 41G 12% / udev 32G 192K 32G 1% /dev tmpfs 32G 148K 32G 1% /dev/shm /dev/sda3 158M 37M 114M 25% /boot /dev/mapper/vg00-lv_hana_backups 500G 471G 30G 95% /backup /dev/mapper/vg00-lv_B1H 200G 78G 123G 39% /hana/SAPBusinessOne /dev/mapper/vg00-lv_hana_data 400G 19G 382G 5% /hana/data /dev/mapper/vg00-lv_hana_log 400G 400G 280K 100% /hana/log /dev/mapper/vg00-lv_hana_shared 200G 35G 166G 18% /hana/shared /dev/mapper/vg00-lv_usr_sap 200G 45G 156G 23% /usr/sap //10.1.1.201/HANABackups 1.9T 698G 1.2T 38% /windbackup/HANABackup comapny-sap:/hana/log # du -h 1.3G ./mnt00001/hdb00001 794M ./mnt00001/hdb00003 286G ./mnt00001/hdb00004 288G ./mnt00001 288G . 

As it can be seen from lsof, there are no files still being held open by processes>

lsof -n | grep '(deleted)' nautilus 6184 root 31r REG 253,0 752 1753275 /root/.local/share/gvfs-metadata/home (deleted) nautilus 6184 root 32r REG 253,0 32768 1753307 /root/.local/share/gvfs-metadata/home-bc638f00.log (deleted) shutdown 111517 root 0u CHR 136,0 0t0 3 /dev/pts/0 (deleted) shutdown 111517 root 1u CHR 136,0 0t0 3 /dev/pts/0 (deleted) shutdown 111517 root 2u CHR 136,0 0t0 3 /dev/pts/0 (deleted) 

I have also tried copying 44 GB of files of that partition and than I could not copy any of the files from that 44 GB back, not even one 1 GB file?

10
  • 5
    If you are talking about the line - /dev/mapper/vg00-lv_hana_log 400G 400G 280K 100% /hana/log, you have 280 kilobytes available not gigabytes. Commented Jan 19, 2018 at 12:31
  • The problem is that du is reporting only 288 GB used, while df is reporting 400 GB used. Also when I remove files no space gets available and I can not put anything on that drive no matter that I moved more than 44 GB of data from it. Commented Jan 20, 2018 at 0:06
  • Your question is a different problem, and not a dupe in my opinion. But the problem as you say, is mystical - if there is 400gb allocated in an fs, and you delete 40gb, then 360gb will remain. The few exceptions are very rare (for example, hard links) and nearly surely don't happen in your case. Commented Jan 20, 2018 at 4:10
  • Did you, by any chance, run du before and after deleting all those files? (What were the results?) Commented Jan 20, 2018 at 5:31
  • @g-man yes I did and as I said du is reporting the size correctly, by that I mean reported size did shrink, however df size never goes down. Just a note the files are transaction logs for HANA database and they are about 1 GB in size. I thought at first HANA is keeping them opened but as you saw lsof is not reporting anything? Commented Jan 20, 2018 at 7:30

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.