Questions tagged [du]
72 questions
0
votes
2 answers
Disk usage (du) displays TB not MB
I have an issue while running du that it does not display the usage in units of Megabytes (as expected with -m switch) but TB:
$ du -mhs /mnt/b
2.0T /mnt/b
How can I get a more granular result?

sophros
- 111
- 1
- 4
0
votes
1 answer
DU shows fluctuating up then down totals during active rsync
I have 2 CentOS systems, one is rsyncing a ~411 gig directory to another.
On the receiving system, I typically run du -cs * |grep total;sleep 5 as a way to monitor the background rsync operation and make sure it is actually happening, since I don't…

Locane
- 429
- 1
- 8
- 20
0
votes
1 answer
Why hasn't disk usage decreased by 6,728k after hard linking a file away?
Given this sequence of commands…
$ pwd
/data/backup/rsnapshot
$ sudo du -csk daily.{2,3}/ruminant
1195040 daily.2/ruminant
36712 daily.3/ruminant
1231752 total
$ ls -isk /data/backup/rsnapshot/daily.3/ruminant/home/andy/vmunix \
…

grifferz
- 948
- 5
- 13
0
votes
0 answers
du and df show discrepant amounts of available disk space on my Linux server
I know that inodes aren't necessarily deallocated with certain removal/deletion methods that users/programs use. When inodes are still present and pointing to files that have been deleted, but two or more Linux utilities show a discrepancy with the…

Catbird55
- 163
- 1
- 1
- 6
0
votes
2 answers
What are the best ways to monitor and report disk usage on solaris?
df and du provides a total view of usage but the problem with these is that they are not broken down per user.
Is there a tool that does this? I found quot but that only works on ufs. Is there an equivalent for zfs or nfs?
To breakdown the usage, it…

user55570
- 458
- 6
- 18
0
votes
0 answers
df and du show different size and The size of the "/platform/sun4v/lib/sparcv9/libc_psr.so.1
The server is running on Sun Sparc T5220 machine with Solaris 10 installed. I've run into the disk space problem recently. Done many research but haven't found any solution so i hope can get some help here.
When i do df command, it shows the disk…

ChrisT
- 1
- 2
0
votes
1 answer
CentOS 6.5 DU and DF dont add up
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_bgsvn-lv_root 28G 26G 416M 99% /
tmpfs 495M 0 495M 0% /dev/shm
/dev/sda1 485M 54M 407M 12%…

cshenderson
- 11
- 3
0
votes
1 answer
Understanding du -sh command output
I have 1 TB of space.
I am trying to find disk usage of a folder.
du -sh command output
354M Arts
2.6M Digicams
308M Internet
391M Location
2.2G Media
110M Religion
4.8T Sports /*What is T how can it be Terabyte*/
df…

Wazzzy
- 147
- 1
- 6
0
votes
1 answer
df on 7.7GB shows 400MB available while du -sh / reports 3.8GB used
I believe df is reporting incorrect disk usage, as I have the following problem:
I deleted a few files to free up space, then run the following:
$ df -H
reports 7.7GB on Volume and 400MB available, however, running:
$ du -sh /
reports 3.8GB…

Robert
- 111
- 4
0
votes
1 answer
Does linux count s3fs mounts as local disk usage?
I have an s3 bucket mounted on an EC2 instance whose main disk is an EBS volume.
Whenever I run something like du -h /path/to/mount it tells me the size of the folders within those.
I'm wondering now if Linux is counting the space used in those…

FaCE
- 201
- 1
- 5
0
votes
1 answer
Maximixing performance for disk usage queries in linux using du -s or df while maintaining accuracy?
I'm running a script to find out the disk usage on a wide range range of VPS (size ranging from less than 1 GB of usage to over 200 GB of usage)... I'm trying to maintain performance (EG: no extra load on the VPS) while maintaining accuracy.
df is…

Bravo Delta
- 140
- 1
- 9
0
votes
0 answers
No disk space on / (Debian Jessie)
I have a problem with disk space on my dedicated server. I have no disk space available on partition /
root@server1:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 96G 96G 0 100% /
devtmpfs 63G 0 63G …

Terantish
- 9
- 1
0
votes
3 answers
Map linux folders by size
I have AWS linux instance, Currently there are many folders in the instance.
I would like to map all the folders and their size, so i could come back in 1 month and check which folder occupy high amount of storage (maybe the logging folder).
What…

ilansch
- 179
- 2
- 13
0
votes
1 answer
finding directories that consume a lot of the AFS volume quota
The AFS volume quota is almost exceeded for one of our computer users. Running fs listquota or fs lq gives him a warning:
olifri@ubuntu:~$ fs listquota ~
Volume Name Quota Used %Used Partition
H.olifri …

Erik Sjölund
- 2,115
- 5
- 22
- 27
0
votes
3 answers
Du tells me it can't find the current directory?
I'm on AIX, and in some directories I can't use the du command. I get the follow error message:
du: 0653-175 Cannot find the current directory.
Obviously the current directory exists, and I have permissions to it. I can list the directory and…

C. Ross
- 3,075
- 9
- 35
- 36