[lvm-devel] lvm snapshot creation ends with the error message
Zdenek Kabelac
zkabelac at redhat.com
Tue Apr 9 14:53:51 UTC 2019
Dne 09. 04. 19 v 12:14 Gang He napsal(a):
> Hello Guys,
>
> Our user complained a confused error message when create a LV snapshot successfully.
> e.g.
> lvcreate --snapshot "/dev/$vgroup/$volume" --name "$snapvol" -l '80%FREE'
> returns the following:
> Taking snapshot mongo_db-snap
> device-mapper: remove ioctl on (254:2) failed: Device or resource busy <<== here, why we need to print this error message? since we can retry a few time before failure
> Logical volume "mongo_db-snap" created.
>
> The related code is in libdm-iface.c file under libdm/ioctl.
Hi
The error should NOT happen - if you can observe this report - somewhere is
something going out-of-sync.
So please - post the version and -vvvv log of this case.
It does look like somewhere is missing synchronization wait.
Zdenek
More information about the lvm-devel
mailing list