On Fri, 28 Sep 2018 23:34:37 -0700
wes <***@the-wes.com> dijo:
>On Fri, Sep 28, 2018 at 10:26 PM John Jason Jordan <***@gmx.com>
>wrote:
>> rsync: getcwd(): Input/output error (5) rsync error: errors selecting
>> input/output files, dirs (code 3) at util.c(1056) [Receiver=3.1.1]
>I don't know about the numbers, but "input/output error" typically
>means it's having problems reading something from a disk. The fact
>that it's not giving you a sensible error message indicates that it's
>a really unusual problem. "getcwd()" is a function that returns the
>current working directory, so I'd start there. Do the commands
>ls /media/jjj/Movies/ and ls /media/jjj/Synology return normal-looking
>output?
Last night when I first posted the question it was too late for me to
think to add some details:
The 'from' directory is a Mediasonic enclosure containing 14TB
of storage, of which all but 4.5TB is used. The destination is a
Synology NAS with 16TB of storage. They are mounted
at /media/jjj/Movies and /media/jjj/Synology, respectively. There is a
text file 'rsync_exclusions' which lists just 'lost+found.'
Just now I tried 'ls -la' while in /media/jjj/Movies and got the
following error: 'ls: reading directory '.': Input/output error'. So
then I added the path to the command and it worked. And I can drag and
drop, and add or delete files with the GUI (Nautilus, Thunar).
Clearly, the problem is the Mediasonic, and I know part of what is
going on. The Mediasonic has two connectors: USB 3.1 Gen 1 and eSATA,
right next to each other on the back of the case. I always used
the USB connector, but recently it failed, and the enclosure is out of
warranty, so I bought an eSATA cable with an eSATA to USB adapter for
the end that goes into the computer. Perhaps the eSATA jack on the
Mediasonic is now also failing.
But I don't understand why the drive continues to work fine for most
things - as I write this a torrent client is reading files without a
problem, and the GUI file managers also work fine. Last night from the
command line I used ddrescue to write an ISO file to the Mediasonic for
a damaged DVD, which also worked fine. But the ls and rsync commands
still fail. That is a mystery. And what to do about it is also a
mystery.