Operating System - HP-UX
1833869 Members
1747 Online
110063 Solutions
New Discussion

Re: system hangs when opening folder

 
Mark Vollmers
Esteemed Contributor

system hangs when opening folder

Hi, all. I've got a folder that is on our RAID drive (mounted on the server) that has been giving me problems. I noticed that when I go to run backup just now, the backup hung on a file in this folder. I went in (which I probably shouldn't have done) and deleted the file (actually, there were only two files, and I took them both out.) I could not open the file in question. I killed backup okay, but I cannot delete the folder. The system just hangs on the command, but I can ctrl-C out of it. I can cd to the folder, but the system (I was on a workstation) truly hangs when I ls, and it took out my server to boot. How can I get rid of this folder? Thanks!

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: system hangs when opening folder

First thing to do is fsck the filesystem to prevent possible other damage like same duplicate datablocks assigned to same inode.

If it ain't broke, I can fix that.
Luis Miguel Parra Chica
Occasional Advisor

Re: system hangs when opening folder

Hi,

It could be usefull for you to try to guess the process accessing to that file system. Execute " fuser -cu file_system_name " and you can see a list of the users and their process accesing to that file system.

Good luck
Touching that is DANGEROUS
Rajeev Tyagi
Valued Contributor

Re: system hangs when opening folder

Guessing one more possiblity. That folder may be containing large no. of files. So if you do ls on that folder it will hang and even if try to backup that folder it will take long time.
Try to filter out your files and remove them.
Mark Vollmers
Esteemed Contributor

Re: system hangs when opening folder

Thanks for the ideas! After I posted this, the RAID drive crapped out on me. I imagine that being unable to open the folder or delete it has to do with the fact that the drive controller went belly up. I'll know once I get it back up and running. Hopefully, it will work right. Thanks for the help.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"