All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: Erik Schwalbe <erik.schwalbe@canoo.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Hide volume group during startup
Date: Thu, 12 Apr 2012 14:39:55 +0100	[thread overview]
Message-ID: <4F86DB2B.1020009@redhat.com> (raw)
In-Reply-To: <1637520600.360900.1334237469507.JavaMail.root@nelson.canoo.com>

On 04/12/2012 02:31 PM, Erik Schwalbe wrote:
> Hi,
> 
> sorry but it did not work:
> 
> I deactivate the VG kvm_disk0 with vgchange -an kvm_disk0, after that I set the filter

Test it at this point. There is no need to reboot. If
pvs/vgchange/vgdisplay etc. still display the nested VG and its PV your
filters are wrong or insufficient. Examine the -vvv output from the
tools to see the filter decisions that are being made.

Since you haven't mentioned any of the versions you are using you may
also want to remove the LVM2 cache after editing the filter (current
versions clear it automatically but older releases would still show
filtered devices if they exist in the cache.

> and do a update-initramfs -u -k all

You need to know whether this is the correct command for your
distribution and that it's affecting whatever kernel/initramfs
combination the machine boots by default (and also that it actually
works and creates a new initramfs).

But for now I would ignore boot problems and focus on the filter. Don't
try to solve all the problems at once as that just makes it more confusing.

When you have confirmed that your filter settings correctly exclude the
nested VG you can move on to making sure those settings are applied at boot.

Regards,
Bryn.

  reply	other threads:[~2012-04-12 13:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2049162317.298117.1334137791059.JavaMail.root@nelson.canoo.com>
2012-04-11 10:04 ` [linux-lvm] Hide volume group during startup Erik Schwalbe
2012-04-12 11:11   ` Bryn M. Reeves
2012-04-12 11:41     ` Erik Schwalbe
2012-04-12 11:52       ` Bryn M. Reeves
2012-04-12 12:14         ` Erik Schwalbe
2012-04-12 12:26           ` Bryn M. Reeves
2012-04-12 13:31             ` Erik Schwalbe
2012-04-12 13:39               ` Bryn M. Reeves [this message]
2012-04-12 14:14                 ` Erik Schwalbe
2012-04-12 14:30                   ` Bryn M. Reeves
2012-04-12 14:50                     ` Erik Schwalbe
2012-04-12 12:01       ` Lars Ellenberg
2012-04-12 12:33         ` Erik Schwalbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F86DB2B.1020009@redhat.com \
    --to=bmr@redhat.com \
    --cc=erik.schwalbe@canoo.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.