The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
2answers
866 views

/var partition gets full what's the solution?

If /var partition gets full on Production server then what's the solution ? Below are my workaround: If it is LVM Partition then we can extend it online. We can compress logs. We can remove old ...
4
votes
4answers
281 views

How to find out what is wasting space on “/”?

I can find out what is wasting space with this: du -sm * | sort +0nr | head -30 But what if "/" is filled 100%, and there are many mountpoints, ex.: /foo, /foo2, etc. How can I get a list of ...
1
vote
0answers
440 views

why is df update slow?

When I remove large files, then use df to check the disk usage, often it takes a noticeable amount of time to update the disk usage percentage appropriately. This affects several data management ...
1
vote
2answers
2k views

df command not showing correct values

This is a RHEL server, I'm running a MySQL server on it, the database and log files (however, logging is disabled) are located on the /srv directory where plenty of space is available. Recently I had ...
4
votes
1answer
75 views

Behavior of `du` command with `-L` flag

I've noticed a strange behavior with du command when it's used with -L command line option. I'm using Slackware 14 and Coreutils 8.19. To reproduce the strange behavior, create two folders: mkdir ...
3
votes
4answers
524 views

Why is my tar file bigger than the directory backed up

This question did not help me (despite having the same title). So I post this even though this is a duplicate question. As far as I can tell, the total in du -k includes all the subdirectories and ...
0
votes
2answers
611 views

Show human readable file size in du [duplicate]

I'm using this command to determine which directory is eating my disk. du -sk * | sort -n How can I get human readable result form du for file sizes? I've checked man and all it have is -k flag ...
2
votes
1answer
102 views

apt-get purge <packages> works fine, aptitude still has <packages> marked as installed and reinstalls them

I've created a Rubygem to help with removing old kernels that have built up over years and are eating disk space. (My laptop had 19 kernels on it alone, and on a small SSD...) I want to use apt-get ...
1
vote
2answers
154 views

How can I check how much space I am allowed to use on a linux server?

I have some giant files I'd like to back up by putting them on a server I am allowed to use for such things. However, I am uncertain about how much space I am allowed to use. Is there any way of ...
1
vote
2answers
877 views

No space left on device / No Inodes free OR used / Double mounting

For about a day now I can only create/cp/mv (through terminal or various GUI programs) files on my FAT16 formatted USB stick, of about a few bytes. Doing so with larger files reports cannot create ...
5
votes
2answers
898 views

Disk usage summary per user

Is there a way to get the disk usage per user under a given path? du doesn't seem to have an option to aggregate disk usage per user, and df only seems to report how much disk is left on the drive. ...
20
votes
3answers
1k views

Can the “du” program be made less aggressive?

We have a regular job that does du summaries of a number of subdirectories, picking out worst offenders, and use the output to find if there are things that are rapidly rising to spot potential ...
4
votes
4answers
83 views

Find out how much all tmp directy occupy

