Solved

File Systems problem

Posted on 1997-07-03
3
191 Views
Last Modified: 2010-05-18
During the last weeks, in which the cpu (i585 120mhz) of
my machine has been heavily loaded (steadily 100% cpu busy),
i noticed two weird facts
- after 8-9 days, the system claimed the / and /var file
  system to be readonly. They were, in effect; root couldn't
  create or modify any file in those directory.  log files
  in /var/log had not been updated since one day before.
  Strangely 'ls' command showed the correct access privileges
  for /var and /:
  %% ls -lF  /var -d
   > 1 drwxr-xr-x  15 root     root         1024 Jun  9 19:32 /var/

  'df' accessed correctly to all file systems, too.
  Yet all programs that require accessing to data in those areas
  were in troubles (mail programs, man, etc.; not even /etc
  could be accessed, of course).
  I got out of troubles using remount with options:
  %% mount -n -o rw,remount  /
  %% mount -n -o rw,remount  /var

  I guess this problem is connected to the extreme loading of the
  machine, but i am not sure. Can anybody explain me what has
  happened?
  What is the best way to monitor the system, so as to be able to
  restore the normal situation as soon as possible?

- two local directories ~/var and ~/etc disappeared one night (that
  is, they were not detected by 'ls' any more) and came back the
  day after.
  How can it be? What can I do in such cases?

Thank you for you comments
Paolo Pumilia

0
Comment
Question by:ppol
3 Comments
 
LVL 1

Expert Comment

by:aecooper
ID: 2006511
Make sure that the file system is stable, have you run the fsck command (or equivalent)?

Any hardware problems? Disk driver cache conflicts? Has this problem only arisen recently?
0
 
LVL 1

Accepted Solution

by:
sundancer earned 100 total points
ID: 2006512
Sounds like your are running Linux kernel 1.2xx.  If so, get it!

If not, how about some OS details?
0
 

Author Comment

by:ppol
ID: 2006513
Linux kernel 2.0.27 is running on my machine
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now