LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-02-2006, 02:17 AM   #1
me4sun
LQ Newbie
 
Registered: Aug 2006
Location: Vancouver
Distribution: Redhat
Posts: 3

Rep: Reputation: 0
Unhappy cant see but can read


Hi Guys
This is most surprising thing I have faced in last 1 year. I have RH-7.1 release which got shutdown because of power failure. After going for auto filesystem check, It came back fine. however there are lots of files which I can not see but these files are there and I can cat them or even edit them. e.g. If I do 'ls -la' on /var/log
I dont see messages or cron log files. however I can do
vi /var/log/messages or /var/log/cron. Similiary /etc/sysconfig/network-scripts can not be found but i can gointo that directory . lot of files are like this.
I tried using different shells. Same problem. I did fsck many times without any result. Any clues ?

Thanks a lot
 
Old 08-02-2006, 09:12 PM   #2
Simdude90015
Member
 
Registered: Jun 2004
Location: Pittsburgh, PA area
Distribution: Debian 3.1 (or variant... depends on which machine)
Posts: 72

Rep: Reputation: 15
if it's on ext3, try running updatedb.... I'm not sure what this does completely, but it helps with the locate command.
 
Old 08-03-2006, 01:43 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
perhaps your superblock has errors. try repairing the fs with the backup superblock.
Code:
e2fsck -p -b 8193 /dev/hdaX
. note that this command is only for ext2 or ext3. and also i do not guarantee anything. do 'man e2fsck' and 'man e2fsdump'.

Last edited by konsolebox; 09-23-2006 at 05:54 AM.
 
  


Reply

Tags
filesystems, linux


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
mozzla problems-can not read files online, can not read attachments sarajevo Linux - Software 1 09-20-2005 06:58 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 07:14 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM


All times are GMT -5. The time now is 03:59 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