[linux-lvm] can't remove snapshot
Lentes, Bernd
bernd.lentes at helmholtz-muenchen.de
Tue Apr 9 13:00:05 UTC 2019
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 at 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
More information about the linux-lvm
mailing list