The tag has no wiki summary.

learn more… | top users | synonyms

25
votes
5answers
2k views

Linux server out of space

I have been asked this question in two consecutive interviews, but after some research and checking with various systems administrators I haven't received a good answer. I am wondering if somebody can ...
24
votes
7answers
39k views

df in linux not showing correct free space after file removal

I have file servers which are used to store files. Files might reside there for a week, or for a year. Unfortunately, when I remove files from the server, df command doesnt reflect the freed up space, ...
18
votes
8answers
17k views

Disk full, du tells different. How to further investigate?

I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown. However, if I run a du -h -x / then du tells me ...
16
votes
6answers
36k views

How do you increase a KVM guest's disk space?

I setup an Ubuntu guest on a CentOS KVM host with initially 6GB of disk space. How do I go about increasing the Ubuntu guest's disk space from the command line? EDIT #1: I'm using a disk image file ...
15
votes
3answers
23k views

Setting Low Disk Space Alerts on Windows Server 2008

I was wondering if there is an easy way to trigger an e-mail alert on Windows Server 2008 when any logical disk partitions become low on space. I have 2 SQL servers that have come close to running ...
15
votes
5answers
3k views

Easiest way to automatically check EC2 disk space and be alerted if it is running low?

Running the Amazon Linux AMI. It seems that CloudWatch does not check for free disk space. I have a number of servers and ideally don't want to have to configure each one with a mail server, script to ...
12
votes
2answers
479 views

df vs du. Is my disk really full?

Strange problem... Why i have full / partition used, but it's not really used? Fast info: xwing ~ # df -h Filesystem Size Used Avail Use% Mounted on rootfs 16G 15G 75M 100% / ...
11
votes
6answers
8k views

How can I determine what is taking up so much space?

I was using df -h to print out human readable disk usage. I would like to figure out what is taking up so much space. For instance, is there a way to pipe this command so that it prints out files that ...
11
votes
12answers
10k views

Determine Location of Inode Usage

I recently installed Munin on a development web server to keep track of system usage. I've noticted that the system's inode usage is climbing by about 7-8% per day even though the disk usage has ...
11
votes
7answers
15k views

Out of disk space, what's the source?

Filesystem Size Used Avail Use% Mounted on /dev/sda1 220G 220G 0 100% / none 1.9G 168K 1.9G 1% /dev none 1.9G 0 1.9G 0% ...
10
votes
9answers
35k views

How much space should you leave free on a hard disk?

Is there a rule of thumb for how much space to leave free on a hard disk? I used to hear you should leave at least 5% free to avoid fragmentation. [I know the answer depends on usage (eg: video files ...
10
votes
4answers
907 views

Best way to prevent the root system filling up when a mount fails?

We have an internal web server (virtualized, hosting ReviewBoard, but not super relevant) and we have a relatively consistent failure mode with failed NFS mounts causing / to fill up. Distro is Ubuntu ...
9
votes
3answers
11k views

How can I move /var/log directory

on our production server, there is a small drive for the main mount point "/" /var/log is taking much space and I have to manually delete some files. How can I move /var/log/ to let's say /home/log ...
9
votes
4answers
559 views

How do I most efficiently store and serve 1,000,000+ small gziped files on a Linux web server?

I have large static content that I have to deliver via a Linux-based webserver. It is a set of over one million small, gzip files. 90% of the files are less than 1K and the remaining files are at most ...
9
votes
2answers
184 views

No more diskspace on server [duplicate]

after some wrong php code was exceuted on one of our servers, which tried to open up a file which didn't exist, we ended up with huge apache log files which weren't configured yet to rotate. We just ...
8
votes
7answers
2k views

How do you limit the use of network storage in your company?

I think this is one area that is a pain for every sysadmin. Users don't really know how much storage space they are using, and don't take the time to manage what is stored there, or how long it stays ...
7
votes
7answers
6k views

No free disk space

I have weird situation because Linux df command says that there is no free disk space [root@backup cache]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 72G ...
7
votes
8answers
16k views

How does one find which files are taking up 80% of the space on a Linux webserver?

This is an actual cPanel server but the info here will probably relate to others so I thought it would make a good question. The drive is constantly filling up. You've hunted down all the spare and ...
7
votes
4answers
28k views

Cleaning up a server's C:\ drive… what are the best practices?

I have a c:\ on a server that is filling up, most likely due to the accumulation of patches over the years. I'm told by Microsoft PSS Support that it is unwise to simply delete the compressed ...
7
votes
3answers
1k views

After LVM/DRBD resize df is reporting incorrect information

I have a Debian Xen DomU which has a DRBD mounted partition. I needed to resize this partition from 46G to 50G. I did the following: Stopped DRBD on the secondary node: /etc/init.d/drbd stop ...
6
votes
7answers
2k views

Disk usage treemap software for headless Linux

There are some programs which can display used disk space using a treemap, such as WinDirStat for Windows and KDirStat for KDE/Linux: I'm looking for something similar, but for a headless Linux ...
6
votes
2answers
5k views

How do MyISAM and InnoDB Utilize HD Space?

My MySQL server is running out of HD space fast. Most of my larger tables use the InnoDB engine (for no mission-critical reason). In an effort to avoid the dreaded 'drop database to recover innodb ...
6
votes
6answers
12k views

W2008 - C Drive almost out of space - options?

I'm having to look after a W2008 server which has a C drive configured to be 20Gb and which is down to 1.5Gb free. On current trends it will run out of space altogether in the future. The growth in ...
6
votes
2answers
947 views

Windows XP shows low disk space - WinDirStat shows 50GB <Unknown> entry

We run 12 Dell Optiplex 755 desktop computers. All of them have the exact same hardware and softawre, configured exactly the same. As such, they are all: running Windows XP on the same network ...
5
votes
8answers
2k views

Best places to free space on Windows? [closed]

Prompted by Adam.. I would like your suggestions as to freeing up space on a Windows machine. Yes, yes, I know disk space is cheap but sometimes, you have older machines that just need more space and ...
5
votes
7answers
2k views

ubuntu server slowly filling up

We had our samba server (ubuntu 8.04 ltr) share fill up the other day but when I went to look at it I cant see any of the shares have to much on them we have 5 group shares and then each users has an ...
5
votes
4answers
1k views

Calculating total file size by extension in shell

We have a set of directories containing lucene indexes. Each index is a mix of different file types (differentiated by extension) eg: 0/index/_2z6.frq 0/index/_2z6.fnm .. 1/index/_1sq.frq ...
5
votes
5answers
5k views

Hyper-V Requirements, disk partitioning

My rule of thumb for a physical server was fast random access disk (VelociRaptor/SSD) for OS, and large disks for data (e.g. WD Caviar). How does that look for a Hyper-V that should run two virtual ...
5
votes
2answers
12k views

Expand disk space on Ubuntu 10.04 (VMWare Guest)

I need to resize the disk space of an ubuntu guest in VMWare Workstation. After using the expand disk utility in vmware workstation, I need to do some linux magic to resize the parition. I have ...
5
votes
1answer
839 views

No space left on device — but there is space

I'm running an Ubuntu 12.04.1 server in a VMware virtualized environment that has a strange issue. Twice now, at seemingly random times, the machine has suddenly been unable to write to the root ...
5
votes
1answer
2k views

Need to scale an Amazon EC2 instance (but JUST the storage, not the CPU)

I currently have this image: High-CPU Extra Large Instance (Amazon Linux AMI) 7 GB of memory 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each) 1690 GB of instance storage 64-bit ...
4
votes
8answers
99k views

How do I remove Windows Update uninstall files on Windows Server 2008?

I'm running Windows Server 2008 Standard running in VMware. It has 2 disks: system disk: 16 GB data disk: 500 MB I installed Visual Studio 2008 SP1 + MSDN and some small tools and ...
4
votes
7answers
689 views

Disk Space Monitoring

I have about 70 servers and I need to keep an eye on their disk space usage. I don't need the information to be real time. I was thinking of running a script daily or having a scheduled task run to ...
4
votes
1answer
290 views

Ran out of disk space, how to tar without creating copy

I am at 98% of an 8GB SSD, and I have a 3 GB mysql data that I need to gzip and or tar and then download it, so then I can delete it. How can I tar or gzip the sql (or the mysql tables) so that that ...
4
votes
4answers
479 views

Tools for tracking disk usage

I manage a number of linux fileservers. These all run applications written from 0-10 years ago. As sometimes happens, a machine will come close to, or run out of disk space. Reasons include ...
4
votes
1answer
393 views

Linux missing disk space

I have KVM vps with strange disk usage: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb 493G 1.2G 466G 1% / tmpfs 4.0G 0 4.0G 0% ...
4
votes
3answers
24k views

centos 100% disk full - How to remove log files, history, etc?

mysqld won't start because disk space is full: 101221 14:06:50 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28) 101221 14:06:50 [ERROR] Can't start server: ...
4
votes
1answer
233 views

calculating days until disk is full

We use graphite to track history of disk utilisation over time. Our alerting system looks at the data from graphite to alert us when the free space falls below a certain number of blocks. I'd like to ...
4
votes
1answer
288 views

Out of Disk Space, /mnt/hgfs to blame?

I'm running a Centos VM in VMWare Fusion 5.x. The VM is running a file transfer server and the files being sent are stored on a disk shared from the host, /mnt/hgfs/Aspera. It looks like the file ...
4
votes
3answers
85 views

Space effecient manner to store lots of large, similar files

I have lots of ~1 GB files (database dump files, taken at regular intervals). Right now I'm just storing them all in one directory, each file gzipped. We're running out of disk space and want to ...
4
votes
2answers
2k views

df shows negative values for used

Hey everyone, first question around here. I have a centos 5.2 server and running df -h i get this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 ...
4
votes
3answers
5k views

How to check diskspace on SFTP server

Recently I encountered a lack of diskspace problem on a SFTP server and I realised I have no idea how to check how much is left or even the total amount. Does anyone know how to do this through an ...
4
votes
1answer
1k views

msizap.exe reports No product/patch data was found

I was trying to free up some space on my Windows 7 machine and was directed to a utility called msizap.exe from Microsoft which removes orphaned msi's from the c:\windows\installer directory. My ...
3
votes
4answers
459 views

Out of disk space on 4GB partiton yet it's only using 2GB

I'm running Ubuntu and have had a problem where the root partition has run out of disk space. When I perform df -h I get the following: Filesystem Size Used Avail Use% Mounted on ...
3
votes
3answers
3k views

How do I find out what is using up all the space on my / partition?

I am on a large instance on Amazon's EC2 servers. I run the df command and get: root@db:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.9G 9.1G 284M 98% / ...
3
votes
5answers
551 views

Unexpected space consumption

I have a problem. I run out of disk space all the time. I don't know exactly what files consume all the space. It seems that there are bunch of little files, so it's hard to find with du command. ...
3
votes
3answers
1k views

Web-based disk space visualizer

I have a number of Linux webservers for which I'd like to track where disk space is going and keep disk space to a minimum. Typically I login on SSH and use du to find out where disk space is wasted ...
3
votes
1answer
3k views

Ubuntu “No space left on device” for /home, df shows 100% full, ds shows much, much less [duplicate]

Possible Duplicate: Linux different size for df and du for root partition On an Ubuntu 12.04 server, normal users can no longer create or add to files in /home, encountering a "No space ...
3
votes
2answers
2k views

Why after deleting a 110+ GB collection, my /var/lib/mongodb directory still have same size?

I am having some troubles with MongoDB and space usage. In particular, I once used to have a large collection of about 600 million records totaling 110+ GB on disk. Recently I decided to drop it ...
3
votes
4answers
2k views

After deleting a large file, how long does it take `df` to pick up the change?

I deleted a 2.3GB log file on my Ubuntu server, and df doesn't seem to be picking up the change. Is there typically a delay before df can detect that a large file has been deleted?