archive mirror
 help / color / mirror / Atom feed
From: David Teigland <>
To: lejeczek <>
Cc: LVM general discussion and development <>
Subject: Re: [linux-lvm] lvmdevices - impossible to remove/cleanup device
Date: Thu, 3 Feb 2022 09:24:53 -0600	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, Feb 03, 2022 at 10:20:41AM +0000, lejeczek wrote:
> Hi guys.
> What is the issue here?
> -> $ lvs
>   Devices file sys_wwid eui.6479a73050830000 PVID none last seen on
> /dev/nvme1n1p4 not found.

That device was added to the lvm devices file at some point (see
/etc/lvm/devices/system.devices), but the device no longer exists.
If that device won't be reattached or if you don't want lvm to use it,
then it should be removed from system.devices.

> -> $ lvmdevices --deldev /dev/nvme1n1 ; echo $?
>   Devices file sys_wwid eui.6479a73050830000 PVID none last seen on
> /dev/nvme1n1p4 not found.
>   Device not found in devices file.

That's the right idea, but two issues,

1. lvmdevices --deldev is missing the ability to remove a missing device
   by name (or by wwid), and that will be fixed.
2. when that's fixed, you'd need to use the name /dev/nvme1n1p4

Until that's fixed, edit system.devices and remove that line.


linux-lvm mailing list
read the LVM HOW-TO at

      reply	other threads:[~2022-02-03 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2022-02-03 10:20 ` lejeczek
2022-02-03 15:24   ` David Teigland [this message]

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:

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

  git send-email \ \ \ \ \
    --subject='Re: [linux-lvm] lvmdevices - impossible to remove/cleanup device' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).