Ubuntu :: Determined That A Huge Amount Of Disk Space Is Being Taken Up By Files In /var/log/?

May 18, 2010

I examined the problem, and determined that a huge amount of disk space is being taken up by files in /var/log/ The following files:


are all over 1 GB in size. The largest is 18 GB. Together, they total 48.3 GB. I restarted the system, forcing a fsck.

View 3 Replies


Ubuntu :: 10.4 Making HUGE Log Files--running Out Of Disk Space?

Feb 2, 2011

I started getting errors about running out of disk space in root this morning. I hunted up what's taking all the space; var/log is 39GB (Ubuntu is installed on a 50G partition.) It's specific files that live in that directory, not subfolders. The files are:

kern.log = 11.6 GB
messages (plain text file) = 11.4 GB
kern.log.1 = 6.1 GB


View 9 Replies View Related

Ubuntu Servers :: Deleted Log Files Taking Up Huge Disk Space?

Sep 7, 2010

My /var/ partition continues to fill up on all my servers, and it is because the logs in /var/log/apache2 or /var/log/mysql are being deleted during log rotate, but their file handles are being held open. Thus, a "du -sh /var/log" shows the correct values, but "df | grep /var" shows something much different.

It seems that the log files rotate, however if I run "lsof | grep deleted" it returns lots of files that are no longer visible in the directory, however refuse to clear themselves off the disk.

The only way I have found to make these log files go away (and thus clear up the disk space on the partition I should have) is to restart either apache or mysql, depending on which process has huge sized log files being held open.

Is it just me, or is this a big flaw in the way linux works, that it can't figure out how to release file handle for a log so the disk space can be reclaimed? This is happening to me a lot lately.

Here is some output from one of my web servers so you can see what I am seeing...

root@web49:~# df -h | grep /var$
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 9.2G 6.1G 2.7G 70% /var
root@web49:~# du -sh /var


View 9 Replies View Related

Ubuntu :: Moving A Huge Amount Of Files?

Jul 27, 2011

i have about 2 TB of 700mb avi files as data on disc want to spread it across two 2TB ext usb drives (sata 3.5 inside the housing) obviously i have to rip them to the laptop and then move to the ext hdd (omg laborious little task) am i better doing the ripping in meerkat or in a windows machine? files need to be accessible by W7, XP, and meerkat to vlc player. what should i format the discs to?

View 5 Replies View Related

Hardware :: Reduced Disk Space / Use The Total Amount Of Space?

Aug 25, 2009

OS: RHEL AS 5 64-bit

HDD:300 GB Hardware mirror (HP blade bl460c)

While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.

Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?

View 6 Replies View Related

Ubuntu :: Decrease The Amount Of Disk Space?

Aug 29, 2010

I tried to install Portable VirtualBox using wine and even though I installed it on my /host/ folder (with 19 gb free) it downloaded some massive file on my Wubi installation (with 60 mb free) and now I am down to 3 mb left on Wubi and I can't find the massive file that it downloaded. Tried using the disk usage analyzer but nothing came up. Windows is unbootable so I can't use it.

Before this, Ubuntu would constantly decrease the amount of disk space I had free for no reason as well. It would jump from 120 mb one day to 50 mb.I moved my documents to my Windows folders but the disk space only stayed at 100 for another day or so before it went down again. apt-get auto/clean, localepurge, and deborphan are completely useless and there's something else going on behind the scenes here that I don't know about.Using Ubuntu Jaunty.

View 9 Replies View Related

Ubuntu :: What My Free/available Disk Space Amount Is On My Internal HD

May 9, 2011

I have a 500GB internal SATA and a 1TB external and i can't seem to determine what my free/available disk space amount is on my internal HD. External tells me when i right click on the drive...however, that doesn't work on the internal. I've tried using the Disk Utility app, but I can't seem to get that same data/read-out. Is there (preferable) CLI command that can be used to do this -specifically, by drive?

View 2 Replies View Related

General :: Want Shell Command Amount Space In Disk For Mp3

Jun 25, 2010

We use a SLES 10 SP2 file server. This file server has all type of files. We want to know what is the amount of space used by mp3 files. What we need to know is the total space in disk of mp3 files. I've been testing du command, and find command, but with no satisfactory results. Does anybody know how to do this?

View 11 Replies View Related

Server :: Good Amount Of Disk Space To Have Free?

Jan 8, 2010

What a good amount of disk space to have free? Is there a general rule of thumb? IE 70, 80 or 90%?

View 2 Replies View Related

Debian :: Determine Amount Of Unused Hard Disk Space?

Jan 1, 2011

I am using LVM2 and have shrinked my /home partition and extended my / partition but I'm not sure if I used all the free space when growing my / partition. How can I find out? I prefer using the terminal if there is a graphical way to do this but I would like to know both ways if there are two ways.

View 3 Replies View Related

General :: Use Find To Select Users With A Certain Amount Of Disk Space Usage?

May 16, 2011

I want to find all users shown in the /home/ directory whose disk consumption is more than 500MB. The following command works as expected.

