Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. bekomme USB Stick nicht gemountet für backup

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    bekomme USB Stick nicht gemountet für backup

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      final @Homoran last edited by

      @homoran

      ok, Versuch 2:

      9ffcedab-6c2a-432e-bfd0-bef029d18368-image.png

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

        @final sagte in bekomme USB Stick nicht gemountet für backup:

        Versuch 2:

        👍
        Screenshot_20240612-153127_Firefox.jpg

        ich hab halt andere Einstellungen.

        Screenshot_20240612-153355_Firefox.jpg

        permission Fehler könnten am fehlenden Haken bei sido liegen.

        Ansonsten stell die Instanz mal auf Logstufe debug und strll dann das debug-log vom nächsten Versuch ein

        F 1 Reply Last reply Reply Quote 0
        • F
          final @Homoran last edited by

          wieder der gleiche Fehler im log:

          backitup.0
          2024-06-12 15:50:32.969	error	[iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors.
          
          backitup.0
          2024-06-12 15:50:32.353	error	[iobroker/cifs] Error: EACCES: permission denied, open '/mnt/usbstick/historyDB_2024_06_12-15_45_45_backupiobroker.tar.gz'
          
          backitup.0
          2024-06-12 15:50:32.321	error	[iobroker/cifs] Error: EACCES: permission denied, open '/mnt/usbstick/iobroker_2024_06_12-15_45_18_backupiobroker.tar.gz'
          

          komischerweise kann ich den Ordner /usbstick nicht öffnen:

          :/mnt $ ls -f   
          .  ..  usbstick 
          
          :/mnt $ ls /usbstick
          ls: cannot access '/usbstick': No such file or directory
          

          ich mach mal bei backitup wie vorgeschlagen das log an, muss aber erstmal was erledigen

          Homoran MartinP Thomas Braun 3 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @final last edited by

            @final sagte in bekomme USB Stick nicht gemountet für backup:

            wieder der gleiche Fehler im log:

            wenn du nichts geändert hast ist das klar.

            @final sagte in bekomme USB Stick nicht gemountet für backup:

            komischerweise kann ich den Ordner /usbstick nicht öffnen:

            wer und wo bist du da?
            da fehlt der Prompt.

            bitte lesen und beachten
            https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

            F 1 Reply Last reply Reply Quote 0
            • MartinP
              MartinP @final last edited by

              @final said in bekomme USB Stick nicht gemountet für backup:

              komischerweise kann ich den Ordner /usbstick nicht öffnen:

              Den gibt es nicht, der ist unter /mnt/ eingehängt ...

              mach mal nacheinander

              ls -l /mnt
              

              Wenn da usbstick als Sub-Directory angezeigt wird...

              ls -l /mnt/usbstick
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @final last edited by

                @final

                Dann schau dir die Rechte an:

                ls -la /mnt/
                mount | sort
                
                1 Reply Last reply Reply Quote 0
                • F
                  final @Homoran last edited by

                  @homoran said in bekomme USB Stick nicht gemountet für backup:

                  wer und wo bist du da?
                  da fehlt der Prompt.

                  Ja, sorry, man sollte sowas nicht nebenbei machen.

                  Also,
                  1.) im Ordner /mnt/usbstick ist kein backup angekommen, da gibt es nur einen Ordner "lost+found"
                  2.) ich hatte die Einstellungen in der backitup Instanz wie in deinem Screenshot angepasst, das hatte ich vergessen zu erwähnen
                  3.) die Rechte

                  raspberrypi:/ $ ls -la /mnt
                  total 12
                  drwxr-xr-x  3 root root 4096 Jun 12 12:25 .
                  drwxr-xr-x 18 root root 4096 Mar 15 16:08 ..
                  drwxr-xr-x  3 root root 4096 Jun 12 14:46 usbstick
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @final last edited by

                    @final sagte in bekomme USB Stick nicht gemountet für backup:

                    drwxr-xr-x 3 root root 4096 Jun 12 14:46 usbstick

                    Da ist nix mit Schreiben für andere user als 'root'.

                    mount | sort
                    

                    sagt?

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      final @Thomas Braun last edited by final

                      @thomas-braun
                      sorry, durch das kopieren aus der Konsole gehen die Zeilenumbrüche verloren 😞
                      Geht das anders? Ich markiere und mache dann strg-shift-C

                      raspberrypi:/ $ mount | sort                                                                                      binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)                              bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)                                                  cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)                configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)                                          debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)                                             /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)                                                                                                   /dev/mmcblk0p2 on / type ext4 (rw,noatime,commit=600)                                                                   devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)                                  /dev/sda1 on /mnt/usbstick type ext4 (rw,relatime)                                                                      fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)                                      mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)                                                     proc on /proc type proc (rw,relatime)                                                                                   pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)                                                  ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)                  ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)                ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)      ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)          securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)                                    sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)                                                                 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)                                                              systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)     tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)                                                                          tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)                                              tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=94304k,mode=755)                                         tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94304k,nr_inodes=23576,mode=700,uid=1000,gid=1000)    tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)                                           udev on /dev type devtmpfs (rw,nosuid,relatime,size=334764k,nr_inodes=83691,mode=755)
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @final last edited by

                        @final sagte in bekomme USB Stick nicht gemountet für backup:

                        durch das kopieren aus der Konsole gehen die Zeilenumbrüche verloren

                        Welches Terminal verwendest du denn?

                        Hier geht das nämlich ohne Hantier:

                        [thomas@roamer ~]$ mount | sort
                        binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
                        bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
                        cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
                        configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
                        debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
                        /dev/nvme0n1p1 on /efi type vfat (rw,relatime,fmask=0137,dmask=0027,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
                        /dev/nvme0n1p2 on /home type btrfs (rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home)
                        /dev/nvme0n1p2 on / type btrfs (rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@)
                        /dev/nvme0n1p2 on /var/cache type btrfs (rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@cache)
                        /dev/nvme0n1p2 on /var/log type btrfs (rw,noatime,compress=zstd:3,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@log)
                        devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
                        devtmpfs on /dev type devtmpfs (rw,nosuid,size=4096k,nr_inodes=2008343,mode=755,inode64)
                        efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
                        fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
                        hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
                        mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
                        portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
                        proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
                        pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
                        securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
                        sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
                        systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=5713)
                        tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
                        tmpfs on /run/credentials/systemd-journald.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-sysctl.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-tmpfiles-setup-dev-early.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-tmpfiles-setup-dev.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-tmpfiles-setup.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-udev-load-credentials.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run/credentials/systemd-vconsole-setup.service type tmpfs (ro,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap)
                        tmpfs on /run type tmpfs (rw,nosuid,nodev,size=3219116k,nr_inodes=819200,mode=755,inode64)
                        tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1609556k,nr_inodes=402389,mode=700,uid=1000,gid=1000,inode64)
                        tmpfs on /tmp type tmpfs (rw,noatime,inode64)
                        tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
                        [thomas@roamer ~]$ 
                        
                        
                        F 1 Reply Last reply Reply Quote 0
                        • F
                          final @Thomas Braun last edited by

                          @thomas-braun

                          Powershell unter Windows

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @final last edited by

                            @final

                            Die hab ich auch unter Windows verwendet. Hatte ich nie Probleme mit.

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              final @Thomas Braun last edited by

                              @thomas-braun

                              Hm, keine Ahnung, vielleicht kopiere ich ja falsch. Naja.
                              Hab ich das jetzt verstanden - weil nur root Schreibrechte hat, klappt es nicht?

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @final last edited by

                                @final sagte in bekomme USB Stick nicht gemountet für backup:

                                Hm, keine Ahnung, vielleicht kopiere ich ja falsch. Naja.

                                Dann füg die Zeilenumbrüche von Hand ein. So werde ich das jedenfalls nicht lesen.

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  final @Thomas Braun last edited by

                                  Klar, hab es per Hand angepasst.

                                  raspberrypi:/ $ mount |sort
                                  binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
                                  bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
                                  cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
                                  configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
                                  debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
                                  /dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
                                  /dev/mmcblk0p2 on / type ext4 (rw,noatime,commit=600)
                                  devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
                                  /dev/sda1 on /mnt/usbstick type ext4 (rw,relatime)
                                  fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
                                  mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
                                  proc on /proc type proc (rw,relatime)
                                  pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
                                  ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
                                  ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
                                  ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
                                  ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
                                  securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
                                  sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
                                  sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
                                  systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
                                  tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
                                  tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
                                  tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=94304k,mode=755)
                                  tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94304k,nr_inodes=23576,mode=700,uid=1000,gid=1000)
                                  tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
                                  udev on /dev type devtmpfs (rw,nosuid,relatime,size=334764k,nr_inodes=83691,mode=755)
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @final last edited by

                                    @final

                                    Was hast du eigentlich für einen seltsamen Prompt?

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      final @Thomas Braun last edited by

                                      @thomas-braun

                                      ich hab nur den namen vor dem @raspberrypi rausgeschnitten

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @final last edited by

                                        @final

                                        Und der hat kein Home?
                                        Veränder an der Ausgabe nichts.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          final @Thomas Braun last edited by

                                          @thomas-braun

                                          Doch, wieso.
                                          Achso - ich bin anscheinend irgendwann mal mit cd .. aus home raus, wenn du das meinst?
                                          Hab bewusst nix verändert.

                                          @raspberrypi:/ $ ls -f
                                          lost+found  mnt  srv  dev  tmp  bin  etc  media  boot  .  lib  usr  sbin  home  ..  var  root  proc  sys  run  opt
                                          
                                          Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @final last edited by Thomas Braun

                                            @final sagte in bekomme USB Stick nicht gemountet für backup:

                                            Doch, wieso.

                                            Weil es u. U. wichtig ist, mit welchem user du in welchem Verzeichnis stehst, deswegen.
                                            Stell dich wieder in dein home.

                                            Die /etc/fstab schaut wie aus?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            756
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            48
                                            2179
                                            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