Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BACKITUP host.raspy-io Cannot pack directory /...

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    BACKITUP host.raspy-io Cannot pack directory /...

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @Qax1 last edited by

      @qax1 Auf der SD - Karte scheint noch ausreichend Platz zu sein... 5% belegt im Filesystem für "/"

      Wechsel in das Verzeichnis, wo die lokalen Backups abgelegt werden:

      cd /opt/iobroker/backups/
      

      Anzeigen der Langversion Directoryeinträge der Backups mit

      ls -l
      
      Q 1 Reply Last reply Reply Quote 0
      • Q
        Qax1 @MartinP last edited by Qax1

        @martinp

        login as: pi
        pi@192.168.2.40's password:
        Linux raspy-io 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-                              25) aarch64
        
        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.
        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Tue Dec 10 15:58:40 2024 from 192.168.2.25
        pi@raspy-io:~ $ cd /opt/iobroker/backups/
        pi@raspy-io:/opt/iobroker/backups $ ls -l
        total 19332
        -rw-rw-r--+ 1 iobroker iobroker 1791291 Dec 10 13:45 iobroker_2024_12_10-13_45_0                              3_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1791457 Dec 10 13:47 iobroker_2024_12_10-13_47_3                              3_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1791569 Dec 10 13:48 iobroker_2024_12_10-13_48_5                              1_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1791478 Dec 10 13:55 iobroker_2024_12_10-13_54_5                              7_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1791784 Dec 10 13:55 iobroker_2024_12_10-13_55_5                              3_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1791942 Dec 10 14:15 iobroker_2024_12_10-14_15_5                              5_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1800647 Dec 10 15:38 iobroker_2024_12_10-15_38_1                              8_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1800622 Dec 10 15:45 iobroker_2024_12_10-15_45_0                              8_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1800769 Dec 10 15:51 iobroker_2024_12_10-15_51_2                              5_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1800810 Dec 10 15:57 iobroker_2024_12_10-15_56_5                              8_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker 1801022 Dec 10 16:06 iobroker_2024_12_10-16_06_3                              7_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker    2259 Dec 10 15:38 zigbee.0_2024_12_10-15_38_2                              3_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker    2259 Dec 10 15:45 zigbee.0_2024_12_10-15_45_1                              3_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker    2259 Dec 10 15:51 zigbee.0_2024_12_10-15_51_3                              0_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker    2259 Dec 10 15:57 zigbee.0_2024_12_10-15_57_0                              4_backupiobroker.tar.gz
        -rw-rw-r--+ 1 iobroker iobroker    2261 Dec 10 16:06 zigbee.0_2024_12_10-16_06_4                              3_backupiobroker.tar.gz
        pi@raspy-io:/opt/iobroker/backups $
        
        
        Q 1 Reply Last reply Reply Quote 0
        • Q
          Qax1 @Qax1 last edited by

          @MartinP

          Das sind wohl die Backups vom ganzen rumprobieren

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

            @qax1

            Wenn das NAS da nun nicht gemountet ist musst du die löschen, denn ein Mountpunkt sollte ein leeres Verzeichnis sein.

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Qax1 @Thomas Braun last edited by

              @thomas-braun

              wie überprüfe ich ob das NAS gemountet ist ?
              und wie lösche ich die Dateien ?

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

                @qax1

                mount | sort
                

                Zeigt die Dateisysteme und wo die hingemountet wurden.

                Mit

                rm /opt/iobroker/backups/*
                

                löschst du alle Dateien in diesem Verzeichnis.

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  Qax1 @Thomas Braun last edited by

                  @thomas-braun

                  Oh ha, da hätte ich jetzt eine besser zu verstehende Antwort erwartet...

                  
                  pi@raspy-io:/opt/iobroker/backups $ cd
                  pi@raspy-io:~ $ 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)
                  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,pipe_ino=3647)
                  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=388296k,mode=755)
                  tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=388292k,nr_inodes=97073,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=1673520k,nr_inodes=418380,mode=755)
                  pi@raspy-io:~ $
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Qax1 last edited by Thomas Braun

                    @qax1 sagte in BACKITUP host.raspy-io Cannot pack directory /...:

                    eine besser zu verstehende Antwort erwartet...

                    Was fehlt dir?
                    Man sieht, dass da keine Freigabe gemountet ist.

                    /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)
                    

                    sind die beiden einzigen 'hardware'-basierten Dateisysteme (die von deiner SD-Karte). Dein NAS taucht nicht auf. Alles andere sind interne Dinge.

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Qax1 @Thomas Braun last edited by

                      @thomas-braun

                      17:00:18.754INFOguiBackup gestartet ...
                      17:00:28.804DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=iostefan,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.2.100/NetBackup/IO-Backup /opt/iobroker/backups"
                      17:00:29.225DEBUGmountmount successfully completed
                      17:00:29.272DEBUGmountdone
                      17:00:32.119DEBUGiobrokerhost.raspy-io 1333 objects saved
                      17:00:32.200DEBUGiobrokerhost.raspy-io 486 states saved
                      17:00:32.208DEBUGiobrokerhost.raspy-io Validating backup ...
                      17:00:32.261DEBUGiobrokerhost.raspy-io "config.json" is valid
                      17:00:32.265DEBUGiobrokerhost.raspy-io "objects.jsonl" exists
                      host.raspy-io "states.jsonl" exists
                      17:00:32.470DEBUGiobrokerhost.raspy-io JSONL lines are valid
                      17:00:32.475DEBUGiobrokerhost.raspy-io The backup is valid!
                      17:00:32.950DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_10-17_00_28_backupiobroker.tar.gz
                      This backup can only be restored with js-controller version 7.0 or higher
                      17:00:33.977DEBUGiobrokerdone
                      17:00:35.040DEBUGzigbeefound zigbee database: zigbee.0
                      17:00:35.047DEBUGzigbeedone
                      17:00:35.106ERRORzigbeeError: ENOSPC: no space left on device, close
                      17:00:36.688DEBUGcifsused copy path: /NetBackup/IO-Backup
                      17:00:36.730DEBUGcifsdone
                      17:00:37.319ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
                      17:00:37.330DEBUGcleandone
                      17:00:37.443DEBUGhistoryHTMLnew history html values created
                      17:00:37.537DEBUGhistoryHTMLdone
                      17:00:37.700DEBUGhistoryJSONnew history json values created
                      17:00:37.742DEBUGhistoryJSONdone
                      17:00:37.859DEBUGumountmount active, umount is started ...
                      17:00:42.895DEBUGumountumount successfully completed
                      17:00:42.937DEBUGumountdone
                      17:00:45.304DEBUGnotificationAdmin notification will be sent
                      17:00:45.317DEBUGnotificationdone
                      17:00:45.405INFOguiDas Backup wurde erfolgreich erstellt!
                      
                      MartinP 1 Reply Last reply Reply Quote 0
                      • MartinP
                        MartinP @Qax1 last edited by

                        @qax1 jetzt noch einmal ein "df"

                        Es scheint, als ob das NAS voll wäre

                        mcm1957 Q 2 Replies Last reply Reply Quote 0
                        • mcm1957
                          mcm1957 @MartinP last edited by

                          Bitte beachten - es wird offenbar gemounted:

                          //192.168.2.100/homes/

                          In /homes haben am synology (zu recht) nur adminstratoren Zugriff. Dort ist aber wie Thomas schon geschrieben hat sicher kein guter Platz für Backups.

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

                            @mcm1957 Ich habe mir am Cifs Mounten aus meinem LXC Container die Zähne ausgebissen, und mache jetzt lokale Backups, die später in der Nacht per Cronjob mit rsync auf das Netzlaufwerk geschoben werden ...

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

                              @martinp
                              Synology kann auch nfs

                              Thomas Braun MartinP Q 3 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @mcm1957 last edited by

                                @mcm1957

                                Aber auch das muss richtig eingestellt / freigegeben werden.

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

                                  @mcm1957 Mein NAS war damals eine Seagate Dockstar ... ich glaube, ich lasse das aber bei rsync - never change a running system ...

                                  Habe dadurch jetzt eine Woche Lokal im LXC-Container als Backups, und 40 Tage auf dem NAS....

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

                                    @thomas-braun
                                    Ja sicher 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • Q
                                      Qax1 @MartinP last edited by

                                      @martinp

                                      
                                      pi@raspy-io:/opt/iobroker/backups $ df
                                      Filesystem     1K-blocks    Used Available Use% Mounted on
                                      udev             1673520       0   1673520   0% /dev
                                      tmpfs             388296    1168    387128   1% /run
                                      /dev/mmcblk0p2 122339224 5618616 110489016   5% /
                                      tmpfs            1941460       0   1941460   0% /dev/shm
                                      tmpfs               5120      16      5104   1% /run/lock
                                      /dev/mmcblk0p1    522230   55944    466286  11% /boot/firmware
                                      tmpfs             388292       0    388292   0% /run/user/1000
                                      pi@raspy-io:/opt/iobroker/backups $
                                      
                                      
                                      Q 1 Reply Last reply Reply Quote 0
                                      • Q
                                        Qax1 @Qax1 last edited by

                                        @MartinP

                                        Sorry Frau hat gerufe "ESSEN is Fertig" 🙂

                                        Q 1 Reply Last reply Reply Quote 0
                                        • Q
                                          Qax1 @Qax1 last edited by

                                          Da ich jetzt n bisschen den Faden verloren habe,
                                          hier nochmal n aktueller LOG

                                          19:18:53.857INFOguiBackup gestartet ...
                                          19:19:03.909DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=iostefan,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.2.100/NetBackup/IO-Backup /opt/iobroker/backups"
                                          19:19:04.335DEBUGmountmount successfully completed
                                          19:19:04.380DEBUGmountdone
                                          19:19:07.271DEBUGiobrokerhost.raspy-io 1333 objects saved
                                          19:19:07.355DEBUGiobrokerhost.raspy-io 488 states saved
                                          19:19:07.358DEBUGiobrokerhost.raspy-io Validating backup ...
                                          19:19:07.366DEBUGiobrokerhost.raspy-io "config.json" is valid
                                          19:19:07.376DEBUGiobrokerhost.raspy-io "objects.jsonl" exists
                                          host.raspy-io "states.jsonl" exists
                                          19:19:07.619DEBUGiobrokerhost.raspy-io JSONL lines are valid
                                          19:19:07.623DEBUGiobrokerhost.raspy-io The backup is valid!
                                          19:19:11.354DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2024_12_10-19_19_03_backupiobroker.tar.gz
                                          19:19:11.358DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher
                                          19:19:18.156DEBUGiobrokerdone
                                          19:19:19.223DEBUGzigbeefound zigbee database: zigbee.0
                                          19:19:19.233DEBUGzigbeedone
                                          19:19:19.261ERRORzigbeeError: ENOSPC: no space left on device, close
                                          19:19:20.876DEBUGcifsused copy path: /NetBackup/IO-Backup
                                          19:19:20.922DEBUGcifsdone
                                          19:19:21.498ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
                                          19:19:21.510DEBUGcleandone
                                          19:19:21.629DEBUGhistoryHTMLnew history html values created
                                          19:19:21.720DEBUGhistoryHTMLdone
                                          19:19:21.885DEBUGhistoryJSONnew history json values created
                                          19:19:21.927DEBUGhistoryJSONdone
                                          19:19:22.044DEBUGumountmount active, umount is started ...
                                          19:19:27.114DEBUGumountumount successfully completed
                                          19:19:27.162DEBUGumountdone
                                          19:19:29.522DEBUGnotificationAdmin notification will be sent
                                          19:19:29.536DEBUGnotificationdone
                                          19:19:29.628INFOguiDas Backup wurde erfolgreich erstellt!
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Q
                                            Qax1 @mcm1957 last edited by

                                            @mcm1957

                                            Aber es hatte ja n weile lang funktioniert.

                                            Thomas Braun 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

                                            994
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            58
                                            2237
                                            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