?
Solved

Our unix system is becoming corrupted over time...

Posted on 1998-11-23
5
Medium Priority
?
232 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 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

777 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