Solved

Our unix system is becoming corrupted over time...

Posted on 1998-11-23
5
225 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:
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…

863 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

21 Experts available now in Live!

Get 1:1 Help Now