All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lentes, Bernd" <bernd.lentes@helmholtz-muenchen.de>
To: "LVM Mailingliste, (RedHat)" <linux-lvm@redhat.com>
Subject: [linux-lvm] can't remove snapshot
Date: Tue, 9 Apr 2019 15:00:05 +0200 (CEST)	[thread overview]
Message-ID: <1674381816.392064.1554814805982.JavaMail.zimbra@helmholtz-muenchen.de> (raw)

Hello list,

I have a two-node HA-cluster which uses local and cluster LVM.
cLVM is currently stopped, I try to remove a snapshot from the root lv which 
is located on a local VG.
I get this error:
ha-idg-2:/mnt/spp # lvremove -fv vg_local/lv_snap_pre_sp4
  connect() failed on local socket: No such file or directory
  Internal cluster locking initialisation failed.
  WARNING: Falling back to local file-based locking.
  Volume Groups with the clustered attribute will be inaccessible.
    Archiving volume group "vg_local" metadata (seqno 26).
    Removing snapshot volume vg_local/lv_snap_pre_sp4.
    Loading table for vg_local-lv_root (254:8).
  device-mapper: reload ioctl on  (254:8) failed: Invalid argument
  Failed to refresh lv_root without snapshot.

dmesg says: 
device-mapper: ioctl: can't change device type after initial table load

My LV's:
...
  --- Logical volume ---
  LV Path                /dev/vg_local/lv_root
  LV Name                lv_root
  VG Name                vg_local
  LV UUID                t79QZ8-0zYm-Qrwd-di2B-BMOb-pN1g-LssjEF
  LV Write Access        read/write
  LV Creation host, time ha-idg-2, 2018-08-06 16:52:56 +0200
  LV snapshot status     source of
                         lv_snap_pre_sp4 [active]
  LV Status              available
  # open                 1
  LV Size                100.00 GiB
  Current LE             3200
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           254:8

  --- Logical volume ---
  LV Path                /dev/vg_local/lv_snap_pre_sp4
  LV Name                lv_snap_pre_sp4
  VG Name                vg_local
  LV UUID                RANlNE-Yz9O-BICs-XXWf-DNtF-d1kQ-Covks3
  LV Write Access        read/write
  LV Creation host, time ha-idg-2, 2019-01-15 11:05:44 +0100
  LV snapshot status     active destination for lv_root
  LV Status              available
  # open                 0
  LV Size                100.00 GiB
  Current LE             3200
  COW-table size         50.00 GiB
  COW-table LE           1600
  Allocated to snapshot  12.04%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     1024
  Block device           254:10

I never experienced this before and don't have any clue what's going wrong.
Help is much appreciated.

Many thanks.

Bernd


-- 

Bernd Lentes 
Systemadministration 
Institut für Entwicklungsgenetik 
Gebäude 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.lentes@helmholtz-muenchen.de 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/idg 

wer Fehler macht kann etwas lernen 
wer nichts macht kann auch nichts lernen
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Stellv. Aufsichtsratsvorsitzender: MinDirig. Dr. Manfred Wolter
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

             reply	other threads:[~2019-04-09 13:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-09 13:00 Lentes, Bernd [this message]
2019-04-09 13:24 ` [linux-lvm] can't remove snapshot Zdenek Kabelac
2019-04-09 13:33   ` Lentes, Bernd
2019-04-10 13:36   ` Lentes, Bernd
2019-04-11 11:09     ` Zdenek Kabelac
2019-04-11 12:32       ` Lentes, Bernd
2019-04-11 14:49         ` Lentes, Bernd
2019-04-11 15:59           ` Zdenek Kabelac
2019-04-11 17:25             ` Lentes, Bernd
2019-04-12 16:18               ` Lentes, Bernd

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=1674381816.392064.1554814805982.JavaMail.zimbra@helmholtz-muenchen.de \
    --to=bernd.lentes@helmholtz-muenchen.de \
    --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.