Sedang Disiapkan

check disk usage to find the difference on google cloud engine running centos

On google instance if we use du -f it shows disk is 88% full (44G out of 50G) But du -h shows only 16G is used. Where are the hidden files?

[root@iowa-backup-test-vm overlay2]# df -h

Filesystem Size Used Avail Use% Mounted on

devtmpfs 3.8G 0 3.8G 0% /dev

tmpfs 3.8G 0 3.8G 0% /dev/shm

tmpfs 3.8G 258M 3.6G 7% /run

tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup

/dev/sda2 50G 44G 6.1G 88% /

/dev/sda1 200M 7.3M 193M 4% /boot/efi

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/716ecaf611692260e0333be9f31781809886351a6c2f99265fd374bcdbab55e4/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/96f91145252d8174c7e4c5a4afc7dcea13fd362bdb6604bbedd902319d47a8c1/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/130b8ced4bf51839f8e54bd37de59550b79460b1ab351d986f4f867ce919d5fa/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/963641896f356fdbadee5ebd3da1abc4ab01de1c846e818e87973fdbf3b1bd88/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/4071d7e5f3b8c224a2d16e8064a5ef3f02bacb7c381505f42a7a636485d6c54c/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/1be0114f2280700b60186b2844f3bc1967c76df0d90cac6f135e96daad95b387/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/65cfb70a167a2ca9d78cb62021126a7aaf466b72a7c7ea05405fac1545f54b7d/merged

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/9a13d29701bb987f27bf4851a5a6baeaf333f1a508cdf3ae8010ab15620d2d29/merged

tmpfs 777M 0 777M 0% /run/user/1001

overlay 50G 44G 6.1G 88% /var/lib/docker/overlay2/d8af136e00c38092a95ca8378ae4be64c3459b5f5ef6ef8297e8385b20940abf/merged

If we use du -h we can only see 16G is used.

sudo du -h --max-depth=1 /

283M /boot

0 /dev

du: cannot access '/proc/1674604/task/1674604/fd/4': No such file or directory

du: cannot access '/proc/1674604/task/1674604/fdinfo/4': No such file or directory

du: cannot access '/proc/1674604/fd/3': No such file or directory

du: cannot access '/proc/1674604/fdinfo/3': No such file or directory

0 /proc

258M /run

0 /sys

25M /etc

36K /root

12G /var

2.9G /usr

740K /home

0 /media

0 /mnt

132M /opt

0 /srv

0 /tmp

8.0K /conf

16G /

Kemahiran: Linux, Ubuntu, Pentadbir Sistem, Debian, Apache

Tentang Klien:
( 42 ulasan ) Louisville, United States

ID Projek: #34345456

Dianugerahkan kepada:

wiredista

Seems like docker filesystems are messing up with the 'du' command. I have experience with docker, I can take a look for you and see if the space is actually being taken up or if it's just incorrect information being s Lagi

$20 USD / jam
(0 Ulasan)
0.0

13 pekerja bebas membida secara purata $22/jam untuk pekerjaan ini

(1473 Ulasan)
7.9
udayarpandey2022

Lets fix the disk issue. Ready to start now. Thank you

$25 USD / jam
(518 Ulasan)
7.2
ScareCrow01

Hello there, I am a system admin and I think I can help. Its an easyfix really. It happens all the time and just one command can fix this issue. :D Thank You

$15 USD / jam
(24 Ulasan)
4.6
FreeLinux23

Greetings! Nice to meet you. I read your job posting carefully. need to check fdisk . Please contact me Thanks.

$15 USD / jam
(26 Ulasan)
3.9
(5 Ulasan)
3.8
kushalghimire2

hey , the disk is being occupied by docker overlay i can quickly check this and help you fix it please message thanks hoping to hear from you

$20 USD / jam
(6 Ulasan)
2.9
ayesharifatmed

Hello There! This is Ayesha Siddiqua. Nice to meet with you. I am an M.B.B.S doctor. I have completed my graduation from North Bengal Medical College under Rajshahi University. A versatile and professional Web & Mobil Lagi

$25 USD / jam
(1 Ulasan)
2.0
GMS02

Hi, I can help you to find the exact reason for the mentioned issue. This issue may be related with the stuck process in the server and i have dealt such issues recently. Please ping me with the details so that I ca Lagi

$20 USD / jam
(2 Ulasan)
1.3
tariqahmed22

Hi, This may be because of the cache in the form of a bug that keeps the storage full.. Please share the details so that I can do your work to see the disk storage usage and empty the space where neccessary .. looking Lagi

$25 USD / jam
(0 Ulasan)
0.0
rashidamjad

Hi there, I have gone through your project details and would like to tell you that l have a great bunch of experience in Debian, System Admin, Apache, Ubuntu and Linux. For that I would require from your end to start a Lagi

$30 USD / jam
(0 Ulasan)
0.0
Martin55

Xexe. When you do du -h / he combine other used folders and make sum and you have not 6.1 , you have 16g df - report file system disk space usage DESCRIPTION This manual page documents the GNU version of df. Lagi

$20 USD / jam
(0 Ulasan)
0.0
zubairakbar02

Hi, you are not using the command correctly for checking all the files including hidden you have to use * at the end of du command. And I am a Linux Support Engineer working in Dublin and do freelancing as part time. Y Lagi

$25 USD / jam
(0 Ulasan)
0.0