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.

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*’.

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_LUKS-LVM_Filesystem_and_Boot_USB_Key
² http://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any social network.

If everyone cares for himself, everyone is cared for.

Attachment: signature.asc
Description: Digital signature

Reply via email to