"Errored: Invalid Argument" When Saving to 9p Drive

Linux specific questions, problems.
Post Reply
GrandpaBert
Newbie
Newbie
Posts: 1
Joined: Mon Oct 30, 2023 6:47 pm

"Errored: Invalid Argument" When Saving to 9p Drive

Post by GrandpaBert »

Hi,

I've been using qBittorrent on ubuntu for a while now. I normally mount a share from my Unraid server on my local network (which uses XFS):

Code: Select all

sudo mount -t 9p -o trans=virtio ubuntudata /mnt/ubuntudata
I then set qBittorrent to save to /mnt/ubuntudata. This has worked for me for a long time (years). However, lately, qBittorrent has been failing to save files to the remote share, which has plenty of storage space. The torrent downloads a portion of the file - a 5.8gb download got to 44% - then it gives an error in the Status column: "Errored: Invalid Argument". There is also a popup that gives the filename and labels it an "I/O Error".

I've tried completely removing qBittorrent and reinstalling. I've also tried adding some additional flags to the mount command such as specifying _netdev and a version number (9p2000.L). When I add these flags, the error appears immediately, rather than after partially downloading.

Thanks in advance for any help.

Edit to add: permissions to /mnt/ubuntudata are present.
zzy
Newbie
Newbie
Posts: 1
Joined: Fri Jan 05, 2024 6:18 pm

Re: "Errored: Invalid Argument" When Saving to 9p Drive

Post by zzy »

I have the exact issue. I have put it into the fstab, also have set 777 permission.

Code: Select all

vmdata /mnt/vm_data 9p trans=virtio,version=9p2000.L,_netdev,rw 0 0
I can cd into the drive, I can create files through touch.

The first file was created though, just didnt continue writing into.
Post Reply