LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-23-2008, 06:29 PM   #1
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Rep: Reputation: 73
Looking for insight on correcting this output from 'ls -l': ?--------- ? ? ?


I wasn't sure what location to post this so if there is a more appropriate location please move as seen fit. Thanks.


The closest I've been able to find around here is: http://www.linuxquestions.org/questi...xattr+returned
which is not quite what I currently have. Searching elsewhere online I haven't really been able to pin down my situation probably due to query shortcomings on my part.




I recently ran into a problem that I was unable to recover from without rebooting.

I started copying a large set of files (~1.4G worth of ~14-15MB files with a few <5KB files) into a directory. While this was copying (and I believe this was the cause of the hang) the system became non-responsive and I lost the ability to log in to any other shells (virtual-consoles, ttys, ...) to try to identify the problem and correct. After power-cycling and bringing everything up I noticed that the directory I created and was copying into now has no permissions on it and I am not able to remove it.

ls -l output for what should be a directory
Code:
?--------- ? ?       ?           ?            ? 20080218
and the directory 20080218 is blocked red, flashing directory name in grey (in case it matters)

in addition to that output of ls for this directory I see this entry in messages corresponding to it

Code:
kernel: inode_doinit_with_dentry:  getxattr returned 5 for dev=dm-7 ino=3440641

I have since created another directory 20080218-0 and successfully copied the files to it so the data is not a concern for me.

Another note, this directory is in the root of the mounted filesystem.


I'm sure there is a way to fix (remove) this but I just have not been able to find how. I have some speculation as to what may need to be done to correct it (theory not know-how) but would like to refrain from posting that so as not to focus anyones attention to it but rather leave it open for what you may think.



Have any of you experienced this? Were you able to remove it? How did you fix (remove) it?


If you would like more information if I left anything out please don't hesitate to ask and I'll provide what I can.


Thanks,
 
Old 02-23-2008, 09:14 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
If the partition that directory is on can be unmounted I'd run fsck over it. Otherwise, re-boot with a rescue CD and run fsck on it. If it's something corrupted in the file system, that should fix it. Otherwise can you post any error messages that are displayed during the check?
 
Old 02-23-2008, 10:19 PM   #3
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Original Poster
Rep: Reputation: 73
thanks. and boy is my face red...

i sat long enough to make sure that it started a forcefsck after passing the kernel option via grub from my power-cycle and then walked away; came back later to a login, figured it'd done its thing on all my filesystems and ready to go since didnt see any maintenance shell or error on the display.

sure enough though, i'd forgotten i set the fs_passno option in /etc/fstab to 0 for the filesystems on this disk and i can't for the life of me remember why. stopped/killed all the processes accessing the one with the problem in question, fsck'd it, fixing (deleting) the lost/orphaned/dereferenced inodes (the one referenced in messages), mounted it up and problem solved.

teach me to assume. and you can bet the fs_passno values have been set to be checked for them.

just needed a little push to question myself and what was actually done vs what i thought was actually done


Thanks again gilead!
 
Old 02-23-2008, 10:32 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
No problem - glad you got it working

I've been caught in a similar way, firing off processes and going to get caffeine while they (supposedly) run...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to use insight knobby67 Programming 1 08-16-2006 12:40 PM
need help in correcting errors urgently weifeng Programming 4 02-10-2006 12:26 AM
need help in correcting errors urgently weifeng Programming 1 02-09-2006 08:18 PM
Problem Correcting Dependencies Dip Linux - Software 4 12-25-2003 08:16 AM
Correcting e-mails in Evolution 1.4.5 finrold Linux - Software 0 10-29-2003 04:48 AM


All times are GMT -5. The time now is 12:23 AM.

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