From: "Gang He" <ghe@suse.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvm snapshot cannot be removed with the error "Failed to refresh without snapshot"
Date: Wed, 19 Jun 2019 03:26:33 -0600 [thread overview]
Message-ID: <5D09FFC9020000F90006D3D6@prv1-mh.provo.novell.com> (raw)
Hello List,
Our user is using lvm2-2.02.180, he attempted to remove a snapshot LV, but failed with the below error,
lvremove /dev/evg00/snap_var
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Do you really want to remove active logical volume evg00/snap_var? [y/n]: y
device-mapper: reload ioctl on (254:36) failed: Invalid argument
Failed to refresh var without snapshot.
But I can not reproduce in local, how do I find the root cause behind this problem?
I also can see one related error message in /var/log/messages
Jun 12 09:00:22 gtunxlnb04864 sudo: buss18 : TTY=pts/0 ; PWD=/PZIR/users/buss18 ; USER=root ; COMMAND=/sbin/lvremove /dev/evg00/snap_opt
Jun 12 09:00:22 gtunxlnb04864 sudo[25821]: pam_unix(sudo:session): session opened for user root by buss18(uid=0)
Jun 12 09:00:22 gtunxlnb04864 kernel: [1492631.077551] device-mapper: ioctl: can't change device type after initial table load. <<== here
Jun 12 09:00:22 gtunxlnb04864 sudo[25821]: pam_unix(sudo:session): session closed for user root
Jun 12 09:01:01 gtunxlnb04864 cron[25932]: pam_unix(crond:session): session opened for user ggmonux1 by (uid=0)
Thanks
Gang
next reply other threads:[~2019-06-19 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-19 9:26 Gang He [this message]
2019-06-20 5:41 ` [linux-lvm] lvm snapshot cannot be removed with the error "Failed to refresh without snapshot" Gang He
2019-06-20 11:01 ` 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=5D09FFC9020000F90006D3D6@prv1-mh.provo.novell.com \
--to=ghe@suse.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.