From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Problem with PG 11 database on OrangePi3 (ARMBIAN, ARM64) after disk disrupion (problem with USB disk connection)
Date: Wed, 6 Apr 2022 11:54:40 -0500
Message-ID: <ee6df0a2-50e5-b241-0186-c8560fff91c4@gmail.com> (raw)
In-Reply-To: <5f2de1ce-4b22-59d1-178e-71cb6a3bfc02@wp.pl>
References: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl>
<b123a315432c8fafdfa1421ae6dd89f5d4e208e1.camel@cybertec.at>
<5f2de1ce-4b22-59d1-178e-71cb6a3bfc02@wp.pl>
On 4/6/22 11:41, W.P. wrote:
> W dniu 06.04.2022 o 12:37, Laurenz Albe pisze:
>> On Wed, 2022-04-06 at 10:57 +0200, W.P. wrote:
>>> Is it possible to repair this?
>> Not unless you tell us what exactly you did, command by command.
>>
>> Yours,
>> Laurenz Albe
>>
>>
>>
> That was not a "command". PG was working ok, DB on encrypted (LUKS on
> LVM2, ext4) USB drive.
>
> Then simply I disconnected cable by accident.
>
> After OPi restart, with filesystem on USB mounted again and fsck'ed first,
> PG refuses to start. With a message about replication error in log.
>
> But I did not configured relication.
The disk got corrupted, and one part that got corrupted is where
Postgresql's replication (or not) is configured.
Delete the data/ directory and restore from backups (including config files).
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Problem with PG 11 database on OrangePi3 (ARMBIAN, ARM64) after disk disrupion (problem with USB disk connection)
In-Reply-To: <ee6df0a2-50e5-b241-0186-c8560fff91c4@gmail.com>
References: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl> <b123a315432c8fafdfa1421ae6dd89f5d4e208e1.camel@cybertec.at> <5f2de1ce-4b22-59d1-178e-71cb6a3bfc02@wp.pl> <ee6df0a2-50e5-b241-0186-c8560fff91c4@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox