Try hdparam to control sleep time.
Here is Ubuntu link:
https://askubuntu.com/questions/39760/how-can-i-control-hdd-spin-down-t
ime
If that does not work, and you cannot change your DAS settings, you
might need to look at powertop to check if your USB is not going to
sleep.
Synology NAS have
On Sat, 29 Sep 2018 14:28:43 -0700
Tomas K dijo:
>It appears that you either did not have the directory mounted or it was
>in power saving mode (disks spun down, etc.)
The Movies USB device is always mounted, but yes, it seems to go into
sleep mode all the time. Any disk activity brings it out
It appears that you either did not have the directory mounted or it was
in power saving mode (disks spun down, etc.)
I would recommend that you to either manually make sure that the source
and destinations are both available or setup some wait loop in your
script to allow and trigger mounting.
On Fri, 28 Sep 2018 22:39:53 -0700
John Jason Jordan dijo:
Problem solved:
cd ..
cd /media/jjj/Movies
Now the rsync command works as expected, as do other commands.
___
PLUG mailing list
PLUG@pdxlinux.org
On Fri, 28 Sep 2018 23:34:37 -0700
wes dijo:
>On Fri, Sep 28, 2018 at 10:26 PM John Jason Jordan
>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
On 9/28/2018 10:23 PM, John Jason Jordan wrote:
> rsync -rptog --progress --stats --delete
> --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/
> /media/jjj/Synology
>
> rsync: getcwd(): Input/output error (5) rsync error: errors selecting
> input/output files, dirs (code 3) at
On Fri, 2018-09-28 at 23:34 -0700, wes wrote:
> "getcwd()" is a function that returns the current working
> directory, so I'd start there.
Are you in a valid directory location when running the command?
___
PLUG mailing list
PLUG@pdxlinux.org
On Fri, Sep 28, 2018 at 10:26 PM John Jason Jordan wrote:
> This is an rsync command that used to work:
>
> rsync -rptog --progress --stats --delete
> --exclude-from=/media/jjj/Movies/rsync_exclusions /media/jjj/Movies/
> /media/jjj/Synology
>
> This evening it gives me:
>
> rsync: getcwd():