Operating System - HP-UX
1753963 Members
7339 Online
108811 Solutions
New Discussion юеВ

Free space of LVM is wrong.

 
SOLVED
Go to solution
Arkady_1
Advisor

Free space of LVM is wrong.

Hi. I use LVM v.1.0.3.

I do not understand following.

[root@gw-003 /]# du -hc /var | tail -2
92M /var
92M total
[root@gw-003 /]# du -hc /tmp | tail -2
54K /tmp
54K total

Then I do:
[root@gw-003 /]# df -h /tmp /var
Filesystem Size Used Avail Use% Mounted on
/dev/Volume00/LogVol05
124M 28M 91M 24% /tmp
/dev/Volume00/LogVol04
372M 92M 262M 26% /var

I do not understand why percent of use of /tmp filesistem more bigger in this case.

Thanks for any help.
4 REPLIES 4
Printaporn_1
Esteemed Contributor
Solution

Re: Free space of LVM is wrong.

Hi,

If you just remove files when those file still opened by a process , df will not reflect the change until all process close files lsof can help you detemine what process access those file.

HTH
enjoy any little thing in my life
Arkady_1
Advisor

Re: Free space of LVM is wrong.

Thanks for you!
Shyjith P K
Frequent Advisor

Re: Free space of LVM is wrong.

Hi

Is there any other file systmes (like /tmp/xxx) configured? If you give du from /tmp it will take this file system also.


Cheers
Shyjith
Arkady_1
Advisor

Re: Free space of LVM is wrong.

No, there isn't. I dont have any other filesystems in the /tmp filesystem.