Skip to contentSkip to conversation

snapshot failes with kcopyd error

linux-lvm Axel Reinhold 2 participants 2 messages Mar 1, 2004 – Mar 2, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

i'm working with Linux 2.4.25/device-mapper: 4.0.5-ioctl and from time to time on creating snapshots i get:

device-mapper: Could not create kcopyd client
device-mapper: error adding target to table

after that the system sometimes hangs completely. Is there any resource low? I use snapshots intensively and let them stay for long times.

Regards
Axel Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAQtC4HQ9JwE2bDw0RAgIuAKD3dIJSPWoZH7G+h+SXau9dA0um5ACgqgcg jkPRRAvXHzCLfm3QjgHkhRw=
=nZRO
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 8 lines · Axel Reinhold

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

i'm working with Linux 2.4.25/device-mapper: 4.0.5-ioctl and from time to time on creating snapshots i get:

Quoted 6 lines

device-mapper: Could not create kcopyd client
device-mapper: error adding target to table

after that the system sometimes hangs completely. Is there any resource low? I use snapshots intensively and let them stay for long times.

Yes, this is a bit of a mess. Snapshot creation can fail due to our use of PF_MEMALLOC, which can't be removed until the tools are updated to preload tables. I also think the tools aren't backing out properly, resulting in your hang. Your best bet for now is to try and use dmsetup to unpick the mess whenever it happens. Sorry this sucks.

- Joe