How can I know the size of all tmp folders for all users. I tried du -h /home/*/tmp But it did not add them all together.
0
votes
5answers
260 views

What stuff can be safely removed for disk space sake?

I am using Scientific Linux. So is there any stuff that can be safely removed from disk except /tmp?
4
votes
2answers
406 views

`du` get different results on different machines for the same folder

I have a folder(which contains a lot of sub-folders and files) on a machine, I used du -m and it shows the disk usage of all sub-folders and files, anyway, the overall disk usage is 78M I ...
0
votes
3answers
2k views

In Centos, how to find free disk space?

in Centos and Ubuntu, how do i find out how much free disk space I have left and other disk stats like disk usage.
3
votes
1answer
907 views

What are /dev, /run and /run/shm and can I resize them?

So, I recently created a 15GB partition for Linux Mint 14. I've been working on it for a while, and I got a Low Disk Space notification. I ran df -h and this is what I'm getting: Filesystem Size ...
0
votes
2answers
161 views

'df' command doesn't list /home directory

In the book I am reading, the output of df command is shown like this: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 15115452 5012392 9949716 34% / /dev/sda5 59631908 ...
0
votes
0answers
50 views

User mounted secondary drive as /var

I have a drive that someone else mounted using mount /dev/sdc1 /var At some point they complained that all the data was missing Now: mount /dev/sdc1 /media/testdrive df -h shows 130GB used du -h ...
4
votes
1answer
245 views

Linux tool to track directory space over time

Are there any common Linux tools that track disk space over time, not just a filesystem overall, but for example, so I could easily see which directory trees swelled up and shrunk historically? The ...
0
votes
1answer
2k views

Centos freeing up disk space

I have a CentOS server running Plesk and it's run out of space on the plesk partition. I have narrowed down where a lot of the disk space is being used, but I'm not sure how to move forward. Can I ...
2
votes
2answers
137 views

decreasing “reserved block count” does not show up in df output

By default my ext3 file system had 122060 blocks(5%) reserved. I decreased this to 24412(1%), but there were no changes in df output: root@t60:~# df -P Filesystem 1024-blocks Used ...
6
votes
2answers
8k views

Find and remove large files that are open but have been deleted

How does one find large files that have been deleted but are still open in an application? How can one remove such a file, even though a process has it open? The situation is that we are running a ...
4
votes
4answers
672 views

How to recursively find the amount stored in directory?

I know you are able to see the byte size of a file when you do a long listing with ll or ls -l. But I want to know how much storage is in a directory including the files within that directory and the ...
4
votes
1answer
304 views

du — ignore file not found errors

I'm trying to get the size of a folder an application is currently writing to. If I run the du command it sometimes fails with the error: du: cannot access `/a/b/a.txt': No such file or directory ...
2
votes
2answers
1k views

Why do I get fsync() failed: Disk quota exceeded on my linux machine?

I get fsync() failed: Disk quota exceeded but when I use df -h and df -i there is enough space in all the folders. What can I do?
27
votes
3answers
2k views

Why are text files 4kB?

For some reason, when I make a text file on OS X, it's always at least 4kB, unless it's blank. Why is this? Could there be 4,000 bytes of metadata about 1 byte of plain text?
3
votes
1answer
131 views

How can I get a total for space used by a group of subdirectories

My file system is set up like: /ftp/data/ProductGroup*/ProductType*/Year*/Day*/ActualProductFile* ("*"denotes directory names that change) I'd like to find out how much space is being used for ...
3
votes
2answers
635 views

Filesystem monitoring

A script where we need to come up with a way for the disk space monitoring to be smarter. On smaller file systems, we still want to alert at 90% full, but on larger file sytems, we should only alert ...
3
votes
3answers
347 views

Removing disk quotas in Scientific Linux

Im doing some big data integrations in MongoDB at the moment. MongoDB's files are stored at /data/db Scientific Linux has automatically setup root to have a small amount of disk space and me, bob ...
2
votes
2answers
832 views

Using rsync to sync two directories on server and localhost, but size is different

I'm using rsync to sync a directory from server to localhost: rsync -avz --delete ./Stuff user@host:/Stuff This all works fine, but how come when I type 'du -s' in both the server and the localhost ...
0
votes
3answers
206 views

Find modifies the Access Time

I have to find those files which have been modified before one day. There are lots of files which are modified before one day. I am doing find ./ -type f -mtime -1. But, I observed that my disk util ...
2
votes
1answer
302 views

Any command to view the file system internal fragmentation size under a directory?

If the block size of a file system is 4KB, then for a 1KB file, 3KB space(which is internal fragmentation) is wasted. So, under a directory, is there any command to summarize how much disk space is ...
2
votes
1answer
150 views

Why is some filesystem space used even though the filesystem is empty? [duplicate]

Possible Duplicate: ext4: How to account for the filesystem space? After googleing a little I find that ext4 reserve 5% for root: Reserved space for root on a filesystem - why?, ext2/3/4 ...
4
votes
4answers
1k views

