Page 1 of 1

Error 21 Device not ready

Posted: 06 Feb 2024, 09:27
by iresten
Hi, i have some jobs that are running against a SSHFS (WinFSP). These are mounted as networkdevices.
But for one of the job with mirror checking i get error message:
ERR {timestamp} An error occurred while checking for mirror changes: (21) Enheten är inte klar: [[sshfs.r\{connection}\ (translated, Device not ready). One time for each file i know needs to be removed from the destination

I cant figure out why, the SSHFS have complete rwx on the drive, and manually there is no problems with file handling.

The settings are the following:

Include subdirectories
Incremental backup
Mirror task
Clear archive attribute
Volume Shadow Copies: Tried both on and off

Re: Error 21 Device not ready

Posted: 06 Feb 2024, 12:21
by cobian
No idea, never tested against WinFSP.

PS - Kommer att göra lite tester inom kort. Återkommer.

Re: Error 21 Device not ready

Posted: 06 Feb 2024, 13:52
by iresten
https://github.com/winfsp/winfsp and https://github.com/winfsp/sshfs-win
In those two repos you can find information about the system.

I have a prod and a test enviroment so will gladly assist (and yes, the problem is in both prod and test)

Re: Error 21 Device not ready

Posted: 06 Feb 2024, 14:52
by cobian
:OK

Re: Error 21 Device not ready

Posted: 13 Feb 2024, 19:28
by cobian
I have installed SSHFS and tested with no problems, but you never know with foreign file systems. I have seen different results even with direct accessing NAS drives so... :|

Re: Error 21 Device not ready

Posted: 12 Apr 2024, 19:03
by iresten
I have now tested alot of thing but couldn't resolve my initial problem, but i found i workaround.

I installed the graphical interface for SSHFS-WIN Manager (standalone software) and when mounting from the GUI it mounts a drive and not a file share. (in cobian the search path became (\\sshfs.r\user@server\)) but with SSHFS-WIN Manager it mounts a drive (in cobian as "X:\"), nothing else were changed so some where between writepermissions in cobian between a networkshare and a drive is a fault (probably in SSHFS).

But if anyone else stumbles upon this problem my recommendation is to try SSHFS-Win manager and see if it resolves your issue.

Re: Error 21 Device not ready

Posted: 13 Apr 2024, 17:12
by cobian
Thank you for sharing!