1753808 Members
8445 Online
108805 Solutions
New Discussion юеВ

Re: diskspace

 
SOLVED
Go to solution
Asif_8
Regular Advisor

diskspace

/dev/vg01/lvapp 62427136 54361140 7946988 87% /app

/app
apache, lost+found, oracle
# du -sk apache
1511168 apache
# du -sk oracle
30288492 oracle

as per above screen short of /app file system show total space is 62G if i do du -sk /app that show 31799664 i do not find 21 G

thanks
9 REPLIES 9
Avinash20
Honored Contributor
Solution

Re: diskspace

Hi,

Please post the output of

du -sk /app

If there is a difference, then please let us know if you have recently deleted any large file

If yes, then this might be an issue with the files which is deleted but still unlinked since the DB was using it

NOTE: Bdf shows linked and unlinked files while du only shows linked files.

You could be able to find the PID is you have the crashinfo tool which you could get from HP on request

# ./crashinfo -ulinked

Thanks,
Avinash
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Asif_8
Regular Advisor

Re: diskspace

thanks for replay here is out

# du -sk /app
31799672 /app
Avinash20
Honored Contributor

Re: diskspace

As adviced, there are unlinked files,
You need to get the crashinfo which will help you to find the PID which is accessing the ulinked file

Stopping your application which accesses this FS will resolved the issue.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Asif_8
Regular Advisor

Re: diskspace

where i download crashinfo
Suraj K Sankari
Honored Contributor

Re: diskspace

Hi,

Did you tried with lsof if not then try .
how to use lsof http://sial.org/howto/debug/unix/lsof/

Suraj
Asif_8
Regular Advisor

Re: diskspace

Suraj K Sankari

Still i not solve the problem I down load lsof please help
Avinash20
Honored Contributor

Re: diskspace

I believe there is an option

# lsof -L
that will list the link counts of open files.
If the Link count is 0 then those are unlinked files
You could use the option to list all files and look for a zero
link count in the NLINK column
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: diskspace

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/man.html

+|-L [l] This option enables (`+') or disables (`-') the
listing of file link counts, where they are avail-
able - e.g., they aren't available for sockets, or
most FIFOs and pipes.

When +L is specified without a following number,
all link counts will be listed. When -L is speci-
fied (the default), no link counts will be listed.

When +L is followed by a number, only files having
a link count less than that number will be listed.
(No number may follow -L.) A specification of the
form ``+L1'' will select open files that have been
unlinked. A specification of the form
``+aL1 '' will select unlinked open
files on the specified file system.

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: diskspace

Hey check this itrc link.
This will help you

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236757302029+28353475&threadId=965285
"Light travels faster than sound. That's why some people appear bright until you hear them speak."