Find largest files recursively

There seem to be a lot of entries about how to use du to recursively find the largest dir and files at the same time, but none on how to only recursively find the largest files in a set of ...
1
vote
4answers
214 views

Ghost directory in home directory

I am using following command to check the disk usage in my home direcory. du -sk * | sort -n I am getting the following output 273240 AQP 707720 oradiag 3176872 J2EEServer 23628720 var ...
2
votes
3answers
386 views

Disk size management

I am using Fedora 16. My /dev/sda2, mounted on / (root) with something like 50G got filled 100%: [foampile@~ 13:13:39]> df Filesystem 1K-blocks Used Available Use% Mounted on rootfs ...
6
votes
2answers
2k views

How to `du` only the space used up by files that are not hardlinked elsewhere?

Using rsync --link-dest for space-saving snapshots, how can I figure out how much space I actually saved? Or more general: How to figure out how much space a directory uses considering only files ...
1
vote
1answer
163 views

/ is out of blocks, can't find out why [duplicate]

Possible Duplicate: How can I diagnose and repair missing drive space? root@database:/# treesize -x 2>/dev/null 1.1 GB . 757.1 MB ./usr 232.0 MB ./lib 97.2 MB ./var 29.0 MB ./boot 6.3 MB ...
0
votes
3answers
830 views

Why is my rootfs filling up so fast?

I'm trying out Linux by installing openSUSE 12.2 x64 on VirtualBox; the host is 64 bit Windows 7 Ultimate. I gave the install 16GB of storage - I will only be messing around with it - I thought this ...
1
vote
3answers
402 views

What logs would be written if file system is full in UNIX?

I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
3
votes
3answers
275 views

Why do I get 3048 MB from a 64 MB flash memory?

I have a Linux based STB (set-top-box) and it features a 64 MB flash memory and 256 MB of RAM. I wanted to take a backup of some of my settings before I flash it with another image, but I wasn't sure ...
2
votes
1answer
346 views

remove unallocated space from a partition image

I have just created an image of an sd card using dd and the image is compressing down less than expected. I suspect this is because the card had not been zeroed out before I started to make the image. ...
2
votes
1answer
124 views

Expanding a partition in Ubuntu

This is what GParted displays about my partitions. And this is the output from df: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 61409452 4503052 53786836 8% / udev ...
6
votes
1answer
2k views

Print size of directory content with tree command in tree 1.5?

I like tree it's a nice way to display my files and the size of folders/directories. But the -h option only shows the size of the directory, not it's contents. /media/ ├── [ 16K] 64D9-E862 │   ├── ...
6
votes
2answers
4k views

df vs. du: why so much difference? [duplicate]

Possible Duplicate: Why is there a discrepancy in disk usage reported by df and du? df says 8.9G used by the partition mounted in / :~$ df -h Filesystem Size Used Avail Use% Mounted ...
2
votes
2answers
392 views

Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?

I recently decided it was time to do the ol' dist-upgrade. Since I don't upgrade often, I got this message: deus@machina:~/$ sudo apt-get dist-upgrade Reading package lists... Done Building ...
2
votes
1answer
290 views

/dev/mapper and vicious IO widget

I have dio vicious widget for monitoring IO within an awesome widget. It is defined like so: diowidget = widget({ type = "textbox" }) vicious.register(diowidget, vicious.widgets.dio, '<span ...
2
votes
2answers
393 views

/var House Keeping

Does anyone have any general advice or links for doing some house keeping on the /var filesystem on Unix and Linux servers? I have searched the issue quite a bit but can find no real concrete ...
4
votes
2answers
569 views

btrfs on openSUSE not releasing disk space

I have an openSUSE 12.1 install on my main desktop running with btrfs filesystem for root (/boot is ext4). I started having issues today with KDE informing me that disk space is almost all gone and ...