All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] LVM says physical volumes are missing, but they are not
Date: Sun, 29 May 2016 12:50:17 -0400	[thread overview]
Message-ID: <574B1DC9.2090700@ubuntu.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I upgraded last night to Ubuntu 16.04, and LVM has ( even when booting
back into 15.10 ) decided that two of my three physical volumes are
missing, but they are not:

psusi@faldara:~$ sudo pvs
  PV         VG      Fmt  Attr PSize   PFree
  /dev/md0   faldara lvm2 a-m  101.91g  58.91g
  /dev/md1   faldara lvm2 a-m    1.69t 264.86g
  /dev/sdb1  faldara lvm2 a--    1.82t   1.81t
psusi@faldara:~$ sudo vgchange -ay
  Refusing activation of partial LV faldara/Music.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/Videos.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/swap.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/trusty-old.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/vivid.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/pool0.  Use
'--activationmode partial' to override.
  Refusing activation of partial LV faldara/xenial.  Use
'--activationmode partial' to override.
  6 logical volume(s) in volume group "faldara" now active

If I use --activationmode partial, then all volumes are correctly
mapped, with no missing extents:

psusi@faldara:~$ sudo dmsetup table faldara-vivid
0 44040192 linear 9:1 2468358144
44040192 24969216 linear 9:1 2996840448
69009408 14876672 linear 8:17 2048
psusi@faldara:~$ sudo dmsetup table faldara-xenial
0 83886080 linear 9:0 98304

How can it claim the pvs are missing, and then go ahead and use them?
 Is there a way to manually clear the missing flag from the pv?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJXSx3JAAoJEBB5UWFcu6UWR2kIAKZIGGP3cM09FZqgtkj9VweH
upjc6Sw79jrPBVDbaZQICoFM5rrqra3ehWRge3nKNIZ78QRW9jKJoz9H1MJtFtCd
npfE4s/0URL/UTjChHzV4VR4RHU5bg8NzfeQjyb89k+yTPw6I0zEbmDDlk0H5LCD
9Uho3WILFHrrYE9C/PE1Kb7qx5y9gp/64PYEkRXsVKvvfOq6BPKLlMyjpplVYuxV
wZ7sLpwzOkC2iqex/OleqaiOPrroH2vasVwWtuHBpxFe4z1JsXTHdSSJ8HtrEdii
JnX9ff9fygl7OsOyldSkIZhfuYyPBXmae1qQwLa8SJyurnUE9vE18JFqZFHTGhg=
=Fn0J
-----END PGP SIGNATURE-----

             reply	other threads:[~2016-05-29 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-29 16:50 Phillip Susi [this message]
2016-05-30  8:15 ` [linux-lvm] LVM says physical volumes are missing, but they are not Zdenek Kabelac
2016-05-30 19:53   ` Phillip Susi
2016-05-31  8:33     ` Zdenek Kabelac

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=574B1DC9.2090700@ubuntu.com \
    --to=psusi@ubuntu.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.