Re: Difference in %Used in "empty" filesystem after reboot



Robet,

strange, I was thinking a solution in the same lines
of operation, but I would not bother to check whether
the filesystem was dirty or not, if it is not dirty,
then fsck will not modify it, it might take a while
thou...

also, a mount command would be needed after the fsck
command is done.

to detect open files on a specific filesystem, fuser
is your friend, but lsof still seems to do a better
job at it.

regards,
enrique.

--- Robert Binkley <leebinkley@xxxxxxxxx> wrote:

My first question is this an nfs mounted, or /tmp or
slink /var/tmp
have your tried to use fuser /mount point to see wht
fs are mounted
did you run fsck on any unmouted fs.
for blah in `mount -a 2>&1|grep "is dirty"|awk
'{print $5}'`;do fsck -y $blah;done

let me know
If running aix 5.2 there is an df patch
----- Original Message ----
From: "Leven, Chris" <Chris.Leven@xxxxxxxxxxx>
To: aix-l@xxxxxxxxxxxxx
Sent: Monday, September 10, 2007 2:49:15 PM
Subject: Re: Difference in %Used in "empty"
filesystem after reboot


File systems that had files deleted but not yet
available for the system to use ? once you rebooted
any locks that were still on those files were
released.

Chris Leven
Senior Programmer/Analyst
Garlock Sealing Technologies, LLC
1666 Division St
Palmyra, NY 14522
Phone: 315-597-3034
Cell: 585-704-0107
Fax: 315-597-7250
chris.leven@xxxxxxxxxxx




From: IBM AIX Discussion List
[mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of Vipin
Khushu
Sent: Monday, September 10, 2007 3:28 PM
To: aix-l@xxxxxxxxxxxxx
Subject: Difference in %Used in "empty" filesystem
after reboot

Have a filesystem that is reporting different
utilization statistics before and after reboot.

Filesystem was emptied using rm ?r
Command used to obtain statistics was df ?k.

Any ideas on why more space is available in the
filesystem after reboot?


1024-blocks Free %Used Iused %Iused
5701632 4727448 18% 204 1%

After Reboot

5701632 5522632 4% 16 1%

TIA




----------Legal Disclaimer----------
The information contained in this message may be
privileged and confidential, and is intended solely
for the use of the named addressee. No other person
is authorized to access, copy or re-use this message
(or any information contained herein). If you are
not the intended recipient, please notify us
immediately by replying to this message and delete
it from your computer.




____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222


--------------------------------------
"What you have been obliged to discover
by yourself leaves a path in your mind
which you can use again when the need
arises." --G. C. Lichtenberg

http://themathcircle.org/


____________________________________________________________________________________
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html




Relevant Pages

  • Re: df & du showing different usages for /var
    ... Filesystem Size Used Avail Capacity Mounted on ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
    (freebsd-questions)
  • Re: df & du showing different usages for /var
    ... Filesystem Size Used Avail Capacity Mounted on ... If you mean fix du and dh, there's nothing to fix, they're doing their ... the easiest thing to do is just reboot the ... space simply by restarting a single program: possibly Apache or qmail. ...
    (freebsd-questions)
  • Re: [Ext2-devel] Re: [RFD] FS behavior (I/O failure) in kernel summit
    ... >>it is regarding specified error conditions. ... However given the existence of USB drives and CDROMs with scratches I ... >users to read from rest of filesystem than to just reboot the node. ...
    (Linux-Kernel)
  • Re: prevent fs check after being up for a long time
    ... Issue was that i was told that as a particular filesystem has not been ... Another solution when you are going to reboot the system ... remount the file system 'read-only' and do a quicky fsck. ... Even the virtually unsupported RH9 has had two kernel errata ...
    (linux.redhat)
  • Re: Some Contents Unreadable" error still exists after checking HDD
    ... Rajev Mhasawade wrote: ... > I did use shutdown now -Fr command and it checked filesystem after ... and then reboot your computer. ... to mount a partition created in FC3 in an installation that came out ...
    (Fedora)