Another lock. Several smbd processes hold lock-up files. Impossible to kill them because they are in state D. Failed to restart samba and make file system umount. smbd process stack: [<ffffffffc023ac3b>] cv_wait_common+0x10b/0x140 [spl] [<ffffffffc023ac85>] __cv_wait+0x15/0x20 [spl] [<ffffffffc04b0875>] zfs_dirent_lock+0x175/0x590 [zfs] [<ffffffffc04b243b>] zfs_get_xattrdir+0x12b/0x1b0 [zfs] [<ffffffffc04c6324>] zfs_lookup+0x1c4/0x310 [zfs] [<ffffffffc04e3ef4>] zpl_xattr_get_dir+0x64/0x110 [zfs] [<ffffffffc04e4d5b>] zpl_xattr_get+0xbb/0x1a0 [zfs] [<ffffffffc04e4e9f>] zpl_xattr_user_get+0x5f/0x80 [zfs] [<ffffffff8123636b>] generic_getxattr+0x4b/0x70 [<ffffffff81236898>] vfs_getxattr+0x88/0xb0 [<ffffffff81236e28>] getxattr+0xa8/0x200 [<ffffffff81236fe5>] path_getxattr+0x65/0xb0 [<ffffffff81237714>] SyS_getxattr+0x14/0x20 [<ffffffff818446b2>] entry_SYSCALL_64_fastpath+0x16/0x71 [<ffffffffffffffff>] 0xffffffffffffffff
smbd status: Name: smbd State: D (disk sleep) Tgid: 451 Ngid: 451 Pid: 451 PPid: 1 TracerPid: 0 Uid: 65534 65534 0 65534 Gid: 0 3608 0 3608 FDSize: 64 Groups: 65534 NStgid: 451 NSpid: 451 NSpgid: 74623 NSsid: 74623 VmPeak: 482860 kB VmSize: 482860 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 22528 kB VmRSS: 19760 kB VmData: 100048 kB VmStk: 132 kB VmExe: 64 kB VmLib: 33124 kB VmPTE: 720 kB VmPMD: 16 kB VmSwap: 0 kB HugetlbPages: 0 kB Threads: 1 SigQ: 412/514626 SigPnd: 0000000000000100 ShdPnd: 0000000000004100 SigBlk: 0000000000001880 SigIgn: 0000000000002000 SigCgt: 0000000580014461 CapInh: 0000000000000000 CapPrm: 0000003fffffffff CapEff: 0000000000000000 CapBnd: 0000003fffffffff CapAmb: 0000000000000000 Seccomp: 0 Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-191 Mems_allowed: 00000000,00000003 Mems_allowed_list: 0-1 voluntary_ctxt_switches: 121 nonvoluntary_ctxt_switches: 299 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1722261 Title: deadlock in mount umount and sync Status in zfs-linux package in Ubuntu: New Bug description: I use zfs vesion 0.6.5.6 on Ubuntu 16.04.2 LTS . I have many zombie process on auto-mount of snapshot and on sync ! 903 process are in deadlock. i can't mount a new file system or snapshot . Partial output of ps alx |grep 'call_r D' below . what is the cause? what can I do ? 0 0 2371 1 20 0 6016 752 call_r D ? 0:00 /bin/sync 0 0 15290 1 20 0 6016 676 call_r D ? 0:00 /bin/sync 0 0 18919 1 20 0 6016 708 call_r D ? 0:00 /bin/sync 0 0 27076 1 20 0 6016 808 call_r D ? 0:00 /bin/sync 4 0 31976 1 20 0 22084 1344 call_r D ? 0:00 umount -t zfs -n /samba/shares/Aat/.zfs/snapshot/2017-10-04_09.00.05--5d error in kern.log: 9 13:20:28 zfs-cis kernel: [5368563.592834] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256 Oct 9 13:20:28 zfs-cis kernel: [5368563.597868] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256 Oct 9 13:20:28 zfs-cis kernel: [5368563.601730] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_08.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_08.00.03--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.187001] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.188883] WARNING: Unable to automount /samba/shares/Cardiologia2/.zfs/snapshot/2017-10-03_12.00.03--5d/pool_z2_samba/shares/Cardiologia2@2017-10-03_12.00.03--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.188885] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.189005] WARNING: Unable to automount /samba/shares/Aat/.zfs/snapshot/2017-10-03_20.00.04--5d/pool_z2_samba/shares/Aat@2017-10-03_20.00.04--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.190105] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.192847] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_10.00.03--5d/pool_z2_samba/shares/Trapianti@2017-10-03_10.00.03--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.193617] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256 Oct 9 13:22:57 zfs-cis kernel: [5368713.198096] WARNING: Unable to automount /samba/shares/Trapianti/.zfs/snapshot/2017-10-03_14.00.04--5d/pool_z2_samba/shares/Trapianti@2017-10-03_14.00.04--5d: 256 in syslog : Oct 9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 reply_cookie=0 error=n/a Oct 9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 reply_cookie=0 error=n/a Oct 9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=260 reply_cookie=0 error=n/a Oct 9 12:22:12 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=291 reply_cookie=0 error=n/a Oct 9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 reply_cookie=0 error=n/a Oct 9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 reply_cookie=0 error=n/a Oct 9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=260 reply_cookie=0 error=n/a Oct 9 12:22:13 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=291 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=260 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=291 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dChtrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=155 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dLaboratorio_5fTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=202 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dProgettoTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=260 reply_cookie=0 error=n/a Oct 9 12:22:14 zfs-cis systemd[1]: Got message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1/unit/samba_2dshares_2dTrapianti_2emount interface=org.freedesktop.DBus.Properties member=GetAll cookie=291 reply_cookie=0 error=n/a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1722261/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp