niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Tru64
File Corruptions
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
ghingres@yahoo.co.uk
*nix forums beginner


Joined: 14 Dec 2005
Posts: 1

PostPosted: Wed Dec 14, 2005 1:45 pm    Post subject: Re: File Corruptions Reply with quote

Hiya Nabil,

I'm taking it you're still using Ingres RDBMS and I would hope a
decent file system like Advfs to sit your database tables on ? If so,
what was the OS error posted when Ingres was accessing the table with
corruption ??

1. Have you checked your /var/adm/syslog.dated logs for anything
around the time your dbms first reported problems ?

2. Have you also checked the /var/adm/messages file ?

3. Any emails in root account ??

4. Were there any backup errors ?

If all are clear, depending on the file system you have storing the
data (e.g. Advfs) you could perform some checks (e.g.
/sbin/advfs/verify -a domain)..

If all of this checks out, test out a backup/restore to the tape
drive (to rule out tape drive problems) using the same scripting as for
your dbms backups...

If you've already ruled all of this out - is the restore corruption
limited to ALL backups or only recent.. you could try restoring from
older checkpoints and rolling forward using journals...

Hope this gives something to start looking at...

Gary
Back to top
Paul Blondel
*nix forums beginner


Joined: 13 Dec 2005
Posts: 1

PostPosted: Tue Dec 13, 2005 3:47 pm    Post subject: Re: File Corruptions Reply with quote

Nabil wrote:
Quote:
Our database reported table corruptions. When we tried to recover from
back up, which was a compressed tar file of several database data
files, the uncompress command reported the error - "uncompress: corrupt
input", when consulting with our system administrators, they quickly
pointed in the direction of the database since it reported the
corruption first.

What does "file backupfilename" show (if it exists in your O/S?


Quote:
Our (DBAs) argument is that true database
corruptions are logical and can only be visible to the database engine,
the OS would never know about true database corruptions such as (bad
leaf pages, dangling pointers, etc..) and the OS utilities would never
know about a native database corruption. Hence we are convinced that
the corruption which was firstly reported by the database was a
physical file corruption due the the I/O subsystem and was *NOT* a
native database corruption and that is why the uncompress also sees it
as a corrupted file.

The first bit looks OK to me, re. the second, check system messages
files and the log of your backup to see whether any error messages
were generated.


Quote:
Also files that we are able to uncompress, we are not able to extract
the datafiles from the uncompressed tar files, in this case, the 'tar
xvf' starts extracting several files then bails out with an error "This
does not look like a tar file, blah blah blah".

The backup hasn't been FTP'd around, has it?
Back to top
Nabil
*nix forums beginner


Joined: 11 Jun 2005
Posts: 12

PostPosted: Tue Dec 13, 2005 3:25 pm    Post subject: File Corruptions Reply with quote

Our database reported table corruptions. When we tried to recover from
back up, which was a compressed tar file of several database data
files, the uncompress command reported the error - "uncompress: corrupt
input", when consulting with our system administrators, they quickly
pointed in the direction of the database since it reported the
corruption first. Our (DBAs) argument is that true database
corruptions are logical and can only be visible to the database engine,
the OS would never know about true database corruptions such as (bad
leaf pages, dangling pointers, etc..) and the OS utilities would never
know about a native database corruption. Hence we are convinced that
the corruption which was firstly reported by the database was a
physical file corruption due the the I/O subsystem and was *NOT* a
native database corruption and that is why the uncompress also sees it
as a corrupted file.

Also files that we are able to uncompress, we are not able to extract
the datafiles from the uncompressed tar files, in this case, the 'tar
xvf' starts extracting several files then bails out with an error "This
does not look like a tar file, blah blah blah".

Regards,

Nabil Courdy
nabiljc@gmail.com
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Tue Jan 06, 2009 10:29 am | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts Regarding thesaurus iso file Srikanth modules 0 Fri Jul 21, 2006 10:42 am
No new posts how can i get a file descriptor not used? mars system 0 Fri Jul 21, 2006 7:41 am
No new posts small GTK "Open file" dialog David Siroky Debian 0 Fri Jul 21, 2006 7:30 am
No new posts Trouble Declaring 3D Array in Header File free2klim C++ 1 Fri Jul 21, 2006 4:07 am

Secured Loans | Debt Consolidation | Six Figure Income | Credit Counseling | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2643s ][ Queries: 20 (0.1873s) ][ GZIP on - Debug on ]