Df not updating --filesystem says its full

Hi everyone. I have the strangest problem. du says my home directory contains less than 100M. df says its full (1GB). Even though df says its full, i can still create about 50M worth of files there. Then when i delete the files, df still says the filesystem is full. Any help would be very much appreciated. This is OEL5 and the last thing i did was install sqldeveloper.
==========================================================
[root@ajax home]# cd /home
[root@ajax home]# du -h --max-depth=1
32K ./private
748K ./private
16K ./lost+found
36K ./private
13M ./oracle
32K ./private
14M .
[root@ajax home]# df -h |grep home
/dev/mapper/vg00-lvhome 992M 946M 0 100% /home
[root@ajax oracle]# cat TEST>>TEST2
[root@ajax oracle]# cat TEST2>>TEST
[root@ajax oracle]# cat TEST>>TEST2
[root@ajax oracle]# cat TEST2>>TEST
[root@ajax oracle]# cat TEST>>TEST2
cat: write error: No space left on device
[root@ajax home]# ls -lh TEST*
-rw-r--r-- 1 root dba 21M Aug 19 08:06 TEST
-rw-r--r-- 1 root dba 26M Aug 19 08:06 TEST2
[root@ajax oracle]# rm TEST*
rm: remove regular file `TEST'? y
rm: remove regular file `TEST2'? y
[root@ajax home]# df -h |grep home
/dev/mapper/vg00-lvhome 992M 946M 0 100% /home
So neither du nor df seems correct. Df clearly isn’t correct because I can create files and then after I delete them it still reports the same thing. Du doesn’t seem correct or I should be able to create about another 900M of files on /home

Hi DaveLehr,
One of the possibility is the file you removed for space was being used by some process/application.
Linux will allow you remove that without any warning.
After that, the file is invisible by "ls -l", or "du -h --max-depth=1"
but the space of that file won't be released until the last process who is using that file close it.
After that, you can see as you expect from "df -h"
since you've already rebooted ur machine, This is only one of the possibility. :)
see as below:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
9.5G 8.6G 377M 96% /
# dd if=/dev/zero of=zero bs=1M count=300
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
9.5G 8.9G 77M 100% /
# du -h --max-depth=1
301M .
# open another console and edit the file, don't close it
# vi zero
# lsof | grep "tftpboot/zero"
vi 15534 root 3r REG 253,0 314572800 196618 /tftpboot/zero
# rm -f zero
# lsof | grep "tftpboot/zero"
vi 15076 root 3r REG 253,0 314572800 196618 /tftpboot/zero (deleted)
# du -h --max-depth=1
76K .
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
9.5G 8.9G 77M 100% /
# switch to the other console and close it
# exit vi
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
9.5G 8.6G 377M 96% /
Message was edited by:
rwen

Similar Messages

  • The settings app is showing that there is an update but when i go to software update it says its full up to date. HELP?!

    my settings app has got the red 1 to say that there is a notification/update, but when i go to update it it says that i am on 6.1.4 and i am full up to date, what else could this notification mean?

    If the MBP is new why do you think it needs updating to 10.8.4? What version is currently installed?

  • Start up disk and hard drive almost full i have tried clearing things but it is not working it says its full from (other)

    Hi so I keep getting pop up messages saying that my start up disk is almost full. SO I go into my Macintosh and try to erase some things however it isnt freeing any space most of the storage has been filled up by the word (other). Not movies or music but (other) not too sure what it is? please help

    “Other" includes everything that is not audio, movies, photos, apps and backups.  In other words it includes the OS, mail, documents...  See http://pondini.org/OSX/LionStorage.html and What is "Other" and What Can I Do About It? and Apple Support Communities https://discussions.apple.com/docs/DOC-5142
    Also see Where did my disk space go:  http://pondini.org/OSX/DiskSpace.html
    For hints on how to free disk/SSD storage see
    https://discussions.apple.com/thread/5872318?tstart=0
    and
    https://discussions.apple.com/thread/5939678?tstart=60

  • I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • I have a late 2011 macbook pro and it wont update the firmware to 2.7, it downloads the update then says its installing it but when i go back to software update it keeps coming up saying it needs to be updated

    I have a late 2011 macbook pro running OSX Lion, and it wont update the firmware to 2.7, it downloads the update then says its installing it but when i go back to software update it keeps coming up saying it needs to be updated. Im wondering what can i do to stop this or get it to update.

    Once it is downloaded you need to restart the computer if it does not restart automatically. When it next starts up you should note a progress bar appearing below the Apple logo. When done the computer will restart once more. The new firmware should now be installed.

  • I have purchased Adobe expert PDF and in my order update it says its available in my downloads but when I go into my downloads there is nothing there

    I have purchased Adobe expert PDF and in my order update it says its available in my downloads but when I go into my downloads there is nothing there

    That is my problem when I click the link to access my download there is no download available on my account.  I purchased Adobe exportPDF 6 days ago but never got an e-mail to confirm that my payment had gone through and that it was available to download although the payment has been deducted from my visa card.  I went through the FAQ and was directed to my account which showed that the payment was confirmed and export PDF was available to download. I followed the link to my downloads but it says I have no downloads.  So the transaction is showing in my subscriptions but not in my downloads section.  My order number is AD005040367IE.

  • Apple TV says its full, but hardly anything is on there....

    ARG!  I lost everthing on my apple tv!  Turned it on, nothing there.  So, I started to download some new shows.
    Now it says its full when I hardly have anything on there.  I'm not interested in getting my old stuff back. Just want
    to download new stuff.  I do not sync with my imac, just download directly to the apple tv.  I'm wondering if there is stuff
    hiding on there somewhere to make it feel like its full.  Any idea how to fix this? 
    Thanks!!!
    S

    You might start by restarting the Apple TV by removing ALL the cables for a 30 seconds.
    If this doesn't help you need to sync with your mac. I'm not sure whether you mean you have never synced with your mac or you just don't do anymore. You may have lost everything I don't know at this stage only connecting to your mac will tell you. You may see a huge amount of other, you may be able to transfer some or all of your content to iTunes.
    If you really don't care about anything that might or might not be on there and a restart doesn't help, all you need to do is carry out a factory restore from the settings menu (assuming the problem is recoverable)

  • Can not update tab if its not the default sub-tab.

    Can not update tab if its not the default sub-tab.
    JDeveloper Version 10.1.2.1.0 (Build 1913)
    Hi. I have a problem with a “lovOpenWindowAction”
    The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
    The lovOpenWindowAction lies in the included UIX-page
    The sub-tab I have a problem with has a table with users. Then I have a “Create New” button than I want to click on and select a new user that should be included in the table in the sub-tab.
    When I click on the button I open a LOV-window. Here I select the user that I want to add.
    In the LOV Action-class I save my new value in the database. Then in the method “onLovUpdate” I update the iterator with the new values from the database.
    But in my GUI the subtab is not updated until I click on it.
    But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
    Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
    <tableActions>
    <button text="Create New" id=" createNewRollperson" accessKey="N">
    <primaryClientAction>
    <lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
    source=" createNewRollperson "
    targets="joinedRollpersfiskeer message"/>
    </primaryClientAction>
    </button>
    </tableActions>
    Here is some code from the master UIX-page
    <subTabLayout id="flikar">
    <subTabs>
    <subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
    <contents>
    <link id="resorFlik" text="Resor"
    disabled="${sessionScope.fiske.id == null}"
    selected="${(param.source == 'resorFlik') or empty param.source}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="resorFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    <link id="rollpersonerFlik" text="Rollpersoner"
    disabled="${sessionScope.fiske.id == null}"
    selected="${param.source == 'rollpersonerFlik'}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="rollpersonerFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    </contents>
    </subTabBar>
    </subTabs>
    <contents>
    <switcher childName="${param.source}"
    defaultCase=”ResorFlik">
    <case name="resorFlik">
    <include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
    </case>
    <case name="rollpersonerFlik">
    <include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
    </case>
    </switcher>
    </contents>
    </subTabLayout>
    What am I missing?? I can’t have this subtab as the default subtab! Please help me with a solution!

    hi,
    Change the condition type to manual entry.
    or
    for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
    Thanks & Regards,
    Kiran

  • Hi. My itunes library is in current 10.5.2 but my old ipod touch 4th or 3rd gen is not updating at all its still in current 4.2 and there is some apps i cant download that requires a 4.3 update but in my itunes it wont. Please help!

    Hi. My itunes library is in current 10.5.2 but my old ipod touch 4th or 3rd gen is not updating at all its still in current 4.2 and there is some apps i cant download that requires a 4.3 update but in my itunes it wont. Please help!

    Are you sure you have a 4g/3g iPod?   If you don't have a camera, it's definitely not 4G.  If it has no camera and is 8 or 16 Gb it is a 2G and can't go beyond 4.2.1. 

  • I tunes will not update it says before i open itunes it wasent installed correctly but i dont want to lose everything i have how do i fix this?

    i tunes will not update it says before i open itunes it wasent installed correctly but i dont want to lose everything i have how do i fix this?

    It looks like you may have to reinstall itunes.
    There are multiple things you should uninstall (and in a certain order) according to apple.
    Also, even thought your music and itunes library information should not be affected in the uninstall, I would strongly recomend backing it up. Go to where you keep your music files and make sure you back up everything in the folders "itunes" and "itunes music".
    The directions for the reinstall are here: http://support.apple.com/kb/HT1925 They include what to uninstall and in what order. This is for itunes 9 and earlier, but I think it is the same for itunes 10.

  • HT204053 i photo will not update it says it was either bought under another apple ID or cancelled but this is not the cas

    i photo will not update it says it was either bought under another apple ID or cancelled but this is not the case, what do i do?

    Which iPhoto version and MacOS X version did you update from? Did you previously have iPhoto 9.5.1 and Mavericks installed or earlier versions?
    Did you use a different Apple ID when you set up the Mac? If iPhoto came preinstalled, it will be bound to the apple ID you first used, when you set up your  Mac.

  • I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    iOS devices do not have the BT profiles that support file sharing and othr general functions. See:
    iOS: Supported Bluetooth profiles
    Basically it support headphones, keyboards, speakers, peer-to-peer gaming

  • How do I activate Acrobat XPro- I've installed CS6 Premium on my new computer and Acrobat does not work and says its not activated. How do I resolve this problem?????

    How do I activate Acrobat XPro- I've installed CS6 Premium on my computer and Acrobat does not work and says its not activated. It is listed on the programs on the computer but will not respond. How do I fix this?????? Help Adobe?????

    Hi t0m#2410,
    How did you install Acrobat, did you install it as a part of Suite installation.
    If it is a part of suite then deactivate suite uninstall Acrobat, Reinstall Acrobat using Suite media. Launch Photoshop first and Activate.
    Then try launch Acrobat.
    Regards,
    Ajlan Huda.

  • I pod says its full but i can't access anything

    Hi guys
    Is there anyone out there who can help. I recently had some trouble with my imac and needed a new harddrive. i backed up my files onto my fifth gen ipod and reintalled everything fine. However now my ipod thinks it isstill full I removed all my data after my computer was fixed. Nothing shows in its finder window and nothing comes up in its itunes folder but it clearly says its full on the bottom bar of itunes and when i 'get info' in the finder window.
    Any ideas greatly appreciated.
    Thanks
    darch

    I suggest you send it in. Do it before something else happens. Call 1-800-275-2273 and set it up. I'd hate for you to be stuck w/ it if anything else happens to it & they won't honor the warranty.

  • The updates to creative cloud are not updating, it says there is an error

    the creative cloud updates is not updating, it says there is an error, why is it not updating when it says there is an update.

    Hi Janice,
    Kindly tell us what exactly is the error message so that we can assist you approptiately.
    Meanwhile, try the following link.
    Troubleshoot update issues | CS5, CS5.5, CS6
    https://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    Thanks,
    Atul Saini

Maybe you are looking for

  • Iphone 4 is not recognized as a device by itunes on mac

    itunes does not recognize my iphone 4 as a device. I've seen this problem resolved for pc users, but I have a mac book. When I have new photos, the mac recognizes the camera. Without new photos, the mac does not recognize when I plug in the phone at

  • Bluetooth Driver In Windows 8.1 is Not Working [Model :- F0D96EA#ABV]

    Bluetooth Driver In Windows 8.1 is Not Working [Model :- F0D96EA#ABV]  When I connect the phone he load and then says no connect

  • Moving my iTunes to an external drive

    I would like to free up space in my macbook pro. I have followed the procedure as outlined for moving the iTunes music library to an external drive i.e.. changing the preferences to point to the external drive, copying the iTunes folder to the extern

  • Flash player will not display any content, IE 7

    Need help troubleshooting this issue. When launching a video IE 7 keeps request to install the latest version. I have installed the latest version, it appears that it is install ok, however no videos will play, I keep getting requested to install the

  • Object oriented programming on PXI-System

    Greetings, i've developed some object-oriented LV classes, wich i've succesfully tested on my desktop pc. The next step would have been to test them on a PXI-controller. However, the LV 8.20 methods of object oriented programming seam to be incompati