linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] can't remove snapshot
@ 2019-04-09 13:00 Lentes, Bernd
  2019-04-09 13:24 ` Zdenek Kabelac
  0 siblings, 1 reply; 10+ messages in thread
From: Lentes, Bernd @ 2019-04-09 13:00 UTC (permalink / raw)
  To: LVM Mailingliste, (RedHat)

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-12 16:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 13:00 [linux-lvm] can't remove snapshot Lentes, Bernd
2019-04-09 13:24 ` 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

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).