Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

/sapmnt/SID is inconsistent with used space

Hi SAP gurus,

I have a problem with our production system with the directory /sapmnt/P01

when I issue the command df -h it shows that the directory has already accumulated 21G of space.

/sapmnt/P01 24G 21G 2.9G 88% /sapmnt/P01

but when I issue the command du -sh for this directory it only shows 9.3G of data is only being used

bash-3.00$ du -sh

9.3G .

inside the directory

bash-3.00$ du -sh *

68K admin

3.7M core

698M exe

8.7G global

152K profile

There is a difference of almost 11G of space used. There is no problem with the global directory since it is only 8.7G of data. Can anyone shed some light on where the 11G of data is?

Thank you and hoping you can help me.

Former Member
replied

Hello Marjorie,

> That is only the solution we are doing right now, to restart the system when we see the big discrepancy in the file size used

Yes, if this is an open file handle issue or if you can find out (see below) the particular process which has opened the file handle .. you can just restart this one.

> Although would we know what file is holding that space? or where it is being used?

Of course you can find it (by scanning the open file handles), but the implementation of "lsof" is very OS dependent.

You can check this link: http://www.ibm.com/developerworks/aix/library/au-lsof.html

Regards

Stefan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question