You are not logged in.

#1 2025-10-06 21:14:04

Joseki
Member
Registered: 2025-10-06
Posts: 1

NAS mounting on fstab causing 'Error closing file: Input/output error'

Hello.
I'm currently experiencing an issue with my NAS. The NAS is mounted on fstab like this:

# NAS
XXX.XXX.XXX.XXX:/volume1/data /mnt/NAS nfs noauto,x-systemd.automount,timeo=14,retrans=2,soft,bg,x-systemd.idle-timeout=60 0 0

The NAS  is programmed to be available only at specific times during the day and will turn on/off accordingly.

It appears to be working for most scenarios, as I can access, edit and save all my files.
I do however also perform some encoding that requires access and storage of video files directly stored on the NAS, but ffmpeg is giving me this error a lot of the times:

[out#0/matroska @ 0x55c9eed21c00] Error closing file: Input/output error

As far as I can tell, this is most likely related to my fstab configuration, but I can't find the specific problem with it.

Offline

#2 2025-10-07 14:36:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,875

Re: NAS mounting on fstab causing 'Error closing file: Input/output error'

I'm seeing that w/ NFS to an old raspi on wonky wifi w/ a super-dated installation but have never figured what causes this (and it's not preventable w/ any of the plenty of NFS configs I've ever tried) - my workaround is to rely on https://archlinux.org/packages/extra/x86_64/libnfs/ implementations (there's a fuse implementation but that has its own issues)
The files might end up corrupted even if they've the right size, don't rely on it "looking" fine-ish.

=> Is the NAS on a reliable rj45 connection line w/ your host?
Do you know what kernel and versions of nfs-utils it runs?

Offline

Board footer

Powered by FluxBB