[linux-lvm] can't remove snapshot
Zdenek Kabelac
zdenek.kabelac at gmail.com
Tue Apr 9 13:24:05 UTC 2019
Dne 09. 04. 19 v 15:00 Lentes, Bernd napsal(a):
> 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.
>
Hi
Have you tried to converted clustered VG to be a non-clustered one ?
And use file locking to proceed with operation on local device?
Zdenek
More information about the linux-lvm
mailing list