Thanks for the reply, it is a
file system, at this particular file system there is no NFS shares, but this whole file system is mounted via NFS on another server.
I did not reboot, yet, the complete mount point is as follows:
Most likely you (or someone else) has deleted a file which is still open (and probably written to) by a process. As long as this process holds the file open it will occupy its space. Only when the process ends it will really relinquish the held space.
The most surefire solution is to reboot the system, because this will end the process in every case. If you must not interrupt the systems operation you can also identify the process by using the "fuser" ("strace", ...) utility on the mounted device. Then kill the respective process (or, as aminimum measure, send it a "kill -1" so that it reinitializes).
I hope this helps.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
There is a common problem that there is a large open file that has been deleted. When a file is created, it writes an entry in the relevant directory so you can find it, but it is really a collection of disk blocks. The entry you can read in a directory is just a pointer to the disk blocks. The first block also contains what is called an i-node which holds information about the file, such as acces time, create time, modification time, permissions etc. Whilst the file is being written, those blocks will increase as the file needs.
If the file is still open as output by a program and someone issues a delete, all that will happen is that the directory entry that lets you see the file exists will get removed. The blocks are not freed until the file is closed, indeed the process can keep writing as long as there is space to write to.
Have a check of your manual pages for du to be sure, but you may be able to list it with:-
This will hopefully give you the processes that have open and deleted files in the filesystem. You can then choose if you want to terminate them, which will release the space back to the filesystem.
if this is not correct, you may need to use lsof to list all open files in /nikira and then loop through to see which ones are files, directories or other items you can list, and which are just an i-node reference, something like:-
It will probably take a long time to run with such a loop. Perhaps this will give better performance:-
..... but if there are submounted filesystems of perhaps symbolic links, that may be a problem as the i-node you are chasing may be used in the sub-mounted filesystem and therefore will provide a listing in /tmp/nikira_ls-laiR
@rbatte1.....yes, but since this filesystem is NFS shared and mounted by another node, that node could be doing the writing. If that's the case and you don't mind interrupting the remote users, unsharing and resharing will do it.
These 2 Users Gave Thanks to hicksd8 For This Post:
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
I have situation where my disk upon reboot, has its mount point as #
LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg
LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 512... (1 Reply)
I am learning AWK by trying out examples whenever I need a specific conversion. I would like to edit the 'before.txt' so that all the missing data points between 140-150 are added and shown as 0.
before.txt
145 2
148 13
149 17
to below,
140 0
141 0
142 0
143 0
144 0
145 2
146 0... (5 Replies)
Hi Guys,
I have Solaris 9 and RHEL 5 boxes I implemented script to send me an email when my mount point is > 90.
Now the ouput id like these:
/dev/dsk/emcpower20a 1589461168 1509087840 64478720 96% /data1
/dev/dsk/emcpower21a 474982909 451894234 18338846 97% /data2... (2 Replies)
Dear Gurus,
Could it be possible to have the output of df -k sorted? The df -k output messed up after recent power trip.
Also, is there any folders that I should look into to reduce the root size (other than /var/adm and /var/crash) after server crash?
Many thanks in advance.
... (2 Replies)
hi people,
I'm trying to create a mount point, but am having no sucess at all, with the following:
mount -F ufs /dev/dsk/diskname /newdirectory
but i keep getting - mount-point /newdirectory doesn't exist.
What am i doing wrong/missing?
Thanks
Rc (1 Reply)