Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Speicherplatz wird nicht vollständig verwendet

    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

    UNSOLVED Speicherplatz wird nicht vollständig verwendet

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SevenUp last edited by SevenUp

      Auf einem NUC läuft Proxmox, auf dem eine Ubuntu-VM läuft. Die dafür bereitgestellte Speichergröße/"Festplatte" war bei der Installation von ioBroker 10GB.
      Das hat irgendwann nicht mehr ausgereicht, deshalb habe ich unter Proxmox 10 weitere GB zugewiesen. Da ich von Linux wenig Ahnung habe, habe ich mit cfdisk oder parted es irgendwie hinbekommen, dass die ioBroker-Partition ohne Datenverlust nun mit 20GB angezeigt wird.
      ioBroker zeigt aber weiterhin nur knapp 10GB an.

      -> was muss ich machen, um die vollen 20GB durch ioBroker zu verwenden? Als Linux Neuling bin ich für jeden Tipp dankbar.

      Anbei Screenshots mit weiteren Informationen.


      parted.jpg
      cfdisk.jpg

      iobroker3.jpg
      iobroker2.jpg
      iobroker1.jpg

      1 Reply Last reply Reply Quote 0
      • S
        SevenUp last edited by

        Hat keiner einen Tipp?
        Habe nur noch 3% freien Speicher 😕

        1 Reply Last reply Reply Quote 0
        • A
          Adnim last edited by Adnim

          https://pve.proxmox.com/wiki/Resize_disks

          denke es geht mit dem befehl

          pvresize /dev/sda2
          
          Online for Linux Guests
          Here we will enlarge a LVM PV partition, but the procedure is the same for every kind of partitions. Note that the partition you want to enlarge should be at the end of the disk. If you want to enlarge a partition which is anywhere on the disk, use the offline method.
          
          Check that the kernel has detected the change of the hard drive size
          (here we use VirtIO so the hard drive is named vda)
          
          dmesg | grep vda
          [ 3982.979046] vda: detected capacity change from 34359738368 to 171798691840
          Print the current partition table
          fdisk -l /dev/vda | grep ^/dev
          GPT PMBR size mismatch (67108863 != 335544319) will be corrected by w(rite).
          /dev/vda1      34     2047     2014 1007K BIOS boot
          /dev/vda2    2048   262143   260096  127M EFI System
          /dev/vda3  262144 67108830 66846687 31.9G Linux LVM
          
          Resize the partition 3 (LVM PV) to occupy the whole remaining space of the hard drive)
          parted /dev/vda
          (parted) print
          Warning: Not all of the space available to /dev/vda appears to be used, you can
          fix the GPT to use all of the space (an extra 268435456 blocks) or continue
          with the current setting? 
          Fix/Ignore? F 
          (parted) resizepart 3 100%
          (parted) quit
          Check the new partition table
          fdisk -l /dev/vda | grep ^/dev
          /dev/vda1      34      2047      2014  1007K BIOS boot
          /dev/vda2    2048    262143    260096   127M EFI System
          /dev/vda3  262144 335544286 335282143 159.9G Linux LVM
          
          S 1 Reply Last reply Reply Quote 0
          • S
            SevenUp @Adnim last edited by

            @Adnim said in Speicherplatz wird nicht vollständig verwendet:

            denke es geht mit dem befehl
            pvresize /dev/sda2

            klappt leider nicht:

            iobrokervm@iobrokervm:~$ sudo pvresize /dev/sda2
              Failed to find physical volume "/dev/sda2".
              0 physical volume(s) resized / 0 physical volume(s) not resized
            

            parted und fdisk zeigen mir schon die richtige Größe der Partition an (20GB); in ioBroker wird die "Festplatte" dann auch mit 20GB angezeigt, aber als gemountes System werden nur die alten knapp 10GB angezeigt.

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @SevenUp last edited by

              @SevenUp ich glaube zu meinen, das du die "neue Platte"UUID in der fstab eintragen musst.
              https://forum.iobroker.net/post/197914

              S 1 Reply Last reply Reply Quote 0
              • S
                SevenUp @crunchip last edited by

                @crunchip Danke für den Tipp. Die richtige UUID war aber bereits eingetragen...
                Ich habe nun eine neue VM angelegt und dort iobroker installiert + backup eingespielt. War so nun am schnellsten, nachdem ich bei meinem Problem nicht mehr weiter kam

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

                Support us

                ioBroker
                Community Adapters
                Donate

                881
                Online

                31.8k
                Users

                79.9k
                Topics

                1.3m
                Posts

                cfdisk festplatte linux parted speicherplatz
                3
                6
                626
                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