From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ECE941381F3 for ; Thu, 12 Sep 2013 18:24:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7F6AE0BD2; Thu, 12 Sep 2013 18:24:02 +0000 (UTC) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 927D6E08D1 for ; Thu, 12 Sep 2013 18:24:01 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id ev20so151265lab.25 for ; Thu, 12 Sep 2013 11:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=RHYKhi8gCU31Hjtq10lXSow0m61FS1fzhhEsPkyRkSY=; b=Ic51hMqAdAjAJZM4gQyuGCpCM6D7eB2Frq/yWUQpiLqm2wu9f5xvKpawPS7PYnxxVZ Oofg4FFsa7wNC+h6jl0pA7if2e7uGc8/WlnznKcuPNXkyNDGrm4rohgcjC60GO0PgQr+ C310Sc+EWVIFhNwvaq55dhQX+26DEDzEc5u6qO/S+AgFg2Ic8idpV0bK4ye43tJLdqd7 dA8529I+1VoXb6b7Ugil8VpzLcXx0Ogz3EwiZEnkg6363FfU9zNgpnoxK+92QJepRJEj YNRiZBMq3j0wKlPU1vADL/8S9t0IMR7/mLPqJ1HkUTqNiwN9inefuS//EpzJFf/sOz5M FoNg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.152.29.201 with SMTP id m9mr7303718lah.6.1379010239847; Thu, 12 Sep 2013 11:23:59 -0700 (PDT) Received: by 10.114.96.2 with HTTP; Thu, 12 Sep 2013 11:23:59 -0700 (PDT) In-Reply-To: <5231FB7D.2070400@xunil.at> References: <5230528A.4080302@xunil.at> <5230562F.5060304@xunil.at> <201309120751.13625.michaelkintzios@gmail.com> <52317D4C.7080903@xunil.at> <87li329g20.fsf@nyu.edu> <5231FB7D.2070400@xunil.at> Date: Thu, 12 Sep 2013 13:23:59 -0500 Message-ID: Subject: Re: [gentoo-user] systemd and lvm From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6c61e565-286f-40f9-acf8-680e4fd73fdb X-Archives-Hash: c8c7f7924c4ddfd53917f64e73c02996 On Thu, Sep 12, 2013 at 12:35 PM, Stefan G. Weichinger wro= te: > Am 12.09.2013 18:22, schrieb Canek Pel=C3=A1ez Vald=C3=A9s: > >> Really, whomever is recommending to set CONFIG_UEVENT_HELPER_PATH is >> probably wrong. I can't find *one* place where it is recommended, and >> several where they explicitly say to leave the option in blank. > > So ... I agree with this. > > What to do about the initial problem then? > > With openrc lvcreate is no problem, with systemd it is ... (for me, on 2 > machines). Stefan, what initramfs are you using? I don't have much experience with LVM; I just installed a Qemu virtual machine with it, and it gave me no problems. But it was a dead simple setup. Your setup, however, seems to be rather complicated: you have LVM, LUKS and (if I remember correctly) software RAID? In my virtual machine I didn't had to do anything. There are no services for LVM, and there are no scripts doing nothing LVM related. There are a couple of udev rules, which I never touched, and systemd together with that seems to handle everything by itself. I have everything in LVM, including / and /boot (which is inside /). Could you please explain how is exactly your layout? From drives to partitions to PVs, VGs and LVs? And throw in there also the LUKS and RAID (if used) setup. I will try to replicate that in a VM. Next week, since we have a holiday weekend coming. When I installed my LVM setup, I was surprised to find how easy it was. The only problem I got was to install GRUB2 in /dev/vda, and even that wasn't that difficult, and only qemu related. So perhaps the problem is *moving* LVM machines to systemd, with the cruft from previous OpenRC installations. Perhaps you don't need to *add* anything, but to *remove* things that are not necessary anymore since systemd+dracut handles everything. Please explain to me your drive layout, so I can try to replicate it. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico