The disk-usage tag has no wiki summary.
0
votes
5answers
77 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
61 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 ...
-2
votes
3answers
52 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.
2
votes
1answer
59 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
60 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
32 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
75 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
120 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
58 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 ...
4
votes
2answers
312 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
96 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
89 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
196 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?
23
votes
3answers
1k 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
104 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
286 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
110 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
302 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
110 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
154 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
113 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 ...
3
votes
4answers
319 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
137 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
181 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 ...
5
votes
2answers
406 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
122 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
461 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
166 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
181 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
179 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
94 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 ...
4
votes
1answer
492 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
784 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 ...
1
vote
2answers
288 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
213 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 ...
1
vote
2answers
176 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
317 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 ...
2
votes
2answers
142 views
How come lvextend allocates less than the specified amount of space?
I am trying to extend a volume, let's call it /dev/vol1. I see the initial volume size is 500MB when I call:
df --block-size=M /dev/vol1
then to extend it 100MB more I call:
lvextend -L+100M ...
10
votes
1answer
3k views
How to remember the difference between du and df?
du and df do rather similar things, and so I always find myself typing the wrong one.
I think if I knew what "du" and "df" stands for it might make it easier to remember which to use.
What is a way ...
4
votes
5answers
202 views
How does this directory use so much space
Unix is not my native language and I'm getting confused by their concept of filesystems.
When I look at my free space I see:
/$ df -kh
Filesystem Size Used Avail Use% Mounted on
...
0
votes
1answer
82 views
du (disk usage) and format specifier for file/directory sizes strings?
I am really fond of du, and I often like to use it like this:
$ du -hsc /var/mail/ /var/log/ 2>/dev/null
4,0K /var/mail/
5,7M /var/log/
5,7M total
However, I'd like to be able to ...
2
votes
1answer
270 views
Which installed software packages use the most disk space on Debian?
Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
7
votes
3answers
332 views
How do you tell what hard drive a file is on?
On Debian, I have multiple hard drives, how do I know where /var/www is?
Bonus: How do I check the capacity and consumed capacity and of my drives?
2
votes
1answer
628 views
How much can the space allocated for an LVM snapshot be reduced?
I created an LVM snapshot, then I modified the original logical volume, and now I see that I probably allocated too much space to hold the snapshot. And I want to reclaim some free space by reducing ...
1
vote
2answers
461 views
RedHat Linux Space Usage Problem
I recently downloaded something on my Redhat Linux computer, and it told me I was out of space. I checked my disk usage, and it says I've used 100% of my folder, but as you can see I still have almost ...
0
votes
3answers
125 views
Finding Writeable Remaining Space
I work for an organization where we employees are alloted separate space on a remote server.
I SSH to that server, and the using du I get to know that free space shown is around 2 GB.
But not all can ...
2
votes
2answers
704 views
ext4 used space (not -m option, not deleted files)
I'm a bit puzzled about the way ext4 reports used space. On a new Debian wheezy (testing) installation, I consistently got about 1GB extra space used with a 60GB SSD, when compared to du. I then ...
2
votes
5answers
1k views
How big should the rootfs partition should be on Arch Linux?
I've installed ArchLinux yesterday and set up a 10 GB partition for the root file system, 256 MB for swap, and the rest (456 GB) for my /home.
However I still have 4.0 GB left on my root file system ...
8
votes
4answers
1k views
Is there a way of deleting duplicates more refined than fdupes -rdN?
Recently I have the need to delete a lot of duplicates. I am merging three or four filesystems, and I want the space to be used economically. At first, fdupes seemed like it was the best tool for the ...
1
vote
1answer
172 views
Why does the “du” command count in 4KB steps? [duplicate]
Possible Duplicate:
Directory size calculation difference
I don't understand how the du command under Linux works.
I wanted to count the overall size of a few hundred, small files and du ...



