0
votes
2answers
21 views

Getting the size of parent folders when using find to search for criteria?

I am hunting for a certain regular expression within the filenames and am seeking to return the parent folders with their sizes in a unique fashion. For example, here is the command that I expected ...
2
votes
1answer
14 views

Disk usage inside archives, like ncdu

I am a fond user of the ncdu utility to figure out how space is used within a directory. However, I have a use case where I am trying to choose which folders to backup and which folders not to ...
1
vote
2answers
45 views

How to reduce disc access?

This is a follow up question to: How to reduce temperature on a Dell XPS (L502X)? After reading the answer I noticed that my harddrive is spinning constantly, even when running TLP in bat-mode ...
3
votes
4answers
81 views

mount info for current directory

I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount, but get to much info. I can grep it down, but am wondering if there ...
0
votes
1answer
23 views

difference between df -h and dfc

Why is there a difference in the used size between dfc and df -h? $ df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/sda7 64G 51G 11G 83% / none 4,0K ...
-4
votes
1answer
38 views

What is the significance of the the leading “4” before the listing of modified files?

After running the following command: find /Users/UserName/Documents -type f -mtime -1 -print0 | xargs -0 du -sk | sort -nr I receive the following output: 4 ...
0
votes
1answer
21 views

Unix filesys reserved space [duplicate]

I've read that in Unix, you can configure the file-system to reserve certain amount of space for root. Which configuration property is it?
0
votes
0answers
43 views

How can I set quotas (space limitation) for samba users?

I configured samba server in CentOS 6. It will be working fine. The windows users share the files through samba. I want to set space limitation for samba users.
0
votes
1answer
54 views

How to know free disk size witout df command? [closed]

Is it possible to check free disk size in Linux without using command lines such as df? Since my host machine is embedded Linux, there are no direct command lines that show free disk size.
0
votes
1answer
32 views

Format USB drive

I have a USB drive which I format with sudo mkfs.vfat -I /dev/sdb1 When I then look at the size of the USB drive with df -h, it reports its size to be 64 MB, though it should be 8 GB. What am I ...
4
votes
1answer
33 views

How to find Debian packages that would free up the most space

Say I have a Debian machine where I would like to free up space on '/' by removing useless packages. To find good candidates of packages to review, I would like to focus my attention on the largest ...
0
votes
2answers
73 views

29GB Log File on Linux Mint on a 38GB Partition

Had a low-space warning, Google'd the problem (had 1.8GB free at the time), found topics about running $ sudo du -x -d1 -h /var | sort -hr and I did: 30G /var 29G /var/log 353M /var/cache ...
1
vote
0answers
34 views

df-command free disk-space wrong [duplicate]

Filesystem Size Used Avail Use% Mounted on /dev/sda1 107G 4.4G 97G 5% / dev 3.9G 0 3.9G 0% /dev run 3.9G 576K 3.9G 1% /run tmpfs 3.9G ...
2
votes
1answer
59 views

Unreferenced inodes on EC2 linux instance

I have an Amazon EC2 instance which I am using as a NFS file server. It's using a 5x1TB volume RAID0 array. The system is very I/O intensive and files are being written/copied/deleted through the NFS ...
1
vote
2answers
37 views

Monitor Disk Usage per directory/file

I have a huge java app that drives my disk crazy. As I think that this issue is only due to 3-5 small things I would like to monitor what is written to/read from disk within an hour sorted by size and ...
2
votes
2answers
66 views

24gb files removed but no changes to the available space. What could have happened? [duplicate]

We have this virtual machine that has Apache2 installed, we forgot to install a log rotate and we got 24gb of logs from Apache2, We removed those 24gb of log files but no changes occurred to the disk ...
2
votes
1answer
51 views

Why is my hard drive out of space if gparted says I have 500+GB

I recently installed Debian on my machine and made separate / and /home partitions. Yet my disk usage analyzer shows that my /home is inside /. But gparted shows that /home is indeed in it's own ...
1
vote
2answers
135 views

Why does “df -h” show out of sync space used? [duplicate]

I have tried different commands to see sizes of partitions and space used/left and it seems that they always differ in their results. Here is my space used/left with from the command df -h: Size ...
3
votes
2answers
87 views

Finding all large files in the root filesystem

I have a linux server, which currently has below space usage: /dev/sda3 20G 15G 4.2G 78% / /dev/sda6 68G 42G 23G 65% /u01 /dev/sda2 30G 7.4G 21G ...
1
vote
2answers
111 views

du cannot access file - No such file or directory error

I have lots of subfolders inside a particular folder which in turn contains lots of smaller files. They are created programmatically and so I do not know how many of them are there inside. I decided ...
8
votes
3answers
374 views

Why does fstab use UUID instead of the actual file system name?

For example, this is the first line of my /etc/fstab: UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1 And here's the output of df -h command (reporting free ...
1
vote
2answers
52 views

Wrong amount of free disk space seen after using Gparted

I am running Ubuntu 12.04 in a VM. I have recently resized the hard drive of this VM doubling its size with Gparted. However, when I run df -h, Ubuntu still sees the old hard drive space, while ...
0
votes
2answers
74 views

Disk full on a server with a large /home partition

I've just got this CentOS Server but I think I've set it up wrong as I can only upload a few GB then I start getting errors, It should have ~1TB. this is the results of lsblk [root@ns4005990 ~]# ...
2
votes
2answers
82 views

how to show total files size in a folder by filtering extension without showing each file size

du -hc *zip shows me total size of zip files in a folder, but it shows also every single file size of the folder. I only need total size. Is there way to show the total size of a folder without ...
4
votes
4answers
113 views

Combine fdisk and df in the same output

sudo fdisk -l gives : 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size ...
0
votes
1answer
47 views

Partition is out of space

When I was trying to resolve the issue as seen in this question, I figured out that a specific partition is out of space. I have a specified folder which I allow all ftp uploading of multimedia files ...
2
votes
2answers
131 views

find the single largest file

We host a share of size 4 TB. How efficient is it to find a file with highest size. Usually we use: du -ak | sort -k1 -bn | tail -1 and it is not easy to scan through a share of such huge size and ...
1
vote
3answers
60 views

How do I see how many blocks I have free on my filesystem?

I know df is supposed to provide this information, but when I run df it shows the number of 1k blocks free, yet my filesystem is using 4k blocks. I could simply divide by four of course, but this ...
0
votes
1answer
49 views

Help Deciphering Disk Usage. Where Did the Space Go?

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... To begin, let's execute the following: ...
3
votes
1answer
51 views

Does du or df perform caching?

I was wondering if there is any caching done with these utilities. I assume not, but not positive. Are there any typical similar utilities that do use caching to speed up results on subsequent runs? ...
2
votes
2answers
210 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
133 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
296 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
94 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
59 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
635 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
95 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
299 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
193 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
151 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
41 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. ...
42
votes
1answer
1k 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
179 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
188 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
297 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
71 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
307 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
119 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
80 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 ...