All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Volume group / volumes not activated at boot
Date: Thu, 24 Oct 2013 11:32:48 +0200	[thread overview]
Message-ID: <5268E940.2000006@redhat.com> (raw)
In-Reply-To: <5267E5C4.3070707@darose.net>

Dne 23.10.2013 17:05, David Rosenstrauch napsal(a):
> For several months now, my server has be been failing to activate all volume
> groups / volumes at boot.  My server has 3 PV's, 3 VG's, and 4 LV's.  But for
> some reason only 3 of the 4 LV's are activated after boot.
>
> I can subsequently activate the VG manually (vgchange -ay vg2) and then mount
> the LV.  But the fact that the LV never activates automatically at boot time
> means that I can't add it in the fstab to so that it mounts at boot.
>
> The start of the problem seems to coincide with when my distro (Arch Linux)
> moved to using lvmetad for device discovery.  But the distro's LVM package
> maintainer has reviewed my logs and can't see any reason why the volume group
> is not getting activated.

IMHO in normal case distro should ensure that only devices needed for the
system are activated on the boot.

So if you need all your volumes from a VG active - just add somewhere in your
boot sequence    'vgchange -ay' if you need all LVs active.

There is also recently a support for 'autoactivated' LVs - but this needs 
lvmetad daemon running in your system.

Zdenek

  reply	other threads:[~2013-10-24  9:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23 15:05 Volume group / volumes not activated at boot David Rosenstrauch
2013-10-24  9:32 ` Zdenek Kabelac [this message]
2013-10-24 14:51   ` David Rosenstrauch

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=5268E940.2000006@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=dm-devel@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.