cd /home/ && du */ -hs
68K ajay/
902M john/
250M websites/

From the above example, only 902M john/ should be returned.

How can I make the find command output the same results?

View 4 Replies View Related

Ubuntu :: Tried Playing DVD In Movie Player / It Froze Up / Huge Loss In Free Disk Space

Feb 28, 2010

I tried playing a DVD several times and each time, after opening in Movie Player on Ubuntu 9.10, it froze up, I forced quit and then I noticed a huge reduction in free disk space on my root (/) directory. Has this happened to anyone else?I figure I Movie Player probably saved some temp files somewhere on hard disk and wasn't able to clean them up since I had to force quit. Any thoughts about how to clean this up and take back that previously free space?

View 9 Replies View Related

Slackware :: Huge Amount Of Groups (LFS Built)

Feb 19, 2010

Does anyone notice that Slackware's user/groups is cluttered with things no one will ever need, do you need be to be part of the slocate group? like really? Why doesn't every program just have its own group then, I look at my distro (LFS built), SuSE and some others and I can't help but notice the huge amount of groups in slackware, if you going to add groups for everything then why in the universe do we even need sudo for? Just make the binary you want to work a group and change its ownership..... wtf is Pat and the rest of Slackware doing?

View 14 Replies View Related

Debian :: Upon Logging In - Get A Huge Amount Of /dev/null - Permission Denied

Mar 16, 2009

I've all of a sudden been getting permission denied for almost everything I try to do. Upon logging in, I get a huge amount of "/dev/null: Permission denied"

The only way I can manage to get to the terminal is by Ctrl-C. It never brings up the command line, unless I do that.

If I try to startX, I get errors, also saying permission denied, and then one that says


I also get many "failed" errors when booting, most of them saying that a file could not be found/located.

Check the thread link at the top for other information in the first post.

I could reinstall Debian, but the computer I am using is a Libretto 110CT (64MB RAM), which has only a PCMCIA drive, for which I have a USB port replicator. There is no CD drive.

It was also a custom install fitted for the computer, so I'd rather not have to set everything up again, nor would I know how to exactly, as I've never done it before.

View 7 Replies View Related

OpenSUSE :: Firefox 3.5.x Takes Huge Amount Of Time While Adding Addon

Dec 17, 2009

When I search addons with firefox, it takes 4 mins to connect to server, and after approving to ad it, it again takes that much time to connect to download. While downloading it's ok, but connecting to server takes time. This is for all addons. Is there any body having same issue?

View 7 Replies View Related

Ubuntu :: Increase The Amount Of Space?

Jun 16, 2010

When I installed Ubuntu(with W.U.B.I) it gave a set amount of space, unfortunately I have come near the end of the set 15GB's I was just wondering if there was a way to increase the amount of space ubuntu can use

View 9 Replies View Related

Ubuntu :: Log Files Eating Hard Disk Space?

Jan 29, 2009

running ubuntu 8.10 amd64 on my HP intel 2.26ghz dual core processor, 320gb hdd and 4gb ram. My main problem is that when I dual booted ubuntu onto my laptop, I had vista already installed, so I only set aside 20GB of hard disk space for ubuntu, which seems like more than enough to me. What's going on is that it says I have used all my space and only have one GB left, when the only thing I have on my computer are word files and necessary installs like flash player, compiz, avant, etc.When trying to hunt down what was using all my space, first I checked out the disk usage analyzer (some pics from here in):theres my hdd with 1/19 gb remaining here's a breakdown of my home folder, showing that it's not using very much at allhere's my filesystem, now we can see that all the space is being used in the folder: /var

View 9 Replies View Related

Ubuntu Installation :: Changing The Amount Of Hd Space?

May 13, 2010

I have a 250GB HD which has windows on 230GB and Ubuntu 10.04 on the other 20GB--Everything works 100% however i'd like to give Ubuntu some more of the free HD space that windows is using-Can that be done without formatting either OS?

View 1 Replies View Related

General :: Low On Disk Space - Looking For Biggest Files?

Nov 10, 2010

I seem to be running low on disk space on my linux server. 'df' shows about 82% usage on a stock CentOS install with sendmail. I routinely delete old email directories, but for some reason, I stay pretty high in disk usage. Is there a fancy little bash script or something I could run that would find the biggest files and I could go get rid of them?

View 3 Replies View Related

General :: Distro That Needs Least Amount Of Space

May 22, 2011

Does anyone know which distro does not need too much space.I have 4G and so far lubuntu and unbuntu both need 4 or more.

View 14 Replies View Related

Ubuntu :: Reserve Large Amount Of Space From New Partition

Mar 5, 2011

In gparted I have the following stats for my /home drive

size: 824 gb
used 75.51 gb
unused 748.59 gb

Now when I view this in nautilus it shows something else: remaining free space as 709 gb. My question is what happened to the 40gbs? the 75.51gb are my files, but where did the 40gbs go to? Because 709 (total remaining) + 75 (my files) + 40 (mysteriously lost gbs) = 824gb. When I first made the partiton, it was a 824gb partition and ubuntu had automatically at that point reserved about 40gb for something. Does anyone know why Ubuntu reserved this space?

View 4 Replies View Related

General :: Bash - Compressing Files Despite Low Disk Space?

Jul 18, 2011

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 good ways to start to compress batches of them (or all of them) in the background given the limited space? The problem with compressing the folder all at once is that I wouldn't have enough disk space for that. It seems the process needs to be broken down into chunks. So maybe something like: Get a list of all the files Add a chunk of the files (say, 20) to a compressed archive. Once it is done and saved successfully, delete the chunk of files

View 2 Replies View Related

General :: Disk Full Deleted Files But No Space Available

May 3, 2010

My main storage partition got full, so I'm deleting files to make room. However, df -k keeps reporting no space available on that partition (/disk). Here's the output of the command several minutes apart while another process is deleting a 30G of space:What can I do to make the space available immediately?

View 4 Replies View Related

Ubuntu :: Deleted Photorec Backup Files Taking Up Disk Space?

Mar 13, 2011

I used photorec to recover lost files and it brought up 70gb worth of files, when I was done looking through them I deleted these files. but these files still seem to be taking up my disk space. When I try to access my trash bin with root I get a message that reads...."The folder contents could not be displayed. sorry, could not display all the contents of "trash": operation not supported." if I open my trash bin when I'm not in root, the bin is empty.

How do I free up my disk space?

View 8 Replies View Related

Ubuntu Servers :: Allocate A Limited Amount Of Space For Each User?

Oct 1, 2010

it is possible if i can have sub-users in my server and can i allocate a limited amount of space only. For example i am the root of server and now i can add another user with name john and he should be able to use only of 2GB out of my total hard-disk.

View 4 Replies View Related

Ubuntu :: What Ever Happened To Use The Largest Amount Of Continuous Free Space

Jan 8, 2011

After a terrible problem I had with x-server, I decided to opt for a clean install. So, naturally I poped in the 10.10 LiveCD (from Canonical), deleted the Ubuntu Partiton (ext4) and swap, and entered the installer. I have a 40gb Vista partition, 90gb media partition, and 20gb unallocated free space. Once I get to allocate drive space in the installation, I get three options - Install alongside other operating systems, erase and use the entire disk, or specify partitions manually. If I click install alongside other operation systems, it tries to take space away from my media partition to install ubuntu. I'm not too advanced with Ubuntu, so I don't think I'm going to specify my own. I don't know how much to give swap etc, etc, etc.What ever happened to use the largest amount of continuous free space? I have 20gb free I would love ubuntu to use.

View 2 Replies View Related

Software :: Creating A .deb File That Extracts Files To Pre-determined Directories?

Oct 21, 2010

I am wondering how I would go about creating a .deb file that would extract it's contents to two different folders. I would have one file directory that should be extracted to /opt and I have a second that should bextracted to the current user's home folder and /etc/skel - How would I go about doing this?

View 1 Replies View Related

General :: Top Not Show Correct Swap Space Amount / Why Is This?

Sep 27, 2010


but 'top' shows 2GB of swap...

top - 18:38:42 up 4:22, 5 users, load average: 0.54, 0.61, 0.64
Tasks: 369 total, 1 running, 368 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.4%us, 1.4%sy, 0.0%ni, 86.9%id, 3.4%wa, 0.0%hi, 0.9%si, 0.0%st
Mem: 33265832k total, 24859468k used, 8406364k free, 379892k buffers
Swap: 2031608k total, 0k used, 2031608k free, 2030328k cached

Why is that?

View 6 Replies View Related

General :: Running DF Command - Huge Space Between Columns

Jul 13, 2011

I am running the command on a Mac but due to it being a generic unix command and a command line query.. I thought I can write on this forum.. I am running the command

df -h | grep '/dev/'
I get
/dev/disk0s2 389Gi 62Gi 327Gi 16% /
/dev/disk0s3 76Gi 24Gi 52Gi 32% /Volumes/Backup
/dev/disk3s2 500Gi 47Gi 453Gi 10% /Volumes/Misc
Note the huge space between the 1st and 2nd Column..

This is because currently I have some NAS drives mounted which are not showing due to grep. When they are not mounted. The output is fine with equal spaces between each column (like between col 2 and 3.. or 3 and 4). I want to do a (dare I say) sed or awk or something to reduce the space between 1st and 2nd col. So that it has space like between col 3 and 4.. or 2 and 3. This is because I am showing this output somewhere and because of the space its not showing up correctly.Also I hope the command will still work when the NAS drives (afp) are not mounted.. basically consistency. The spaces are not showing properly in the quote tag. Changed it to CODE tag.

View 12 Replies View Related

General :: What Is The Amount Of Space After Formatting For Ext4, Ext3, And Ntfs

Jun 12, 2011

I have just purchased a 2TB drive for my server and I was trying to get an idea of the differences between these file systems or other file systems out there. What is the amount of space after formatting for ext4, ext3, and ntfs?

View 4 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved