Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup auf NAS - Probleme mit CIFS

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Backup auf NAS - Probleme mit CIFS

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Das ist ja auch was anderes

      1 Reply Last reply Reply Quote 0
      • J
        J Riemann last edited by

        Ja, siehe oben… Damit hat ja alles angefangen... dieser Fehler begleitet mich ja bereits seit den Umbau auf den Opi.

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          und ich mache bei armbian die Pferde scheu :oops:

          Also nochmal langsam:

          Wie sieht die Antwort genau aus, wenn du auf der Konsole das eben gepostete aufrufst?

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • simatec
            simatec Developer Most Active last edited by

            @ J Riemann

            Probiere bitte nochmal über die Konsole alle mount Befehle, die ich dir hier gepostet habe.

            Mit vers= und auch mit sec= (beide Varianten)

            Gesendet von iPhone mit Tapatalk

            1 Reply Last reply Reply Quote 0
            • J
              J Riemann last edited by

              @Homoran:

              und ich mache bei armbian die Pferde scheu :oops:

              Wie sieht die Antwort genau aus, wenn du auf der Konsole das eben gepostete aufrufst? ` Bei mir war es von Anfang an dieser Fehler!

              root@orangepiplus2e:~# mount -t cifs -o user=Backitup,password=xxxx,rw,file_mode=0777,dir_mode=0777,vers=1.0 //deine IP/DiskStation /opt/iobroker/backups
              
              Usage:
               mount [-lhV]
               mount -a [options]
               mount [options] [--source] <source> | [--target] <directory>mount [options] <source> <directory>mount <operation><mountpoint>[<target>]
              
              Mount a filesystem.
              
              Options:
               -a, --all               mount all filesystems mentioned in fstab
               -c, --no-canonicalize   don't canonicalize paths
               -f, --fake              dry run; skip the mount(2) syscall
               -F, --fork              fork off for each device (use with -a)
               -T, --fstab <path>alternative file to /etc/fstab
               -i, --internal-only     don't call the mount. <type>helpers
               -l, --show-labels       show also filesystem labels
               -n, --no-mtab           don't write to /etc/mtab
               -o, --options comma-separated list of mount options
               -O, --test-opts limit the set of filesystems (use with -a)
               -r, --read-only         mount the filesystem read-only (same as -o ro)
               -t, --types limit the set of filesystem types
                   --source <src>explicitly specifies source (path, label, uuid)
                   --target <target>explicitly specifies mountpoint
               -v, --verbose           say what is being done
               -w, --rw, --read-write  mount the filesystem read-write (default)
              
               -h, --help     display this help and exit
               -V, --version  output version information and exit
              
              Source:
               -L, --label <label>synonym for LABEL= <label>-U, --uuid <uuid>synonym for UUID= <uuid>LABEL= <label>specifies device by filesystem label
               UUID= <uuid>specifies device by filesystem UUID
               PARTLABEL= <label>specifies device by partition label
               PARTUUID= <uuid>specifies device by partition UUID
               <device>specifies device by path
               <directory>mountpoint for bind mounts (see --bind/rbind)
               <file>regular file for loopdev setup
              
              Operations:
               -B, --bind              mount a subtree somewhere else (same as -o bind)
               -M, --move              move a subtree to some other place
               -R, --rbind             mount a subtree and all submounts somewhere else
               --make-shared           mark a subtree as shared
               --make-slave            mark a subtree as slave
               --make-private          mark a subtree as private
               --make-unbindable       mark a subtree as unbindable
               --make-rshared          recursively mark a whole subtree as shared
               --make-rslave           recursively mark a whole subtree as slave
               --make-rprivate         recursively mark a whole subtree as private
               --make-runbindable      recursively mark a whole subtree as unbindable
              
              For more details see mount(8).
              root@orangepiplus2e:~#</file></directory></device></uuid></label></uuid></label></uuid></uuid></label></label></target></src></type></path></target></mountpoint></operation></directory></directory> 
              
              1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active last edited by

                Da muss ein Schreibfehler drin sein, sonst würde nicht diese Ausgabe kommen

                Gesendet von iPhone mit Tapatalk

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  Du hast nicht zufällig Leerzeichen entfernt?

                  und

                  //deine IP/DiskStation
                  

                  der Pfad ist der Pfad innerhalb der Diskstation, also Ordner/unterordner

                  Ok, auf dem Pi lief es.

                  Aber es ist ein Rechteprpblem. kein CIFS Problem an sich

                  mir gehen die Ideen aus.

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • J
                    J Riemann last edited by

                    Ja, sorry….

                    root@orangepiplus2e:~# mount -t cifs -o user=Backitup,password=xxxx,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.215/Sicherungen /opt/iobroker/backups
                    mount error(13): Permission denied
                    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                    root@orangepiplus2e:~# 
                    ````Das ist der selbe Fehler der auch durch Backitup erzeugt wird.
                    
                    Aber diese ganzen Testzeilen hatten wir ja bereits… siehe Seite 33 [viewtopic.php?f=23&amp;t=15256&amp;start=620#p170412](https://forum.iobroker.net/viewtopic.php?f=23&amp;t=15256&amp;start=620#p170412)
                    1 Reply Last reply Reply Quote 0
                    • J
                      J Riemann last edited by

                      Meine Ideen und die Motivation sind auch am Ende.

                      Ich habe jetzt eine 100% identische Installation auf einem Pi3 laufen und dort funktioniert es.

                      Hast Du es bei Dir denn jetzt in Gang bekommen?

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        @J Riemann:

                        Hast Du es bei Dir denn jetzt in Gang bekommen? `
                        Nein, bei fehlt ja cifs in der Liste der Filesystems - das Armbian-Team ist dran.

                        Auf meinem Pine64 fehlt cifs auch, da date ich nach 130 Tagen die Installation gerade auf und installiere den Adapter dann auch

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          Einen hab ich noch (gestern schon - vergessen 😞 )

                          Wie ist bei dir die Einstellung in der DS?
                          144_syno02.png

                          wenn >SMB1 kannst du im Aufruf ja mal die 1.0 gegen die 2.0 oder gar 3.0 tauschen

                          Gruß

                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • Lenny.CB
                            Lenny.CB Most Active last edited by

                            @Lenny.CB:

                            @Homoran:

                            ich ja!

                            Außerdem sind die cifs-utils beim Armbian mit drauf.

                            cifs selbst ist bei den fraglichen Distros nicht in der Liste der unterstützten filesystems

                            cat /proc/filesystems
                            

                            Gruß

                            Rainer ich hatte auf dem RockPro64 das "Debian Stretch Minimal 64bit OS Image" aufgespielt. Cifs ist bei den unterstützten Filesystemen mit dabei. lässt sich dennoch nicht mounten.

                            CIFS geht nun beim RockPro64 mit Debian Stretch Minimal 64bit OS Image

                            sudo apt-get install cifs-utils
                            ````brachte die Lösung.
                            1 Reply Last reply Reply Quote 0
                            • J
                              J Riemann last edited by

                              Alles merkwürdig.

                              Vor allem weil der SQL Adapter brav alles per MySQL auf die Syno schreibt.

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators last edited by

                                Auch hier ein Danke für diese Info!

                                bei meinen Installationen wren diese bisher immer schon dabei. Der Versuch sie zu installieren wurde dann mit der Meldung quittiert:

                                "…ist bereits neueste Version"

                                Danke

                                Rainer

                                1 Reply Last reply Reply Quote 0
                                • J
                                  J Riemann last edited by

                                  6696_syno.jpeg 6696_syno_1.jpeg

                                  mount -t cifs -o user=Backitup,password=xxx,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.215/Sicherungen /opt/iobroker/backups
                                  

                                  Ich habe ver. 1/2/3 getestet, selber Fehler. Auch den mode hatte ich mit 0700 getestet weil es irgendwo in einem Forum empfohlen wurde.

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    und ich hatte max von smb3 auf smb2 gesenkt, weil es irgendwo gesagt wurde

                                    Gruß

                                    Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active last edited by

                                      Hier habe ich noch ein paar Befehle mit verschiedenen Optionen für eich zum testen

                                       sudo mount -t cifs //my-domain/users/[personal-share-name]  /network_shares/personal -o  username=[username@my-domain],password=[password],sec=ntlmv,iocharset=utf8,file_mode=0777,dir_mode=0777
                                      
                                      sudo mount -t cifs //my-domain/users/[personal-share-name]  /network_shares/personal -o  username=[username],password=[password],iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlmv
                                      
                                      sudo mount -t cifs //my-domain/users/[personal-share-name]  /network_shares/personal -o  username=[username],password=[password],iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntmssp
                                      
                                      sudo mount -t cifs //my-domain/users/[personal-share-name]  /network_shares/personal -o  username=[my-domain\\username],password=[password],iocharset=utf8,file_mode=0777,dir_mode=0777,sec=ntlmv
                                      
                                      sudo mount -t cifs //my-domain/users/[personal-share-name]  /network_shares/personal -o  username=[my-domain\\username],password=[password],iocharset=utf8,file_mode=0777,dir_mode=0777
                                      

                                      Gesendet von iPhone mit Tapatalk

                                      1 Reply Last reply Reply Quote 0
                                      • simatec
                                        simatec Developer Most Active last edited by

                                        Hier noch eine Option zum testen

                                        sudo mount -t cifs -o username=MyNASUser,password=MyNASPassword,file_mode=0777,dir_mode=0777,uid=1000,gi d=1000,sec=ntlmv2 //192.168.0.1/fritz.nas/iobroker /opt/iobroker/backups
                                        

                                        Gesendet von iPhone mit Tapatalk

                                        1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active last edited by

                                          Laut den Infos die ich jetzt so gelesen habe, sollte die Option sec=ntlmv2 das Problem mit error 13 beheben.

                                          Error 13 heißt soviel wie Zugriff verweigert.

                                          Des Weiteren muss ein Passwort, welches Sonderzeichen beinhaltet in Anführungszeichen geschrieben werden.

                                          Gesendet von iPhone mit Tapatalk

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            J Riemann last edited by

                                            @simatec:

                                            Hier noch eine Option zum testen

                                            sudo mount -t cifs -o username=MyNASUser,password=MyNASPassword,file_mode=0777,dir_mode=0777,uid=1000,gi d=1000,sec=ntlmv2 //192.168.0.1/fritz.nas/iobroker /opt/iobroker/backups
                                            ```` `  
                                            

                                            Hier muss ein Tippfehler enthalten sein, es wird immer die "Optionsliste" angezeigt.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            685
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            266
                                            39982
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo