LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2008, 10:33 AM   #1
abylin1
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Rep: Reputation: 0
question marks show when doing ll


Hello,

I did an "ll" and this is what I see:

drwxr-xr-x 3 root root 4096 Jan 10 09:55 lost+found
?------ ? ? ? ? ? mount

What are the question marks about?

Thanks,
Mimi
 
Old 01-10-2008, 04:37 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Most likely some fs corruption. What file-system is that on?
Can you stat the file?


Cheers,
Tink
 
Old 01-11-2008, 07:44 AM   #3
abylin1
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Original Poster
Rep: Reputation: 0
Hello,

Since I'm a newbie, I'm assuming you meant for me to do a stat -f <filename>. ?? The FS type is ext3. When I did the stat -f filename command, I got this:
stat: cannot read file system information for '<filename>': Input/output error

I also tried removing the file (if that's what it is), and I get this error:
rm: cannot lstat '<name>': Input/output error

Then if I try to remove it using rmdir <name>, I get this error:
rmdir: '<name>': Not a directory

How do I get rid of it??

Thank you

Last edited by abylin1; 01-11-2008 at 10:35 AM. Reason: more info
 
Old 01-11-2008, 01:18 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The input/output error is a worry. Chances are there's bad
hardware involved. Can you check the output of dmesg after
you try the rm (again)?


Cheers,
Tink
 
Old 01-11-2008, 01:46 PM   #5
abylin1
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Original Poster
Rep: Reputation: 0
Hi Tink,

Nothing in dmesg after trying the rm command again.

MM
 
Old 01-11-2008, 02:43 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by abylin1 View Post
Hi Tink,

Nothing in dmesg after trying the rm command again.

MM
But you're still getting the input/output error when doing it?
 
Old 01-11-2008, 03:29 PM   #7
abylin1
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Original Poster
Rep: Reputation: 0
Yes, I am.
 
Old 01-11-2008, 03:58 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I'd boot from some LiveCD and run fsck on that filesystem.
 
Old 01-15-2008, 02:45 PM   #9
abylin1
LQ Newbie
 
Registered: Jan 2008
Posts: 19

Original Poster
Rep: Reputation: 0
I did a rm -f <name> and that force-removed it.
 
Old 01-15-2008, 02:54 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And the fsck from a live-CD? A forced removal of an unwanted file is certainly OK,
but I'd be concerned about the data integrity none the less...



Cheers,
Tink
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two question marks next to unopened messages in KMail Aleksandersen Linux - Desktop 1 02-11-2007 06:14 PM
root can access a partition and see owners/groups/perms, user gets question marks lurko Debian 2 10-05-2006 11:30 AM
Quotes as Question Marks in Thunderbird. Matir Linux - Software 2 07-11-2005 02:54 PM
cdrom. contents show up as question marks extrasolar Linux - General 4 01-02-2005 01:50 PM
Apache Changing Quotes to Question Marks tictocdoc Linux - Networking 3 05-16-2004 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration