General :: Which Files Are Taking Space To Make The Partition 68% Used

Jun 8, 2011

I have some confusion about one of my partition and the space it is taking. df -h output is given below;

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ddf1_ADVDTARTINGp1
494G 18G 452G 4% /

[code]....

above information is showing that /var/lib/mysql partition total size is 379 GB and it is 68% used. However when I execute command du -sh /var/lib/mysql it shows following output.

# du -sh /var/lib/mysql
45G /var/lib/mysql

Now I want to know what files are taking space to make the partition 68% used. I want to list down all files in that partition with size.

View 8 Replies


ADVERTISEMENT

General :: Find Which Files Are Suddenly Taking Up The Space?

Jul 27, 2010

I had this come up in logwatch: /dev/sda5 4.8G 3.6G 960M 80%/

Any ideas how I can find which files are suddenly taking up the space?

View 17 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

[Code]....

View 9 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 :: Make A Partition Of The Free Space Available From Windows Partition

Aug 18, 2011

i am following the installation process and its very unclear whether or not a dual boot will occur and how i can make a partition of the free space available from my windows partition etc....i dont want to go through the process and find myself losing all my data and my windows partition i also cant seem to select a partition less than 86% of the total capacity of hdd so im def sure they're not taking my dual boot desires into consideration.

View 1 Replies View Related

General :: Deleting Files In Ubuntu Doesn't Free Up Space On Partition

Dec 22, 2009

After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?

View 7 Replies View Related

Ubuntu :: How To Make Partition Out Of 50GB Free Space

Jul 2, 2010

I'm relatively new to ubuntu. I want to run ubuntu alongside my windows partition. I have shrunk the volume that leaves me 50 gb of free space for ubuntu. Will the system automatically set the system and mount volume sizes? If not can I have some tips on manually using the 50 gb to set it up.

View 1 Replies View Related

Ubuntu :: Managed To Shrink The Windows Partition To Make Space?

Oct 10, 2010

I recently installed ubuntu alongside windows 7 on my machine. I ardly know anything about partitions, but I managed to shrink the windows partition to make space, abd then use the ubuntu installer to create the ubuntu partition. But I hadn't realized that there were actually 3 Windows partitions - "Acer C:", "Recovery", and "System, Active, Primary Partition".

So I didn't know that I should have made the ubuntu partition "Extended", which means that I can't make new partitions anymore. Is there anything I can do without reinstalling ubuntu?

View 9 Replies View Related

General :: Scripting - Cp A List Of Files Which Starts With - Or Space Without - Or Space?

Oct 14, 2009

I have a list of files in a directory which starts with - or have space.

I need to copy them back without the space or -?

linux1[sim]% ls linux1[sim]% cp ./-* ./*

View 8 Replies View Related

Ubuntu :: When Looked At Partition Table, The Space Where The Partition Used To Be Is Now Unallocated Space?

Jul 18, 2011

I originally had an Ubuntu partition on my hard drive which occupied about half of it. I installed Windows 7 in the remaining unallocated space and I was planning on doing a grub update from a live cd afterwards. BUT when I looked at my partition table, the space where the ubuntu partition used to be is now unallocated space!

View 5 Replies View Related

Ubuntu :: How Much Space Folder Actually Taking Up

Aug 29, 2010

I have ubuntu install on a 500 gb drive. It says i have 409 gb free. I've been able to account for 40 gb, but when I try to check the folder proc, it lists 128 tb. How much space is this folder actually taking up?

View 1 Replies View Related

Ubuntu :: Deleted File Still There, Somewhere, Taking Up Space?

May 16, 2010

I recently made the dumb mistake of using tar to make a backup of my "/" on my "/" when my "/" didn't have near enough space to store the backup. I received a warning message, so I canceled the terminal process and used nautilus to delete what amount of the backup had already been saved. That didn't seem to free up any space on my "/" like it should have, though. In an effort to find any hidden trash files that needed to be deleted, I used this terminal command:

[Code]...

View 9 Replies View Related

General :: Script For Taking Backup Of Desktop Files

Apr 21, 2011

I have around 100 users. I want to take backup of files which are on desktop for every user. My user directory path is -: /home/dr/<user_name>/Desktop

1) Script has to run on a particular time everyday
2) Script has to take backup of all files present in "Desktop" directory
3) Make a tar with name "yyyy-mm-dd-desk-files"
4) Make directory outside "Desktop" with name "Desktop-Backup", if already exist then don't make this folder.
5) The tar have to moved in this folder.
6) Remove the files from "Desktop" directory. (i.e. Desktop should be empty)
7) Mail the status that "Backup Successful"

View 2 Replies View Related

Fedora Installation :: Vmlinuz Is Booting Into RAM And Taking Most Of The Space?

Sep 15, 2009

I have and IBM e-Server, with 256RAM, however when I force the fedora installation to be perfomr in grapgical mode, Anaconda return a message that say that I dont have enoght Memory to perform the graphical installation. To my uderstanding It requiere 192MB of Memeory for a graphical installation.

What I'm doing wrong?, or is that the vmlinuz is booting into RAM and taking most of the space?

View 1 Replies View Related

Ubuntu :: Volume Icon Taking Up The Space Of Two - Resize It Down?

Sep 13, 2010

Ubuntu 10.04.1 I was just tidying up my panel when I notice the Volume icon is taking up the space of two icons: I can right-click and Move it to the left or right

View 6 Replies View Related

Ubuntu :: Taking Up Extra Space In Hard Drive?

Jan 9, 2011

How much space does Ubuntu 10.04 take?

I have a 320 GB HDD I use for data apart from the regular HDD for the OS. Of course when you go to format it, it's actually 298GB. So I made a 248 GB partition, ext4 for ubuntu data, and a 50GB partition for Windows.

It shows as 248.01 GiB in size in GParted, with 217.27 GiB used. 30.75GiB unused.

When I go to Computer, right click on the partition, click Properties, it says Total capacity 244.1 GB, 18.3 GB free, 225.8 GB Used.

So:

1) Why does GParted show it as 248GB and the Properties as 244 GB?

2) More importantly: Why does Gparted show I've used 217.27 GBs, while the Properties show I've used 225.8 GB? What's going on there?

View 9 Replies View Related

Server :: How To Block Animated GIFs From Taking Up Space

Nov 29, 2010

My company recently started bouncing all .Gifs back to our linux server. Is there a way on my end that i can block this from happening so it stops taking up space?

View 3 Replies View Related

Ubuntu Security :: .encryptfs Folder Is Taking Up So Much Space - Getting Notifications Every Time Log In

May 20, 2011

When I reinstalled ubuntu I chose to encrypt my home folder (something that i've never done before) but now that I know it doesn't really make a difference i'd like to decrypt it because the .encryptfs folder is taking up so much space i'm getting notifications every time I log in.

View 7 Replies View Related

Software :: Postfix - Cache - Logging - Taking Up All Disk Space - Limit / Turn Off?

Feb 22, 2010

I'm working on a few servers running centos and using postfix. I don't know what the exact problem is, but we are having problems with the disk space being maxed out at 100 gigs. What we think the problem is...is that postfix is either caching or logging all the emails we send out. We sent 250k emails (500kb apiece) over the weekend and we were having trouble with that quantity. It seems some of those email were queued up for retry sending...but we didn't have sufficient disk space for that? Something broke - I'm not sure what.

What I want to do is to find and change the config file that has to do with postfix email retrying - possibly limit this (not sure if this will fix my problem). Or, turn off /limit any way that postfix logs/caches emails so that it won't take up all the disk space when queued up for retry... Again, I'm totally lost here (on both what's going on, and how to fix it). I'm not sure what more information is needed to address this problem

View 1 Replies View Related

Debian :: Create An Unallocated Space The Space Will Stay In That Extended Partition

Mar 20, 2010

my home partition is an extended one, and when i want to create an unallocated space the space will stay in that extended partition. but there is also an 7 gb unallocated space which i want to merge with the other unallocated space. I also cannot extend that partition over that 7 gb. how can i overcome that problem?

i m also uploading a screenshot of gparted.[URL]..

View 4 Replies View Related

Slackware :: Disk Space Lost- Root Partition Has Very Little Space Left

Jan 31, 2010

Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.

Here is the output of df -h:


Code:

As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?

If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(

In case you're curious, here's my /etc/fstab:

Code:

View 14 Replies View Related

Ubuntu :: Taking Ownership Of New Partition?

Feb 10, 2010

The previous writer gave instructions for editing fstab. He said to enter something like the following line in fstab:

/dev/hdb1 /media/harddrive ext3 defaults,errors=remount-ro,users,user_xattr,user 0 0

My partition is: /dev/sda7.
I created a folder in media: /media/8g
The file system is: ext2 (Do I need the "defults" instruction? What does this do?)
errors=remount-ro (I think I understand this)

[Code]....

He also said, after this was all done, to enter the command: sudo mount /media/[my new partition]

Since it's already mounted? What does this command accomplish?

View 9 Replies View Related

General :: Space In / Partition Running Out

Jul 27, 2011

I recently installed Linux Mint alongside Win 7 and following the instructions , I created seperate / and /home partitions. The more applications i install (I have installed a couple of big games) the less space i have in /. Is there any way I can install these in /home instead ? Or do i need to boot up with Gparted and increase my /partition. I only gave the / partition 10 gigs because i was advised that this was all i'd ever need.

View 4 Replies View Related

General :: Delete The Folders And Make Space To Continue

Aug 29, 2010

i have been copying dvd's and now i do not have enough room in my temporary folder,but i cannot find out how to delete the folders and make space to continue

View 7 Replies View Related

General :: 'make Menuconfig' To Make These Files Modules Rather Than Compiled Elements?

Feb 25, 2011

I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?

View 3 Replies View Related

General :: Merge LVM Partition With Unallocated Space?

May 25, 2010

I have a linux hard drive with three areas:

/dev/hda1 - ext3 boot partition (20 MB)
/dev/hda2 - lvm2 main partition (6 GB)
unpartitioned space - 12 GB

I would like to merge the unpartitioned space into the lvm2 partition known as /dev/hda2. I tried using GParted, but it does not support lvm2. What commands or utilities could I use to add the unpartitioned space to hda2 without losing my existing data?

View 3 Replies View Related

General :: Disk Space Used On Empty Partition?

May 26, 2009

The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.

View 7 Replies View Related

Hardware :: Taking Ownership Of A Auto Mounted Partition?

May 25, 2011

I am trying to auto mount a partition in /Stuffz but I am not able to take the ownership of the drive. This is a snapshot of my /etc/fstab

Code:

#
# /etc/fstab
# Created by anaconda on Thu Mar 10 05:24:50 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'

[code]....

View 1 Replies View Related

General :: Ubuntu - Adding Space To A Root Partition

Aug 2, 2010

I have some contiguous free space available next to where my root partition resides on the hard drive. I was thinking of resizing the root partition with gparted to take up this space, but it's kind of risky. I was wondering if there is another way to include this partition into my Linux partition without resizing? Like somehow link it in so that / will have more free space?

View 1 Replies View Related

General :: Move Unallocated Space From Primary To Ext Partition

Mar 27, 2011

The good news is I was able to shrink one of my partitions to create some unallocated space. The bad news is the unallocated space is on my primary partition, so gparted is not allowing me to use that space to create another partition since I already have two primaries and an extended. Any tricks to do that?

View 7 Replies View Related







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