On Sun, 20 May 2018 19:00:49 +0100, RobH declaimed the
following:
>No error messages of any kind now, so in the script you provided, where
>or what should I change to incorporate FreeNAS ip address.
>
NOTHING...
The "mount" command is what linked your FreeNAS directory to a
directory on the RPI... The RPI only has to put files into what looks to it
like just another local directory. And if you haven't changed anything,
that should be
/mnt/CCTV/PiZero
>Regarding the files going back 3 days, no I have not rebooted the Pi
>Zero at all, so that is maybe the reason why.
>
If the "copyfile" was failing because of the bad mount point, the
program wouldn't have executed the unlink() calls.
You might want to clear out that region before you run out of RAM
rm /dev/shm/*.h264
or
rm /run/shm/*.h264
since it seems both paths were the same on your system.
Once you see files appear in /mnt/CCTV/PiZero then verify externally
that the NAS shows them... Then restore the unlink() statement in the
script (and empty /dev/shm again -- if the script is running without
problems it should be removing the RAM files after they get copied to the
NAS mount point.
>Thanks
>
> >
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|