Forum
auto backup failing.... - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: auto backup failing.... (/thread-3956.html)



auto backup failing.... - Skywatch - 19th Jan, 2018 02:04 AM

Since the update to stretch I no longer get auto snap image backup to the server. Angry

Checked fstab and /etc/default/xbian-snap and that's all as it was too...I also tried to see if the mount was working and this confuses me a bit..... Huh

Terminal

xbian@cinema2 ~ $ cd /mnt
xbian@cinema2 /mnt $ ls
325 540
xbian@cinema2 /mnt $ cd /mnt/540
-bash: cd: /mnt/540: No such file or directory

It has affected all xbian pi2 'stretch' builds, but the pi1 'jessie' seems to be working as expected... Huh

Why is it always me? Confused


RE: auto backup failing.... - Nachteule - 20th Jan, 2018 12:50 AM

XBian converts network mounts in fstab (nfs and cifs) automagically into autofs mounts.

So, problably autofs service has been died. You could restart autofs and see if you can access your mount folders

Code:
sudo restart autofs



RE: auto backup failing.... - Nachteule - 20th Jan, 2018 01:02 AM

Ah, hold on Exclamation which kernel version are you running?

4.9.x or 4.14.x

If you're running 4.14 from staging repo, you probably have Samba issue, since starting with kernel 4.13 the kernel guys has been changed default smb protocol from NT1 aka SMB1 to SMB3 Angry


RE: auto backup failing.... - Skywatch - 20th Jan, 2018 01:10 AM

Thanks Smile

I'm using kernel 4.14.14 - So I guess that is causing this to happen? I checked the SD/USB devices and anacron is making backups to there as it should, just not to the cifs mounts anymore..... Sad

At least this time it isn't me going mad! Tongue


RE: auto backup failing.... - Nachteule - 20th Jan, 2018 01:16 AM

Ok, so you have to add vers=1.0 as mount option


RE: auto backup failing.... - Skywatch - 20th Jan, 2018 01:32 AM

Smile

That did the trick!

Cheers....and let me take your reputation to 100, you deserve it!


RE: auto backup failing.... - Nachteule - 20th Jan, 2018 01:39 AM

(20th Jan, 2018 01:32 AM)Skywatch Wrote:  Smile

That did the trick!

Yeah, I fell in the same pit after installing 4.13 kernel, some months ago Big Grin

Quote:Cheers....and let me take your reputation to 100, you deserve it!

Oh, how wonderful Tongue


RE: auto backup failing.... - Skywatch - 20th Jan, 2018 02:09 AM

(20th Jan, 2018 01:39 AM)Nachteule Wrote:  Oh, how wonderful Tongue

There is no way to please pensioners these days! Tongue


RE: auto backup failing.... - Willie_Nickels - 3rd Aug, 2018 07:43 PM

Thanks, guys its really knowledgeable thread.


RE: auto backup failing.... - johny1 - 9th Apr, 2019 05:15 PM

try with external device