Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nc8iy-00013l-OU for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2022 16:41:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nc8ix-0006yx-LJ for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2022 16:41:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nc8ix-0006yo-75 for pgsql-general@lists.postgresql.org; Wed, 06 Apr 2022 16:41:39 +0000 Received: from mx3.wp.pl ([212.77.101.10]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nc8iu-0007mk-NP for pgsql-general@lists.postgresql.org; Wed, 06 Apr 2022 16:41:38 +0000 Received: (wp-smtpd smtp.wp.pl 33073 invoked from network); 6 Apr 2022 18:41:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1649263294; bh=HbNMNnzbgtyL5zLTKdsT9iVvmNl9UveL8N00GFtAIHo=; h=Subject:To:From; b=g1apYV5V3swCjm/VC/RuroDCQd4NvopbDKyYr8mbgNloiAKGDP8EJ4iTRmjfjwAEJ MMP9yFS2tLIgJjOYyCvNTV6NIEx6JsbK/3WDL/8MF9R5IAOzL+4kuOTZjEMDRBNJxS VSI6SKJcQCgUfhVETkp1mbzeWzTS5TPzFEnTk7PI= Received: from afqw167.neoplus.adsl.tpnet.pl (HELO [192.168.1.200]) (laurentp@wp.pl@[178.42.178.167]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 6 Apr 2022 18:41:34 +0200 Subject: Re: Problem with PG 11 database on OrangePi3 (ARMBIAN, ARM64) after disk disrupion (problem with USB disk connection) To: pgsql-general@lists.postgresql.org References: <9ff52fa7-a125-1225-0e23-c22f034ceb91@wp.pl> From: "W.P." Message-ID: <5f2de1ce-4b22-59d1-178e-71cb6a3bfc02@wp.pl> Disposition-Notification-To: "W.P." Date: Wed, 6 Apr 2022 18:41:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: 400f3c8feeefae9e55ecdc914aa2264d X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000009 [oEPk] List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. Thats all. Laurent