Solved

Our unix system is becoming corrupted over time...

Posted on 1998-11-23
5
229 Views
Last Modified: 2013-12-06
We are having trouble with a lynxos (a real time flavour of unix) system losing blocks of data used by the kernel. Our system sits in an environment in which it is often reset or switched off without being shutdown properly. We are finding that the system seems to gradually lose functionality , ie over time we are are losing the ability to use the drivers. We believe that because the system is not being shutdown properly data that is sitting in the cache is not put back to disk, therefor we are gradually corrupting files necessary to run the OS. We cannot avoid our system from being shutdown in this manner. Does our theory sound plausible and how can we fix this problem to provide a reliable system?
0
Comment
Question by:fredi112398
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2008032
Your statement makes sense.

Can you add a cron which syncs the filesystem, lets say every 10 minutes.
This is not a solution, but reduces the amount of lost data.
0
 
LVL 3

Expert Comment

by:braveheart
ID: 2008033
Very few operating systems take kindly to just being turned off. Why do you have to?  Could you use an alternative system that always flushes its files to disk, or is it possible to disable caching in Lynxos? Of course that would have a performance penalty.
0
 
LVL 3

Expert Comment

by:elfie
ID: 2008034
If you're loosing data, do you mean loosing physical data on disk?
if so, are you running fsck when booting ?
0
 

Expert Comment

by:tgreaser
ID: 2008035
not to sound to simple but why not buy an UPS.
0
 
LVL 1

Accepted Solution

by:
dannyarc earned 200 total points
ID: 2008036
Power interruption damage nearly always logical filing structure, it may damage system phisicals too, not necessarily hard disk.
You have three ways:
1) to find the reason of the interruption. If external then contact your power station and you can establish agreements for being informed in time; if internal change your switches to support electrical load.
2) to change your system. It must become fault tolerant: hardware, with an UPS and/or changing your computer board's so as to be able to be replaced to warmth, with hard disks supporting RAID; software backing up your data frequently and on more supports and more copies possible.
3) to wait the disaster.

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

726 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