1
vote
0answers
20 views

How to monitor free space and automatically delete oldest files on Linux?

I have a software application that continually writes files to disk at high speed. Each file is modest in size (less than 10 MB or so), but they are created every 1-2 seconds underneath a specified ...
1
vote
1answer
26 views

My disk at half size after formatting

I'm a long time linux user, I'm also a Windows user, after formatting my brand new USB dongle I get ~30Gb from the partition table available to create a new partition where the nominal capacity of the ...
0
votes
1answer
23 views

How to compute program size?

I'd like to have a reasonable computation of how much diskspace a certain program uses. Like so: // Fiction $ aptitude size -h latex folder1 250MB folder2 15MB ---------------- total ...
1
vote
2answers
52 views

How to find and delete a huge folder that was moved from Linux to Windows

I was hoping someone could help me with this: This morning, I moved a huge folder with data (about 40GB) from my Linux partition to my Windows partition. However, I forgot to actually shut down ...
0
votes
1answer
74 views

ZFS on linux: switch partition to whole disk

There is a ZFS pool with raidz1 in it. The pool is created on top of three 2TB drives using the whole disk and a 2TB partition on a 3TB drive. What is the recommended process to reconfigure the pool ...
0
votes
1answer
24 views

Recovering HDD Space From Failed Linux Install

I had a dual-boot (Windows/Linux) on my laptop a while back, but the Linux partition became corrupted when I tried to install a different version of Linux and overwrite the previous one. How do I ...
3
votes
1answer
100 views

What causes files to use up more more disk space than the file size suggests?

du was showing some drives with much less space than I was expecting, and ls -alh also showed the sum at the top to be a factor of three more than the sum of the individual files. Following this ...
2
votes
1answer
56 views

Where is the 3GB+ hidding?

I have the problem of /usr taking too much space on the server. ws4-clarind:~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/system-root 4.8G 988M 3.6G 22% / udev ...
1
vote
1answer
287 views

Confused about df and lsblk commands showing different information?

$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda1 202:1 0 20G 0 disk / xvda3 202:3 0 896M 0 disk [SWAP] $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G ...
1
vote
1answer
1k views

increase /home size from root folder

The following is my partition in linux (ubuntu) Filesystem Size Used Avail Use% Mounted on /dev/sda7 42G 11G 29G 29% / udev 2.0G 4.0K 2.0G 1% /dev tmpfs ...
3
votes
4answers
182 views

How do I display the disk space purging a package would free under Debian?

