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


ADVERTISEMENT

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 :: Deleted File Space Not Released?

May 24, 2011

I updated my computer yesterday and ever since when I delete something from my second hard drive it no longer goes into the trash. It not only does that but does not release disk space so now I have a blocked hard drive. I have tried deleting .trash-1000 as root but that only created a folder called .trash-0 and did not do anything. I am running kubuntu lucid lynx kernel ver. 2.6.32-31-generic

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 :: 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

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

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

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

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

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 Something As Root And Did Not Get Space Back / Nothing In Root Trash?

Jul 22, 2010

So I transfered a few folders with videos in them to the public folder on an Ubuntu 10.04 laptop I have from my Ubuntu 10.04 64bit laptop. When I wanted to delete the folder I didn't have permission so I ran "gksudo nautilus" so I could delete it as root. So I deleted the folder but I did not get the space back!

I went to /.local/Shared/Trash and one of the folders I deleted was there but deleting it didn't get that space back either.

I did some searching but most of what I find doesn't help or tells me to look in the folder /.local/Shared/Trash folder but that didn't help any.

View 3 Replies View Related

Ubuntu :: Limit Log File Sizes - Log Files Are Taking Up Entire Harddrive

Mar 15, 2010

I just recently reinstalled (clean) Ubuntu 9.10 Karmic Koala last week. In that time, over 40GB of log files were created until the FileSystem was full. I then received a low disk space message and ran disk usage analyzer to find out that almost all of the 44GB I had free were taken up by the /var/log directory. I then preceded to delete the 5 largest files which freed up over 40 GB of space.

Basically I believe that I have two problems:

1.) The log files are logging too much information (40 GB in one week).

2.) I need a way to automatically limit the size of the log files. I have tried searching online for this solution and briefly came across logrotate but I don't believe that this will completely solve my problem as it only compresses and backs up older logs. I need something that will remove old log entries altogether. If logrotate is capable of this can someone please walk me through the process? I do not remember all five log files that were in question but they did include: messages, syslog, and daemon.log. I believe kern.log may have been involved too.

View 2 Replies View Related

General :: Fedora File Permissions Not Taking Effect?

Jun 27, 2011

I have a directory /models/ with the permissions

drw-rw-rw- 2 owner developers 4096 Jun 24 15:13 models

these were set with

sudo chmod -R 0666 *

My user has developers as the primary group (the same group as the file), but I cannot access the directory via the terminal or ftp.

[myUser@machine]$ id myUser
uid=503(myUser) gid=505(developers) groups=505(developers)
$ cd models
-bash: cd: models: Permission denied

I had the same problem before the directory belonged to my group, and I even went so far as to restart the server, without any luck. How do I set permissions to this directory so that I and other members of the group developers can access it?

View 3 Replies View Related

Programming :: Taking Back Up Of Log File For Running Process?

Feb 16, 2010

I am working in HP UNIX. I have one process which is running continuously.There is log file generated for the process. I want to take back up of file without loosing any logs after particular interval of time or say file size increases more that 1GB.

View 3 Replies View Related

General :: Recover A Deleted File Using The Ext3 File System?

Jan 10, 2011

I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.

I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.

View 6 Replies View Related

Ubuntu :: Find What File Is Being Used For A File Want To Deleted?

Aug 28, 2010

I want to delete a file but it says it's in use by another program. I forgot what the command was to look for it.

View 4 Replies View Related

Programming :: Bash Scripting - Taking User Input And Adding It To A Particular Area Of A File?

Jan 12, 2010

in bash scripting...say I want to take the input from a user via a question...I would do this:

Quote:

#!/bin/bash

echo "How large do you want this partition to be in GB (enter only the number)?" read PART_SIZE echo "You want your partition to be $PART_SIZE GB" But I don't want to echo it back to the screen, I want to add it to the content of /etc/fstab. I have been mucking around with sed to find the tmpfs partition in /etc/fstab and add the partition size attribute (this is to use the onboard RAM as a volatile partition)...but am not having any luck...

The portion of /etc/fstab that uses /dev/shm for the tmpfs partition is:

tmpfs /dev/shm tmpfs defaults 0 0

