Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Recover from lost log volume

Recover from lost log volume

2007-01-29       - By David Lane

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

How do I recover from total loss of my log volume? I can restore
database backups ok, but when, after restoring the backups, I try to
change the database to online mode (from dbmgui) I get

-24988 sql error [db_online -f] -902,I/O error.

In knldiag:

2007-01-29 14:23:20       0x14     11000 vattach
'/var/opt/sdb/data/MAXDB1/log/DISKL0001' T92 failed
2007-01-29 14:23:20       0x14 ERR    26 IOMan    Attach error on Log
volume 1: Could not open volume

/var/opt/sdb/data/MAXDB1/log/DISKL0001 is the lost log volume. I have
tried creating the file (just an empty file) and that makes no
difference. I found something in the mailing archive about 'util_execute
clear log' to reinit the log, but that crashes the database.

What am I missing?

Thanks

David Lane



__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
BridgeHead Software is pleased to confirm this e-mail has been scanned for
viruses by MessageLabs.