From: | "Benjamin Krajmalnik" <kraj(at)servoyant(dot)com> |
---|---|
To: | "Benjamin Krajmalnik" <kraj(at)servoyant(dot)com>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Possible database corruption - urgent |
Date: | 2013-01-07 21:31:29 |
Message-ID: | F4E6A2751A2823418A21D4A160B6898892B7BC@fletch.stackdump.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
I forgot to mention - PostgreSQL 9.0 - my apologies.
Can I just recreate the file using touch so it exists and then restart
potgresql?
The system coredumped and was attempting to go intorecovery mode
2013-01-07 01:49:12 GMT ERROR: could not open file
"base/16748/181979366_fsm": No such file or directory
2013-01-07 01:49:12 GMT CONTEXT: writing block 1 of relation
base/16748/181979366_fsm
2013-01-07 01:49:12 GMT WARNING: could not write block 1 of
base/16748/181979366_fsm
.
.
.
2013-01-07 01:49:12 GMT ERROR: could not open file
"base/16748/181979366_fsm": No such file or directory
2013-01-07 01:49:12 GMT CONTEXT: writing block 1 of relation
base/16748/181979366_fsm
2013-01-07 01:49:12 GMT WARNING: could not write block 1 of
base/16748/181979366_fsm
From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Benjamin
Krajmalnik
Sent: Monday, January 07, 2013 2:22 PM
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] Possible database corruption - urgent
I have a situation where pg_xlog started growing until it filled up the
disk drive.
I got alerted to the error and started investigating.
Checked the logs and I am seeing the following entry repeatedly:
2013-01-07 01:49:12 GMT ERROR: could not open file
"base/16748/181979366_fsm": No such file or directory
2013-01-07 01:49:12 GMT CONTEXT: writing block 1 of relation
base/16748/181979366_fsm
2013-01-07 01:49:12 GMT WARNING: could not write block 1 of
base/16748/181979366_fsm
I checked the actual file system, and that file is indeed missing.
181979366 exists.
Is there a way to get the system back up and running?
I stopped the postmaster and am moving the pg_xlog directory to a
partition which has room left in it, but I need to resolve this missing
file problem
From | Date | Subject | |
---|---|---|---|
Next Message | Benjamin Krajmalnik | 2013-01-07 21:35:48 | Re: Possible database corruption - urgent |
Previous Message | Benjamin Krajmalnik | 2013-01-07 21:22:25 | Possible database corruption - urgent |