Solved

Our unix system is becoming corrupted over time...

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 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…

708 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

17 Experts available now in Live!

Get 1:1 Help Now