Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Tue, 31 May 2016 09:53:20 +0200 (CEST) References: <574CB690.5030401@partidopirata.com.ar> From: Ondrej Kozina Reply-To: linux-lvm@redhat.com Message-ID: Date: Tue, 31 May 2016 09:53:17 +0200 MIME-Version: 1.0 In-Reply-To: <574CB690.5030401@partidopirata.com.ar> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] LVM on LUKS: volumes missing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fauno Cc: dm-crypt@saout.de Hi fauno, provided the driver was unlocked successfully it seems unrelated to cryptsetup/LUKS to me. Could we move the discussion to lvm mail list? On 05/30/2016 11:54 PM, fauno wrote: > Hi, maybe I'm too shocked but I couldn't find anything on this issue :) > > I have a fully encrypted HD using the LVM on LUKS method from > ArchWiki[^0], with the LUKS header and key file on an external device. > > Today I started having some disk failures (root remounted ro, xfs > partition giving errors), and after I decided to reboot to run fsck, I > can't find anything. Could you paste here output of pvscan -vvvv --cache /dev/mapper/insert_the_unlocked_device_name? Together with your /etc/lvm/lvm.conf file? If it's a device with rootfs we're talking about you will most probably have to extract /etc/lvm/lvm.conf file from initramfs image. Well, generally, if disk sectors accommodating PV header are damaged, lvm2 won't recognise the device... > > When the encrypted partition is opened, I don't see any errors, not even > on dmesg, but LVM can't find any volume. They're just missing. > > Is there anything I can do? Thanks! > > FWIW I had the same issue with another HD a few months back, though it > didn't had physical errors. It didn't had anything important so I > wasn't worried. Ok, try same approach as above for this drive. Regards Ondrej