elastio / elastio-snap

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
21 stars 6 forks source link

WARN :“max num of extents read, increase cow_ext_buf_size” #301

Open qq721027646 opened 9 months ago

qq721027646 commented 9 months ago

I encountered an issue where a Panic occurred while taking snapshots in the docker environment. I only have a partial screenshot of dmesg (I'm sorry I can't provide more information, the error message is not traceable). According to this section of dmesg information, the dockerd process has been suspended. An error occurred while executing the copy_from_user function.
My question is: based on this information, can it be ruled out that the downtime is caused by the elastio-snap module?

微信图片_20231201192834

https://github.com/elastio/elastio-snap/blob/1905a022b3d678d7cf7848380d43e05c5e0c90ed/src/elastio-snap.c#L2700C1-L2700C8

skypodolsky commented 9 months ago

@qq721027646 it seems that the max extent count has been reached. Consider increasing elastio_snap_cow_ext_buf_size variable in the module parameter.

qq721027646 commented 9 months ago

@qq721027646 it seems that the max extent count has been reached. Consider increasing elastio_snap_cow_ext_buf_size variable in the module parameter.

Thanks