?
Solved

File Systems problem

Posted on 1997-07-03
3
Medium Priority
?
202 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

580 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