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



It's not really a lock issue. It's an open file reference. Using lsof, you can
get a list of processes with files open on the filesystem. You could use
something like fuser but it often misses stuff. And if the process with the
open file is important, a blast away killing of the process is probably not a
good choice.
If you can umount the filesystem, no process has any open access to it.


Mark Hunter
Anheuser-Busch Cos.
MIS Consultant, ES&SO Server Planning and Integration
*Office: (314) 765-2339
*Email: Mark.Hunter@xxxxxxxxxxxxxxxxxx

The information transmitted (including attachments) is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only for the
person(s) or entity/entities to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the sender and delete
the material from any computer.



________________________________

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



Thanks for the clarification Chris and Mark!



Any way to remove locks and free up space without having to reboot?







________________________________

From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of Leven,
Chris
Sent: Monday, September 10, 2007 3:49 PM
To: aix-l@xxxxxxxxxxxxx
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.


The information transmitted (including attachments) is
covered by the Electronic Communications Privacy Act,
18 U.S.C. 2510-2521, is intended only for the person(s) or
entity/entities to which it is addressed and may contain
confidential and/or privileged material. Any review,
retransmission, dissemination or other use of, or taking
of any action in reliance upon, this information by persons
or entities other than the intended recipient(s) is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.

JPEG image

JPEG image



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)