So, if a user says "24" GB to the answer (from above), how do I get it to automatically add that value to the tmpfs partition line in /etc/fstab? So it would look like:

tmpfs /dev/shm tmpfs size=24g,defaults 0 0

I understand that I would also have to come up with a way to put "size=XXg", which I could do with a copied over generic file before this action...then the script would have to find "XX" and replace it with the user's figure...

View 7 Replies View Related

Ubuntu :: Possible To Undo Deleted File In JFS?

Jan 13, 2010

Is there a way to undelete a just-deleted file in JFS? I can't seem to find any information on it. I'd have sworn I did this before but didn't save the steps.

View 1 Replies View Related

Ubuntu :: Recovering Deleted 9gb 7z File

Aug 17, 2010

A friend had a 320 gig hdd he wanted me to back up. I saved all the files in a folder "Documents & Settings" and even made a 7z archive out of it. I used a 1tb mybook and copied the files to it then tried to delete it. Now i had recovered the files using ubuntu, but moved them to my windows partition. When i got on windows 7 and tried to delete the directory "documents & settings" i got an error saying some files had names that were too large or something like that. So i went on ubuntu and deleted the files from my windows partition without moving them to the ubuntu partition.

Well my 1tb drive just broke so i lost the files on there. Now im trying to back the files up using ubuntu. I am running scalpel at the moment, and it hasnt found anything at all. I really dont know if i set up the configuration file right. I just started scanning my other hdd that contains the linux boot. It has just started so i am not sure if it will find anything or not.

But incase it doesnt, how do i set up the config file to find the file? There are two things i deleted off of my windows partition. a 7z file archive which was the 9GB directory "Documents and Settings" zipped, and the actual folder Documents and Settings.

View 1 Replies View Related

Ubuntu :: Prevent File From Being Deleted ?

Dec 31, 2010

I would like to ask if there is a way of preventing a file from being deleted, but still retaining the option of editing it. I know that I can set write access off with chmod, but that would also mean that I can't edit the file any more. What I would like to achieve is to make it impossible to remove a file on which I am working.

View 9 Replies View Related

Ubuntu :: Recovering Deleted File?

Apr 9, 2011

i have recently beingmessing about with a few of my own files(i realise that this was not very smart) and i managed to delete it from the trash. is there any possible way that i am going to be able to recover the folder that i deleted.

View 1 Replies View Related

Ubuntu :: Accidently Deleted / Usr / Bin / Ld File

Apr 12, 2010

lol title says it all, im pretty new with using ubuntu and was messing around, I honestly dont reember what i was trying to do, but anyway, it ended up with me deleting the /usr/bin/ld file, it didnt really change anything and everything performed as normal untill i tried to compile some c++ code a few days later. now its giving me the error, collect2: cannot find 'ld', ive been searching all over looking for how I can get it back or reinstall it, seems no one else was dumb enough to do what i did lol forgot to mention, its not in the recycling bin because I override the file, then deleted it..

View 3 Replies View Related

Ubuntu :: Recently Deleted File Recovery?

Jul 26, 2010

I recently accidentally (permanently) deleted a bunch of files off my computer. I used "foremost" to recover all my images, but there are still a bunch of videos that need to be recovered. The problem is that foremost seems to have also recovered a crapload of files from before i switched to ubuntu (i just removed windoze today) so i have a LOT of jpg images right now (over 400,000) and i don't want to deal with that many video files!How do i recover my recently deleted videos without getting a bunch that i don't want?? (can i specify the folder they were deleted from or something?)PS: i used this code to recover my picturesCode:sudo foremost -t jpg -i /dev/sda1

View 1 Replies View Related

Ubuntu Servers :: .htaccess File Keep Getting Deleted?

Jan 27, 2011

I am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess

[Code]...

View 7 Replies View Related

General :: Ubuntu - Recover A File Deleted Using Rm Command

Jul 9, 2010

How to recover a removed file under linux

Is there any free undelete software for the Mac?

I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.

Is there any way to recover it?

View 6 Replies View Related

Ubuntu :: Deleted A Php File Under My Public_html Folder / Get It Back?

Mar 5, 2010

I accidentally deleted a php file under my public_html folder. Is there a way I can get it back?

I typed: sudo rm contacts.php

View 2 Replies View Related







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