I have a problem on an AIX 5.3 server on the occupation of a file system.
When i run a df -m, this is what i get :
And when i go in /EFED/appli (mounted point), i run du -sm . and i get this :
So I have 2200 MB of difference...
I also tried, in /EFED/appli, du -sm * | sort -n and if I add up all the values, i don't have my 3936.00MB...
I also noticed that some files have a different size if i run a ls -l and if i run a du -sm...
For example :
We can see it with ls -ls :
I found 2 files with this anomaly for the moment, but maybe it's a way of research.
Well, did you read the whole article, especially "Why the numbers do not add up" and checked the part for the commands fuser and fileplace as stated in the article?
Well, i found the solution to my problem.
It was, in fact, files that had been deleted but were still used by a process.
Therefore, it could not see the filesystem in question.
We can see it by run the command :
In the result, we can see the PID of the process that use the deleted file.
"/proc/<PID>/fd/..."
There was only kill the process in question and the file will be released, and the free space too.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
from memory, fuser should have been able to list that as well. and/or lsof (although i have only played with lsof, so someone else can verify/correct me.
This User Gave Thanks to MichaelFelt For This Post:
I am trying to do this with one small tweak. I would also like to use a space as a delimiter.
sed 's/ */\
/g' file
This is what my file looks like.
server1, server2, server3
server4 server5 server6
I would like it to look like this.
server1
server2
server3
server4 ... (6 Replies)
Hi,
I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache?
We are using AIX 5.3.
Thanks! (3 Replies)
Hi everyone,
i have a question about the Memory Management in AIX 6.1.
I have
- 128 GB RAM and
- 70 GB Page Space.
The application i am running on this machine is doing some operations in perl. These are done only once a day and uses both memory and paging space. My problem... (1 Reply)
Hi
I need to extend a FS in AIX but Im not sure on how to calculate the free space
Please advise if my math is correct:
-------PP SIZE: 64 megabyte(s)
--------TOTAL PPs: 1086 (69504 megabytes)
so the total size of volume is 64 * 1086 = 69504 MB (695GB)
Free PP is-- FREE... (4 Replies)
While doing cat on a large file (3 GB file) , I am getting the no space error in the shell script hugefile.sh.
Eg: for i in `cat hugefile.txt`
do
echo "$i"
done
error: hugefile.sh: no space
Please let me know your thoughts in handling this no space issue. (2 Replies)
While doing cat on a large file (3 GB file) , I am getting the no space error in the shell script hugefile.sh.
Eg: for i in `cat hugefile.txt`
do
echo "$i"
done
error: hugefile.sh: no space
Please let me know your thoughts in handling this no space issue. (2 Replies)
Hello,
I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete?
Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Host Name - xxxxxxx
IP Address - xxxxxxxxx
Alert Msg - The percentage of available storage space (DMXMemory) is low (49.54374442289481 percent).
Time received - 14:23
Time Logged - 14:55
Suggested Group - MR-UNIX (5 Replies)
I am trying to run the lscod command against an HMC that has managed system names with spaces.
Tried enclosing the managed system names in quotes; single and double.
How do I get the command to run?
ssh hmcname lscod -m 'managed system 1' -t cap -r proc -c cuod
Thanks,
~Donavon (0 Replies)