Questions tagged [du]

72 questions
0
votes
4 answers

Linux du and rsync 100% disk utilization

Whenever I run du -sh or rsync I get my disk utilisation at 100%. This causes mysql slow queries to appear, which usually causes my site going down. Any tips or tricks running these to commands somehow, so the priority for disk access stays with…
Katafalkas
  • 523
  • 2
  • 8
  • 20
0
votes
0 answers

Centos 7.4, dev/vda1 is 100%

My VPS on DO now has an issue of dev/vda1 is 100% since around 3 months ago, at that time, I did poweroff & reboot then disk spaced freed. But the thing rans into some bigger issue since 1 week ago, poweroff & reboot could not release free space any…
Phong Thai
  • 21
  • 1
  • 5
0
votes
2 answers

df -h shows / is 100% but du -sh * is not showing where the utulization is

OS: Oracle Linux 7.5 df -h keeps showing that / is 100% full but searching on / with du -sh * is not showing where that utilization could possibly be, any help and suggestions will be appreciated. I also can't install lsof coz of the space…
0
votes
1 answer

Find what is using disk space in CentOS 7 (du vs df vs lsof)

I have a server, CentOS 7, that show disk usage on DF way higher than you can see on DU and I trying to understand why DF shows 38GB used DU shows 14GB There is no mount point on any folder Checking LSOF for deleted files, there are couple, but…
kordhaldrum
  • 23
  • 1
  • 6
0
votes
1 answer

df shows low disk space. It includes a directory which uses mount --bind for chroot sftp

I've setup a chroot environment for sftp access (sftp only, no shell). The sftp user needs rw access to a host directory. I mounted it via /etc/fstab /var/www/html /home/sftp-user/jail/html none bind 0 0 When I do df -h I get the…
RafaelKr
  • 101
  • 4
0
votes
2 answers

Disk usage in LVM: Which directories contains most data?

We have following volumes: $ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs …
robsch
  • 147
  • 9
-1
votes
1 answer

Cent OS 7.2 Disk (df -h) 100% full but directory size (du -sch /* ) not

[root@CentOS-72-64-minimal ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 204G 202G 0 100% / devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 1.6G 14G …
user231410
  • 29
  • 4
-1
votes
4 answers

How to differentiate file & directory in the output of du -sh

The output of du -sh * | sort -h lists all the files and directories in sorted order based on size. But the problem is; the output doesn't differentiate the directories from files. For example: 15K file1backup 16K Desktop Is there any option to du…
bprasanna
  • 99
  • 3
-1
votes
1 answer

How to find the missing inodes?

df -i reports Filesystem Inodes IUsed IFree IUse% Mounted on /dev/simfs 300000 250697 49303 84% / so around 250K inodes in use. du -shx --inodes / reports 70K to be sure no inodes was hidden behind mounts, i tested mkdir /mnt/test/ mount…
Puggan Se
  • 250
  • 1
  • 2
  • 13
-1
votes
1 answer

Why du -sh * tells me sys has 0 size?

I use du -sh * to find out the size of folders, but the sys folder is giving me 0, and the same about any folder inside sys. find . | wc -l gives me 11k files. Do you know why and can you suggest a workaround? thanks
AMDP
  • 119
  • 6
-1
votes
1 answer

Inconsistency between "du -sh" and "df -h"

Possible Duplicate: du vs. df difference I am running a server with Debian stable. If I call: df -h this is the result I get: Filesystem Size Used Avail Use% Mounted on /dev/mapper/my-var 2.8G 2.3G 358M 87% /var While if I…
-2
votes
2 answers

df showing 28G of total space, du showing size of '/' as 400+ G

I constantly get the unable to write to * error, even though I cleaned up a bunch of space. df thinks my disk is 28G in size and 100% full after I deleted a lot of unused files: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 …
Goro
  • 664
  • 3
  • 9
  • 18
1 2 3 4
5