This tag is for questions about hard disk space usage.

learn more… | top users | synonyms (2)

2
votes
2answers
482 views

root partition getting full with nfs mounted directory

I am having one nfs volume, which is mounted on one of the directory of root partition. My problem is when I checked df -ha it adds up mounted directory file content as well. Following are my ...
1
vote
2answers
157 views

How to know in which partition my application has been installed?

If I run df -h in an Oracle LINUX 5 server, I got below output: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 12G 8.8G 1.8G 84% / ...
2
votes
2answers
513 views

I get low disk space warning after my last upgrade [duplicate]

I am using Linux mint 16 cinnamon. After my last upgrade free disk space dropped from 4.2GB to around 344MB. Don't know what happened. This is the output of df -h Filesystem Size Used Avail ...
2
votes
1answer
148 views

Is it possible for du to report significantly more disk in use than the mount point has available?

I ran into an interesting situation the other day. I have a 1TB NFS filesystem mounted on /backup. df reported approx 1TB total size, as expected. However, running du -csh . in the /backup/.snapshot ...
1
vote
1answer
76 views

How to find the true disk usage on my Linux box?

I have a linux box on my school's server. When I was trying to install Protocol Buffers, disk usage is reported as exceeded. So I checked my disk usage by two command on my home directory: du -h ...
15
votes
4answers
687 views

How can I determine if running tar will cause disk to fill up

If I run tar -cvf on a directory of size 937MB to create an easily downloadable copy of a deeply nested folder structure, do I risk filling the disk given the following df -h output: /dev/xvda1 ...
1
vote
1answer
21 views

How to ascertain remaining space on an isolated partition from the command line

I was recently told by another developer that whilst diagnosing a server issue (our application could not write logs due to insufficient disk space) he was able to view remaining disk space on what he ...
1
vote
2answers
129 views

Why Ubuntu and Windows show different amount of free space

For all my NTFS partitions, Ubuntu always shows 1~2GB more free space than Windows. What's the cause of this? Will some of my files be overwritten just because Ubuntu thinks there is more free space ...
5
votes
2answers
482 views

ext3 Filesystem shows full to most apps, but only 77% full to DF

Var is showing as full to many apps like Nagios, Puppet, and the LVM tools (pvs, vgs, etc) df -h output 6.0G 4.3G 1.4G 77% /var vgs output /var/lock/lvm/V_rootvg:aux: open failed: No space ...
2
votes
1answer
313 views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
0
votes
2answers
225 views

Fedora “disk full”, df, du (gui) confirm but gparted shows the partition is big enough

I am running a fedora Virtual machine and after much pain I managed to extend my virtual machines .vdi, from 20gb to 40gb. However it appears my pain is not over. The machine still complains of low ...
1
vote
1answer
51 views

VMware Player update filled up half of 27.5 GB disk. I need to find files and delete them [closed]

I installed VMware-Player-3.1.6-744570.i386 on Ubuntu 11.4. The 27.5 GB disk was about 45% full. I then used VMware-Player to form a virtual machine for Centos, using ISO files for CentOS-6.5-i386. ...
44
votes
1answer
2k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
3
votes
2answers
255 views

Why is GParted listing an empty parition as using 43.90 GB? [duplicate]

I have a fresh install (well, with package updates) of Linux Mint 16 (Maté) on a 3TB hard drive. I installed with the following partition table: /dev/sda1: bios_grub 1MB /dev/sda2: / 8GB ...
3
votes
4answers
379 views

How to get folder size ignoring hard links?

I use rsnapshot for backups, which generates a series of folders containing files of the same name. Some of the files are hard linked, while others are separate. For instance, hourly.1/file1 and ...
7
votes
3answers
417 views

Harddrive I/O per Pid

is there any way to see the disk I/O per pid/process ? Monitorix shows me the following and correct me if I´m wrong, but it looks like that the harddrive is slowing down the whole system: UPDATE #1 ...
0
votes
1answer
86 views

Harddrive remaining space does not compute

I have a server which has a handful of services (Apache, MySQL, DNS, Nagios), and have been having issues with the harddrive filling up. Upon further review, I noticed that the percentage used ...
2
votes
1answer
574 views

