1825805 Members
2862 Online
109688 Solutions
New Discussion

HFS FILE SYSTEM - 10.20

 
SOLVED
Go to solution
Suporte Tecnico
New Member

HFS FILE SYSTEM - 10.20

Hello,
I have a problem when I delete files in a FS full (100% used). The % used continue the same, as if it was full.
How Can i solve this problem, without reboot ?


Wolmer - BRA
4 REPLIES 4
Steven Sim Kok Leong
Honored Contributor
Solution

Re: HFS FILE SYSTEM - 10.20

Hi,

It is most likely that the file you removed was opened and is still being accessed by a process. Without rebooting the server, you can identify the process by using "lsof" which lists the open files and subsequently killing the process. It is a third-party program that has been ported to HP-UX and can be downloaded from any of the HP-UX third-party software depots on the internet.

Regards.

Steven Sim.
Anthony Goonetilleke
Esteemed Contributor

Re: HFS FILE SYSTEM - 10.20

There could be another reason you could have deleted a file that was mounted underneath the filesystem you were looking at. Do a bdf . just to make sure you are in the right file system before deleting the file.

Also in regards to the previous post a simply fuser -cuk /filesystem will kill al pid's attached to the filesystem
Minimum effort maximum output!
Rick Garland
Honored Contributor

Re: HFS FILE SYSTEM - 10.20

Do a cat /dev/null > before you remove. This way if the file is open by some process, you will be able to see fairly quickly. Also, in doing this process, you reclaim the spaced and then you can remove the file.

Don't have to do this for every file but it can be a safety feature.
Suporte Tecnico
New Member

Re: HFS FILE SYSTEM - 10.20

Thank you for your reply. The return of Steven Sim Kok Leong help me to solve the problem.

Wolmer - BRA