I would like to remove unneeded packages. I have already removed large files (using k4dirstat) and the only left bit is a few hundreds of packages I installed but I do not use most of them (the ...
1
vote
2answers
529 views

Shrinking ext4 partition: fdisk won't allow to recreate the partition at the same start block

Last time I shrank a partition, it was just as easy as deleting it and recreating it from the same start sector. But this time, fdisk won't allow to recreate the partition from sector 63, it forces ...
0
votes
0answers
47 views

Increase Smb quota caused by small root partition

I am trying to increase available disk space on my Netgear Stora device (NAS). I log in as a root. Uname -a: Linux axentraserver.<mylogin>.mystora.com 2.6.22.18-Netgear #16 Sun Jun 13 19:54:46 ...
1
vote
1answer
280 views

Disk usage of a symbolic link

If I check the file size of a symbolic link by stat(), then it reports a nonzero file size equal to the link path string. But when I use du on the link, it reports a size of zero blocks. Is there a ...
1
vote
2answers
3k views

High CPU load due to MySQL on Linux

I am facing an High CPU load due to MySQL process. I googled to get rid of this error but no luck. I found solutions on Google like its happening due to low disk space however on my machine the df -f ...
1
vote
1answer
146 views

Where is the used disk space if it is not in root

I recently discovered that I only had a very small amount of disk space left. I found that my logs were getting quite huge so I reconfigured logrotate. However, I still have some issues. Using df -h I ...
0
votes
0answers
79 views

VirtualBox guest OS reports higher than actual storage usage

I've been using VirtualBox on Windows 7 to run a guest OS of Ubuntu Server 13.04. Generally this has been used for local testing of MongoDB which claims to be out of space. The guest OS has been ...
0
votes
1answer
28 views

Size of Linux VM XL local disk space

I want to create a Linux VM server but I don't know what is the default disk size when you create the new server.
0
votes
2answers
2k views

total disk usage for a particular user

I would like to see the total disk usage for myself on a particular file system. I execute the command `du -h ~my_user_name` However, this lists every directory owned by my_user_name. I would like ...
0
votes
4answers
311 views

How can I check which part of my linux system uses the most disk space?

I'm having a ubuntu server that is running out of disk space(36GB out of 37GB). I used several methods to check the disk usage, but sounds like the result is quite vague to me. I used following ...
1
vote
4answers
902 views

Can I use cp to backup and restore Linux

On the same physical machine, the partitions of / and /home are both not large enough. I cannot extend the two partitions directly, since they are the last two partitions. I deleted the two partitions ...
1
vote
3answers
2k views

du which counts number of files/directories rather than size

I am trying to clean up a hard drive which has all kinds of crap on it accumulated over the years. du has helped reduce disk usage, but the whole thing is still unwieldily not due to the total size, ...
0
votes
0answers
22 views

Loop through folder with higher space usage in shell? [duplicate]

I would like to create an script where give me a report of which folders have the higher usage space and keep doing that until there's no folder anymore. Today I do this manually, with: sudo du -h ...
2
votes
1answer
89 views

Why make a partition at all for mdadm/raid?

i have 4 disks, sd[a,b,f,g] of various sizes that I want to 'merge' together. I am using mdadm to achieve this. my question is, what's the difference between -- mdadm --create /dev/md0 ...
1
vote
0answers
79 views

What is using up this space in Linux?

Here's my output of df -h: [root@box root]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 1.8T 231G 1.5T 14% / /dev/sda3 ...
0
votes
2answers
520 views

Space ending in rootfs

My problem is that I think in a couple of days there will be no space free in rootfs. Is is possible somehow to 'clear' rootfs from unnecessary files? What should I look for? Rootfs is mounted into ...
0
votes
2answers
585 views

Monitoring linux free disk space

I am looking for a solution that will monitor several linux (maybe windows) hosts on a given network, gathers free space, CPU usage, etc... "counters" and "publishes" this to a central location which ...
1
vote
2answers
113 views

dd /dev/sda to img on drive

If I run: sudo dd if=/dev/sda1 of=~/image.img bs=1M Will the image.img (which is located on /dev/sda1) be continuously copied onto itself? As it gets bigger from data, will that additional data be ...
3
votes
8answers
9k views

How to find out the top space-consuming directories or files?

My disk is running out of space: $ df -h Filesystem Size Used Avail Use% Mounted on ... /dev/sda7 803G 715G 48G 95% /home I'd like to go through the whole home directory and find ...
0
votes
1answer
206 views

the effect of large number of files on disk space in unix filesystems

If I have a text file in Unix that contains N-many independent entries (e.g. records about employees, where each employee has a separate record), is it expected that this file will take up less space ...
0
votes
1answer
180 views

Free Space not shown in partiton even after extending it through gparted

I have a Ubuntu machine running 12.04 LTS on it. I had a very small "/" partition at the beginning, say of 16 GB. Now i added a 50 GB to it which i split from another partition and added to the "/". ...
1
vote
1answer
125 views

Get list of all installed software in each Virtual Machine

To manage my all virtual machines, I have purchased VMWare infrastructure but one thing I need eagerly is having: status of machine, a list of installed software and disk usage for each virtual ...
2
votes
1answer
213 views

How to watch disk free space change on Linux?

As the title implies, I want to know how to watch disk free space change on Linux instead polling it periodically via statfs. When the free space is changed, a signal is emitted to allow the ...
3
votes
2answers
13k views

Running out of disk space on /home directory?

I have a 200GB HD and have just installed Linux Mint (12 - KDE) as the only OS (I formatted and wiped my previous Windows 7 installation). I am in the process of installing my "sandbox" and because ...
0
votes
3answers
643 views

Huge log files consuming entire hard drive

My hard drive keeps becoming full, and I thought it was just normal usage, but now that I pay attention, rsyslogd is hogging the CPU, and I think the drive is being filled by log files: > la -S ...
0
votes
1answer
255 views

RedHat lost space

I have a problem with one server and I really don't know what happen, so I will appreciate any help/suggestion. On one partition have 42GB space. yesterday i saw that this partition is full 100% so i ...
2
votes
2answers
3k views

Display filesystem's free space available to the root user

By default, Linux reserves some fraction of a filesystem for the root user, at least on ext4 (to prevent ordinary users from filling the drive completely and crashing the system, and to reduce ...
2
votes
1answer
205 views

Why do different unit parameters for `du` give conflicting results?

I get this output when checking the total amount of space I'm using on my Walkman. david@Milton:/media$ du -b --max-depth=0 WALKMAN/ 14823290693 WALKMAN/ david@Milton:/media$ du -k --max-depth=0 ...
1
vote
2answers
480 views

In Linux, is it possible to get a listing of drives' disk space usage that also shows volume labels?

I know about df, of course, but df does not output volume labels. I have 5 USB hard drives plugged into my NAS box, and would love to know which is which. Current df output: Filesystem ...
0
votes
0answers
815 views

Fedora Linux Disk Usage Analyzer falsely reports root at 100% full

I've got a box setup with Fedora 16 that I'm currently using for a small home server. I was having some issues with samba sharing when I ran the disk usage analyzer and found that while I have a ...
0
votes
2answers
756 views

Suse linux installed in VMWare not using it's full diskspace

I have a linux server (SUSE Enterprise 11) installed in a virtual machine. Where preallocated disk space is given as 256 GB. But from the linux if I use df -h command it show this statistics: ...
1
vote
2answers
752 views

Linux disk usage graphical statistic tools like WinStatDir

Is there a tool like WinStatDir that can present a graphical stats of disk uage? Showing folders/files in different size of rectangles by its disk usage. Looks like Mac has similar drive visualization ...
0
votes
3answers
1k views

How do I display the available disk space of a mount in specific format?

I would like to display the available disk space of a mount in xx% format, For example: sh-3.1$ df -h /opt/Application/Disk1/ Filesystem Size Used Avail Use% Mounted on ...
1
vote
1answer
423 views

track disk usage over time in linux

I know I can use df to get a summary of disk usage right now. I can use du to break down into the detail of how the disk is being used. The problem is I can only see this information for today. ...
2
votes
3answers
444 views

total disk space among directories

I have this structure in my linux filesystem: /folder ...subfolder1 ......temp/ ...subfolder2 ......temp/ ...subfolder3 ......temp/ ...subfolder4 ......temp/ ...subfolder5 ......temp/ And I want to ...
2
votes
2answers
882 views

Calculate minimum ext3 partition size for certain amount of data

These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files: Filesystem 1K-blocks Used Available ...
0
votes
1answer
92 views

ubuntu working on thin client cannot provide accurate disk space reports

We are using thin client systems in our work environment. There is a central ubuntu server and by using thin clients, we are connecting to our homes. The problem is when I try to install an ...
1
vote
2answers
517 views

Linux: Compressing files despite low disk space

I use Linux. I coded a screenshot program some time ago and now I have 9 GIG of screenshots, 60000 JPEGs, most of them look pretty similar, and I have 300 MB of disk space remaining. What are some ...
2
votes
1answer
560 views

Out of space while bulding Linux kernel

I am trying to build Linux kernel. I am getting out of space after a while. I unpacked it in /usr/src directory. It seems I have plenty of space. Can you please let me know what can be done about it. ...
7
votes
4answers
4k views

Linux filesystem; difference in calculating size using df & du

When I run df it shows the root device is full. Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.9G 9.4G 0 100% / I looked at the inode usage and there is pretty ...