Solved

Files missing and corrupt.

Posted on 2006-07-20
6
222 Views
Last Modified: 2010-04-21
Hi,
We are running SCO Unix 6.0 on a RAID 5 (3 hard drives). We run Medical Manger on our unix server. From the past 3-4 weeks, we are having issues with medical manager such as files missing, and recently today a file with around 300 MB data is all lost and we have 0 MB file. We had to restore the original file from backup.

I thought its a problem with RAID controller and talked to HP. They did the diagnosis and confirmed that the RAID is error free.
Now I think there is some problem with unix file structures or something like that..Could someone throw some light on this issue.
Any help is greatly appreciated.

Thanks.
A.
0
Comment
Question by:arsmed840
  • 3
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 17166077
Hi,

some questions:
a) Is the RAID being handled with a hrdware RAID controller -- or in software?
b) What filesystem type do you have on the RAID? Is there only a single filesystem on the RAID device(s)?
c) When did you last reboot the system?
d) Can you post the /etc/fstab file contents and output from "mount", please?

Cheers,
JustUNIX
0
 

Author Comment

by:arsmed840
ID: 17169398
Hi JustUNix,

a) Is the RAID being handled with a hrdware RAID controller -- or in software?
I think its a heardware RAID controller, but I am not sure. Could you please let me know how to check this. I can contact HP to get this info.
b) What filesystem type do you have on the RAID? Is there only a single filesystem on the RAID device(s)?
 We only have SCO UNIX on this server.
c) When did you last reboot the system?
 3 days back
d) Can you post the /etc/fstab file contents and output from "mount", please?
There is no directory fstab under etc directory. Could it be with someother name under Unix ?

Thanks.
A
0
 
LVL 16

Accepted Solution

by:
Hanno Schröder earned 500 total points
ID: 17170692
a) When there is some RAID options being displayed and/or tested, you have hardware RAID. Also, when you have an adapter card with several (usually more than two) connectores to attach to disk drives.
b) What does a
      # df
    or
      # df -k
   display? (Of course, without the #)
c) That's fine.
d) /etc/fstab: It's a file, not a directory. It may also be called /etc/vfstab
    What does the command
     # mount
    display
0
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 17558734
Moderator,

I've tried to help the best I could but did not get the required information to do the neccessary troubleshooting :-(
0
 

Author Comment

by:arsmed840
ID: 17562432
We did a check on the file system and found some errors. Probably this fixed the issue.

                /etc/fsck -ofull <Enter>
                /tcb/bin/integrity -em > /tmp/integ.rpt <Enter>
                /etc/tcbck <Enter>
                /tcb/bin/authck -a -v <Enter>
                /etc/fixmog -v <Enter>

I am going to give points to justunix.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
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.:

747 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

13 Experts available now in Live!

Get 1:1 Help Now