Reproduce the “--max-depth=” switch for disk-usage command on AIX

When I work on Linux/GNU distro environment I often use that wonderfull command du --max-depth=1 / That gives you the size of each folder in your root directory. Today I work with AIX and ...
1
vote
1answer
215 views

How to apply du (f.x.) to all sub directories except for some of them?

./a |-/bx1 |-/by2 |-/bz3 |-/bx4 |-/by5 Now I want to apply du to all sub-folders except for /by2 and /bx4. I can make it happen for one folder: du --max-depth=1 --exclude=./by2 but not for ...
2
votes
1answer
96 views

Why is df -h size, util and dispo not corresponding to each other

When I'm using the command "df -h" I'm having the following output : Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 20G 9,4G 8,8G 52% / devtmpfs ...
-2
votes
1answer
103 views

Zorin OS: Low disk space message [closed]

I am frequently getting low disk space error and attached screen displayed. Let me know what to do.
2
votes
2answers
124 views

How to get directories and and subdirectories count fastest way?

I want to get the number of directories and sub directories.I tried following command which takes very long time . I tried waiting about an hour to finish the command. commands I used $ find . -type ...
0
votes
1answer
132 views

Google Chrome - no space on rootfs partition

I've managed to install google-chrome on Debian Wheezy. My rootfs is only 320MB because I didn't predict that some day I will install Google Chrome which has more than 100MB and installs in /opt (opt ...
2
votes
5answers
308 views

How to free space on a completely full volume?

I am using Linux. And within an uncontrolled event, my 4GB system disk is full. When I try to uninstall some program by sudo apt-get purge program-name, it gives me this error: /usr/bin/mandb: can't ...
1
vote
4answers
30 views

space utilization

I need to show space utilisation on the system, and find the largest 3 files on /home (or any other folder) I've been using 2 different command lines df -m -a -h df -m -h /home I still can't ...
0
votes
2answers
320 views

Equivalent of the Solaris “df -t” command on Linux?

The df -t command on Linux does not display the number of files like it does on Solaris. Is there any equivalent command on Linux? My script is like this for i in /opt/aa /opt/aa/data /opt/aa/bb; ...
1
vote
4answers
105 views

Linux: what is on each of my hard drives

I am about to get a new PC built by my local Expert, and will have Fedora 20 installed on it (with dual boot for a bit of Windows in case I really have to use it). It will have a new hard drive, but I ...
3
votes
4answers
3k views

What's eating my disk space?

I'm running Linux Mint 14 Nadia. The Linux partition has 10G. When the system starts, du reports 80% usage. Then the usage slowly grows until it reaches 100% and the system becomes unusable. (It ...
0
votes
0answers
32 views

Disk space shows up as used but not on `du` [duplicate]

I have a problem where 70G on a server seems unreachable: XXX@XXX:/data$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--Storage-root 120G 2.9G 111G ...
2
votes
5answers
135 views

Can I use KdirStat over SSH?

I have a headless server running Centos 5.9. I can only SSH into it, is it possible to use KdirStat or a similar tool to get a graphical view of disk usage?
2
votes
4answers
1k views

What is the /dev/disk/by-uuid/ and why does it use all free space on the disk

I have the following Debian that works in Virtual Box: $ uname -a Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux Recently I notice that I don't have any free space: $ df ...
4
votes
2answers
349 views

What does `du - hb` do?

With du -bh I think I get the apparent size in human readable format: # du -bh 295K ./test However, I would expect the same from du -hb, but I get something else: # du -hb 301926 ./test I ...
1
vote
1answer
104 views

How to calculate the size of a file list (not a directory)?

This command: $ time (\ls /path/to/lots/of/dir*/*/*/*.ext > inputs.txt ) real 1m9.064s user 1m3.265s sys 0m5.993s Gives me a huge list of file names inside the file "inputs.txt". I ...
3
votes
1answer
230 views

Running du command reports infinity as disk usage

I'm trying to get the total size of what's stored in my home directory. To my surprise, it reports infinity after a few seconds: /home/user $ du -sh . Infinity Huh? I'm pretty sure there are no ...
4
votes
3answers
285 views

Sort all directories based on their size

I'd like to sort all the directories/files in a specific directory based on their size (using du -sh "name"). I need to apply this command to all directories in my location, then sort them based on ...
4
votes
3answers
1k views

du gives two different results for the same file

I am a graduate student of computational chemistry with access to a Linux cluster. The cluster consists of a very large (25 TB) fileserver, to which several dozen compute nodes are connected. Each ...
13
votes
1answer
464 views

Why is /dev full?

The /dev.. is full: SERVER:/dev # df -mP /dev Filesystem 1048576-blocks Used Available Capacity Mounted on udev 12042 12042 0 100% /dev There is no ...
2
votes
2answers
136 views

du reports size for a directory 4 KBs more than the sum total of the contents

ravbholua@ravbholua-Aspire-5315:~/CCPP/HelloWorld/das/das1$ ls ./control amer calls q1 q2 q3 quit.c RCS SCCS ravbholua@ravbholua-Aspire-5315:~/CCPP/HelloWorld/das/das1$ du ./control 20 ...
2
votes
1answer
460 views

How to monitor per user disk usage in Linux

I have local disk with 2T capacity attached to a host. Nearly 60 user home directories are stored on this disk. Currently no disk quotas are enabled. I need monitor the disk usage of individual ...
3
votes
1answer
109 views

Getting size of directories and exclude some folders

I have an directory structure like this: application1 application1_edit application2 application2_edit Is there any way to get the total size for every folder (including sub-directories) and ...
3
votes
1answer
1k views

List a directory, including subdirectories, with file count and cumulative size

Is there a way to list out the content of a directory including subdirectories with a file count and cumulative size? I would like to see: Number of directories Number of sub directories number of ...
6
votes
1answer
230 views

why ls reports a huge file and du does not?

When I run arm-none-eabi-objcopy -O binary add.elf add.bin everything seems to be ok. But, later when I run ls -lh add.bin add.elf this is the output I received: -rw-r--r-- 1 david david 2,6G nov 23 ...
2
votes
2answers
226 views

du on ramdisk displays 3GB less than df

I understand there's often a some discrepancy between du and df but when I du my ramdisk it occupies 13G, whereas df shows it's using 16GB. This seems quite a big difference. Is this normal? ...
0
votes
0answers
38 views

lde (linux disk editor) open just few beggining blocks

I have installed lde (linux disk editor) to verify some data but I see just only up to 0xB670 block. But it's strage sometime the last block in the page is 0xB4B0 and the next is 0xB0C0. And from ...
0
votes
1answer
160 views

df showing same usage statistics for different mounts

I've run the following df command on my system and get the following output: Filesystem 1K-blocks Used Available Use% Mounted on //loonie/Market ...
1
vote
1answer
57 views

How can I create a variable for just the Size, Used, and Available of df?

Say I want to create variables, one for each the size, used, and available when using df. How can I create variables for each? Is there an option that returns just one of these things? directorySize= ...
1
vote
1answer
192 views

“df -h” and “fdisk -l” in amazon server [closed]

When you do a df -h you can see: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7 . 9G 1.7G 6.2G 22% / But, when you do fdisk -l you see: Disk /dev/xvda1: 26.8 GB, 26843545600 bytes 255 ...
4
votes
2answers
298 views

Why does du report a size of 0 for some non-empty files on a HFS+ partition?

What is the explanation for the difference: $ ls -l /Applications/Safari.app/Contents/Info.plist -rw-r--r-- 1 root wheel 15730 11 jui 15:02 /Applications/Safari.app/Contents/Info.plist $ du -sh ...
0
votes
1answer
446 views

RHEL - df -h v/s graphical disk usage analyzer tool

I am trying to understand the disk usage in my RHEL system. When I run the Disk Usage Analyzer tool graphically, my screen shows the below output. However, if I run the command df -h I get the ...
0
votes
1answer
358 views

No Space left on device - Debian

when Im new to linux and try to run this below code apt-get -f install getting below error: Checking the available space df Tho output How to increase the available space in /usr path?