LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-15-2006, 03:55 PM   #1
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
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
 
Old 08-15-2006, 07:08 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
"fsck" or "debugfs / clri"
 
Old 08-16-2006, 01:09 AM   #3
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Original Poster
Rep: Reputation: 15
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 ?
 
Old 08-16-2006, 02:23 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.

Last edited by jlliagre; 08-16-2006 at 02:25 AM.
 
Old 08-16-2006, 08:54 AM   #5
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Original Poster
Rep: Reputation: 15
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
 
Old 08-16-2006, 09:48 AM   #6
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
input/output error lukman Linux - Newbie 1 06-11-2006 02:40 PM
input/output error bm1 Slackware 2 12-19-2005 01:34 PM
cp - error reading /mnt/cdrom/mpegav/avseq01.dat input/output error manishsingh4u Linux - General 2 10-17-2005 05:02 AM
Input / output error xviddivxoggmp3 Slackware 22 08-24-2004 12:47 PM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration