On Tuesday, March 08, 2016 10:41:44 PM Frank Steinmetzger wrote:
> Hi folks
> 
> I’m trying to follow an article¹ on setting up a fully encrypted system for
> my soon-to-arrive laptop. It and others (e.g. ² in a very condensed form)
> simply luksFormat a block device, then luksOpen it and run pvcreate on that.

That is the general idea.

> I’ve never used LVM before, it’s only installed as a dependency for various
> FS tools. Hence, my LVM install is basically pure vanilla. But when I try to
> follow those articles, I get:
> 
> kern $ cryptsetup status /dev/mapper/tp
> /dev/mapper/tp is active.
> [...]
> 
> kern $ pvcreate /dev/mapper/tp
>   /run/lvm/lvmetad.socket: connect failed: No such file or directory
>   WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
>   Device /dev/mapper/tp not found (or ignored by filtering).
> 
> The filter rule in /etc/lvm/lvm.conf simply says the default:
> filter = [ "r|/dev/nbd.*|", "a/.*/" ]
> Meaning ‘include everything except /dev/nbd*’.

This is the only filter-line in that file?

> Can you give me a hint what I might be missing? Perhaps I need to set some
> other of the many options in lvm.conf?
> 
> Gratefully awaiting any helpful nudge.
> 
> 
> ¹
> https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide/Preparing_the_LUK
> S-LVM_Filesystem_and_Boot_USB_Key ²
> http://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/

What do you get when running:
pvcreate -vv /dev/mapper/tp 
?

I have followed similar howtos and never actually had an issues like you are 
describing.


--
Joost

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to