NetBSD Problem Report #59972

From www@netbsd.org  Sat Feb  7 21:03:29 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "R13" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 915B61A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  7 Feb 2026 21:03:29 +0000 (UTC)
Message-Id: <20260207210328.97C8B1A923E@mollari.NetBSD.org>
Date: Sat,  7 Feb 2026 21:03:28 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: lvm lvremove: confusing error messages
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>

>Number:         59972
>Category:       bin
>Synopsis:       lvm lvremove: confusing error messages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 07 21:05:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        10.1
>Organization:
The NetLVM Removal
>Environment:
>Description:
sheridan$ sudo lvm lvremove vg0/reporoot
  /dev/rsd0a: open failed: Operation not permitted
  /dev/rsd0e: open failed: Operation not permitted
  Logical volume "reporoot" successfully removed

Either:

(a) these error messages mean something went wrong, in which case the last line is wrong and I need to know what remedial action to take; or
(b) these error messages are spurious, in which case it is harmful to print them because it leads to warning fatigue.
>How-To-Repeat:
lvm lvremove
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.