Solved

File Systems problem

Posted on 1997-07-03
3
195 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX Server 10 87
UNIX SCP 5 78
Cygwin VIM in WIndows 2007: Unable to copy text to Windows 10 65
bash while loop reading input from data section in script 7 69
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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.

823 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