ffmpeg error in VM breaks shfs, shares inaccessible


CS01-HS

Recommended Posts

Running ffmpeg on (I believe) a corrupted video file mapped via 9p caused a fuse error rendering shares inaccessible.

 

Any idea how I can prevent that?

The error's fine but I'd prefer if it didn't take down the array.

 

Is there anything obviously wrong with my setup?

It's been running stably for a couple of years now.

 

Error in script running in Debian VM. The next line after ffmpeg is a move which fails:

frame=200798 fps=531 q=-1.0 Lsize= 2492607kB time=00:55:49.97 bitrate=6095.4kbits/s speed=8.86x    
mv: failed to access '/mnt/unraid/scratch//test.mp4': Transport endpoint is not connected

 

/etc/fstab:

unraid /mnt/unraid 9p trans=virtio,9p2000.L,_netdev,nofail 0 0

 

VM share config:

264651296_Screenshot2022-11-18at9_29_46AM.thumb.png.9c799fd86d34ec5d1d7268c6ae2e42fc.png

 

Error in unraid syslog (I was tailing the syslog server's output when it failed)

Nov 17 12:04:14 NAS  shfs: shfs: ../lib/fuse.c:1450: unlink_node: Assertion `node->nlookup > 1' failed.
Nov 17 12:04:14 NAS  rsyslogd: file '/mnt/user/system/logs/syslog-nas.log'[9] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: Transport endpoint is not connected [v8.2102.0 try https://www.rsyslog.com/e/2027 ]
Nov 17 12:04:14 NAS  rsyslogd: file '/mnt/user/system/logs/syslog-nas.log': open error: Transport endpoint is not connected [v8.2102.0 try https://www.rsyslog.com/e/2433 ]

Nov 17 12:04:30 NAS kernel: ------------[ cut here ]------------
Nov 17 12:04:30 NAS kernel: nfsd: non-standard errno: -107
Nov 17 12:04:30 NAS kernel: WARNING: CPU: 2 PID: 8911 at fs/nfsd/nfsproc.c:889 nfserrno+0x45/0x51 [nfsd]
Nov 17 12:04:30 NAS kernel: Modules linked in: xt_connmark xt_comment iptable_raw xt_mark cmac cifs asn1_decoder cifs_arc4 cifs_md4 dns_resolver xt_CHECKSUM xt_nat veth ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle vhost_net tun vhost vhost_iotlb tap xt_conntrack nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo xt_addrtype br_netfilter xfs nfsd auth_rpcgss oid_registry lockd grace sunrpc bluetooth ecdh_generic ecc md_mod nct6775 nct6775_core hwmon_vid wmi efivarfs iptable_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 wireguard curve25519_x86_64 libcurve25519_generic libchacha20poly1305 chacha_x86_64 poly1305_x86_64 ip6_udp_tunnel udp_tunnel libchacha ip6table_filter ip6_tables iptable_filter ip_tables x_tables af_packet 8021q garp mrp bridge stp llc bonding tls i915 drm_buddy i2c_algo_bit ttm drm_display_helper x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel drm_kms_helper drm kvm processor_thermal_device_pci_legacy
Nov 17 12:04:30 NAS kernel: processor_thermal_device processor_thermal_rfim processor_thermal_mbox intel_gtt crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel mpt3sas i2c_i801 aesni_intel agpgart intel_soc_dts_iosf crypto_simd i2c_smbus cryptd rapl r8169 syscopyarea intel_cstate ahci sysfillrect raid_class i2c_core scsi_transport_sas sysimgblt realtek libahci iosf_mbi fb_sys_fops thermal button int3406_thermal video backlight fan dptf_power int3400_thermal acpi_thermal_rel int3403_thermal int340x_thermal_zone unix
Nov 17 12:04:30 NAS kernel: CPU: 2 PID: 8911 Comm: nfsd Not tainted 5.19.17-Unraid #2
Nov 17 12:04:30 NAS kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./J5005-ITX, BIOS P1.40 08/06/2018
Nov 17 12:04:30 NAS kernel: RIP: 0010:nfserrno+0x45/0x51 [nfsd]
Nov 17 12:04:30 NAS kernel: Code: c3 cc cc cc cc 48 ff c0 48 83 f8 26 75 e0 80 3d bb 47 05 00 00 75 15 48 c7 c7 17 a4 99 a0 c6 05 ab 47 05 00 01 e8 42 07 eb e0 <0f> 0b b8 00 00 00 05 c3 cc cc cc cc 48 83 ec 18 31 c9 ba ff 07 00
Nov 17 12:04:30 NAS kernel: RSP: 0018:ffffc900005ffb58 EFLAGS: 00010282
Nov 17 12:04:30 NAS kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000027
Nov 17 12:04:30 NAS kernel: RDX: 0000000000000001 RSI: ffffffff820d7be1 RDI: 00000000ffffffff
Nov 17 12:04:30 NAS kernel: RBP: ffffc900005ffdb0 R08: 0000000000000000 R09: ffffffff82244bd0
Nov 17 12:04:30 NAS kernel: R10: 00007fffffffffff R11: ffffffff82876e76 R12: 0000000000000011
Nov 17 12:04:30 NAS kernel: R13: 0000000000e00000 R14: ffff88815a2591a0 R15: ffffffff82909480
Nov 17 12:04:30 NAS kernel: FS:  0000000000000000(0000) GS:ffff888470100000(0000) knlGS:0000000000000000
Nov 17 12:04:30 NAS kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 17 12:04:30 NAS kernel: CR2: 000055d456171350 CR3: 00000003229b0000 CR4: 0000000000352ee0
Nov 17 12:04:30 NAS kernel: Call Trace:
Nov 17 12:04:30 NAS kernel: <TASK>
Nov 17 12:04:30 NAS kernel: nfsd4_encode_fattr+0x1372/0x13d9 [nfsd]
Nov 17 12:04:30 NAS kernel: ? getboottime64+0x20/0x2e
Nov 17 12:04:30 NAS kernel: ? kvmalloc_node+0x44/0xbc
Nov 17 12:04:30 NAS kernel: ? __kmalloc_node+0x1b4/0x1df
Nov 17 12:04:30 NAS kernel: ? kvmalloc_node+0x44/0xbc
Nov 17 12:04:30 NAS kernel: ? override_creds+0x21/0x34
Nov 17 12:04:30 NAS kernel: ? nfsd_setuser+0x185/0x1a5 [nfsd]
Nov 17 12:04:30 NAS kernel: ? nfsd_setuser_and_check_port+0x76/0xb4 [nfsd]
Nov 17 12:04:30 NAS kernel: ? nfsd_setuser_and_check_port+0x76/0xb4 [nfsd]
Nov 17 12:04:30 NAS kernel: nfsd4_encode_getattr+0x28/0x2e [nfsd]
Nov 17 12:04:30 NAS kernel: nfsd4_encode_operation+0xad/0x201 [nfsd]
Nov 17 12:04:30 NAS kernel: nfsd4_proc_compound+0x2a7/0x56c [nfsd]
Nov 17 12:04:30 NAS kernel: nfsd_dispatch+0x1a6/0x262 [nfsd]
Nov 17 12:04:30 NAS kernel: svc_process+0x3ee/0x5d6 [sunrpc]
Nov 17 12:04:30 NAS kernel: ? nfsd_svc+0x2b6/0x2b6 [nfsd]
Nov 17 12:04:30 NAS kernel: ? nfsd_shutdown_threads+0x5b/0x5b [nfsd]
Nov 17 12:04:30 NAS kernel: nfsd+0xd5/0x155 [nfsd]
Nov 17 12:04:30 NAS kernel: kthread+0xe4/0xef
Nov 17 12:04:30 NAS kernel: ? kthread_complete_and_exit+0x1b/0x1b
Nov 17 12:04:30 NAS kernel: ret_from_fork+0x1f/0x30
Nov 17 12:04:30 NAS kernel: </TASK>
Nov 17 12:04:30 NAS kernel: ---[ end trace 0000000000000000 ]---Nov 17 12:04:14 NAS  shfs: shfs: ../lib/fuse.c:1450: 

 

Edited by CS01-HS
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.