summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2025-03-02 10:56:39 +0100
committerPjotr Prins2025-03-02 10:56:39 +0100
commitcc03d14b9e4b0fd05aa7fcba7133a3391a4107aa (patch)
treea2facdc465260cefbe2fa42d2e740f99aec3d75b
parent5e6fe19ecc31aec90fe5c172269d94d3545677f7 (diff)
downloadgn-gemtext-cc03d14b9e4b0fd05aa7fcba7133a3391a4107aa.tar.gz
DB errors
-rw-r--r--issues/systems/tux04-disk-issues.gmi40
1 files changed, 40 insertions, 0 deletions
diff --git a/issues/systems/tux04-disk-issues.gmi b/issues/systems/tux04-disk-issues.gmi
index af75c48..c4e47f6 100644
--- a/issues/systems/tux04-disk-issues.gmi
+++ b/issues/systems/tux04-disk-issues.gmi
@@ -131,3 +131,43 @@ and someone wrote
> analyzed that most of the reasons are caused by intensive reading and writing. This is a CDN cache node. Type reading NVME temperature is relatively high, if it continues, it will start to throttle and then slowly collapse.
and temperature on that drive has been 70 C.
+
+Mariabd log is showing errors:
+
+```
+2025-03-02 6:54:47 0 [ERROR] InnoDB: Failed to read page 449925 from file './db_webqtl/SnpAll.ibd': Page read from tablespace is corrupted.
+2025-03-02 7:01:43 489015 [ERROR] Got error 180 when reading table './db_webqtl/ProbeSetXRef'
+2025-03-02 8:10:32 489143 [ERROR] Got error 180 when reading table './db_webqtl/ProbeSetXRef'
+```
+
+Let's try and dump those tables when the backup is done.
+
+```
+mariadb-dump -uwebqtlout db_webqtl SnpAll
+mariadb-dump: Error 1030: Got error 1877 "Unknown error 1877" from storage engine InnoDB when dumping table `SnpAll` at row: 0
+mariadb-dump -uwebqtlout db_webqtl ProbeSetXRef > ProbeSetXRef.sql
+```
+
+Eeep:
+
+```
+tux04:/etc$ mariadb-check -uwebqtlout -c db_webqtl ProbeSetXRef
+db_webqtl.ProbeSetXRef
+Warning : InnoDB: Index ProbeSetFreezeId is marked as corrupted
+Warning : InnoDB: Index ProbeSetId is marked as corrupted
+error : Corrupt
+tux04:/etc$ mariadb-check -uwebqtlout -c db_webqtl SnpAll
+db_webqtl.SnpAll
+Warning : InnoDB: Index PRIMARY is marked as corrupted
+Warning : InnoDB: Index SnpName is marked as corrupted
+Warning : InnoDB: Index Rs is marked as corrupted
+Warning : InnoDB: Index Position is marked as corrupted
+Warning : InnoDB: Index Source is marked as corrupted
+error : Corrupt
+```
+
+On tux01 we have a working database
+
+```
+mysqldump -uwebqtlout db_webqtl SnpAll > SnpAll.sql
+```