LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot stat Input/Output error (https://www.linuxquestions.org/questions/linux-general-1/cannot-stat-input-output-error-474166/)

cygnus-x1 08-15-2006 03:55 PM

Cannot stat Input/Output error
 
I am trying to tar a directory structure and there are 2 files (or something) in the directory that make tar stop and puke. When you do an ls -l the line reads like this:

?--------- ? ? ? ? ? iwssd.shmid
?--------- ? ? ? ? ? iwssd.pshmid

If you try to ls -l the file (or tar it) I get "Cannot stat Input/Output error". As root I cannot remove or stat the files and the application that I believe created is not running nor can it be started.

What options do I have for removing these files?

thanks

Doug

jlliagre 08-15-2006 07:08 PM

"fsck" or "debugfs / clri"

cygnus-x1 08-16-2006 01:09 AM

Could you be a bit more specific please. What is my desired goal with these commands ... deletion of the files I assume? What exactly are these files ... it looks like some shared memory file but I thought that was in /dev/shm ?

jlliagre 08-16-2006 02:23 AM

Quote:

Originally Posted by cygnus-x1
Could you be a bit more specific please.

I'll try.
Quote:

What is my desired goal with these commands ... deletion of the files I assume?
Yes, I understood that was what you were asking for.
Quote:

What exactly are these files ... it looks like some shared memory file
Possibly.
You should know better than the rest of us from where these files are coming. Is this an application specific directory ?
Quote:

but I thought that was in /dev/shm ?
You can have pseudo files anywhere, at least on most file-systems, having them in /dev is just a convention.

cygnus-x1 08-16-2006 08:54 AM

Quote:

Originally Posted by jlliagre
I'll try.

Yes, I understood that was what you were asking for.

Good.
Quote:

Originally Posted by jlliagre
Possibly.
You should know better than the rest of us from where these files are coming. Is this an application specific directory ?

The directory is /etc/iscan. Its Trends proxy / antivirus suite. The suite contains 6 processes. One of these processes is iwssd which coincides with the names of the files.
Quote:

Originally Posted by jlliagre
You can have pseudo files anywhere, at least on most file-systems, having them in /dev is just a convention.

Thats fine too. I know when we did some shared memory with JNI on Slackware it seemed to be required that we load a tmp fs under /dev/shm.

But besides all that what am I supposed to do with the commands given? They have numerous options.


thanks

Doug

cygnus-x1 08-16-2006 09:48 AM

Since I m just now getting in front of a linux box to look at these commands I see tha clri is a command/option for debugfs. I assumed it to be another command/tool to try and this is why I was pressing on the options. I had not used debugfs before

I did get it to clear the files. I was actually presently surprised that it handled an LVM filesystem fine.

Thanks again. debugfs is a cool tool.


All times are GMT -5. The time now is 11:55 AM.