Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. USB-Stick als Laufwerk einbinden in VM

    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

    USB-Stick als Laufwerk einbinden in VM

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

      Hallo,
      Mein IoB läuft in einer Virtuellen Ubuntu Maschine in Proxmox. Nun wollte ich einen USB Stick als Laufwerk einbinden um dort z.B. die Backups und die History zu speichern. Ich habe schon die ein oder andere Anleitung hier aus dem Forum probiert aber es will einfach so gar nicht klappen. Ich bekomme einfach keinen Zugriff.

      Gibt es eine Schritt für Schrittanleitung?

      Homoran crunchip 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Beliar_666 last edited by

        @Beliar_666 sagte in USB-Stick als Laufwerk einbinden in VM:

        Gibt es eine Schritt für Schrittanleitung?

        Meines Wissens nicht.

        Bei einer VM kannst du einfach in der Konfig vom proxmox den USB durchreichen

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

          @Beliar_666 du musst deinen usb mounten, dann in rechenzentrum storage ein verzeichnis hinzufügen.
          name vergeben und den mountpfad angeben.
          4b9b54cd-0bb0-4c6c-8f59-bf4427c926de-image.png

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

            Ich denke er meint eher in der VM

            vm_USB.png

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

              @Homoran Ja genau, ich will den in IoB nutzen.

              Das mit dem durchreichen klappt ja eben nicht. müsste er dann nicht in der Konsole der IoB VM auftauchen?

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

                @Beliar_666
                Hast du denn da einen USB Port hinzugefügt?

                Beliar_666 1 Reply Last reply Reply Quote 1
                • Beliar_666
                  Beliar_666 @Homoran last edited by

                  @Homoran Also in der Konsole vom Proxmox sind beide USB Sticks zumindest mal zu sehen:

                  root@pve:~# lsusb
                  Bus 002 Device 008: ID 0781:5575 SanDisk Corp.
                  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
                  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 001 Device 003: ID 8087:07dc Intel Corp.
                  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
                  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  
                  
                  

                  Der Sandisk.

                  mit fdisk -l taucht er auch auf im Proxmox

                  
                  Disk /dev/sdb: 57.7 GiB, 61910024192 bytes, 120918016 sectors
                  Units: sectors of 1 * 512 = 512 bytes
                  Sector size (logical/physical): 512 bytes / 512 bytes
                  I/O size (minimum/optimal): 512 bytes / 512 bytes
                  Disklabel type: dos
                  Disk identifier: 0x9b25a212
                  
                  Device     Boot Start       End   Sectors  Size Id Type
                  /dev/sdb1       32768 120905189 120872422 57.7G  7 HPFS/NTFS/exFAT
                  
                  
                  
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Beliar_666 last edited by

                    @Beliar_666
                    Hast du gelesen was ich geschrieben habe?

                    du brauchst den USB doch in der VM - nicht in Proxmox, oder?

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

                      @Homoran Ja, genau da will ich den haben, aber wie bekomme ich den da jetzt hinein?

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

                        @Beliar_666

                        @Homoran sagte in USB-Stick als Laufwerk einbinden in VM:

                        Ich denke er meint eher in der VM

                        vm_USB.png

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

                          @Homoran Dort zeigt er mir dann aber mein USB Laufwerk nicht an?!?

                          usb.PNG

                          Das Angezeigte ist die einzige möglichkeit.

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

                            @Beliar_666
                            U S B! nicht CloudInit

                            Beliar_666 1 Reply Last reply Reply Quote 1
                            • Beliar_666
                              Beliar_666 @Homoran last edited by Beliar_666

                              @Homoran usb1.PNG

                              da ist es

                              Jetzt taucht es auch in der Konsole von der IoB VM auf.

                              Disk /dev/sdb: 57,7 GiB, 61910024192 bytes, 120918016 sectors
                              Units: sectors of 1 * 512 = 512 bytes
                              Sector size (logical/physical): 512 bytes / 512 bytes
                              I/O size (minimum/optimal): 512 bytes / 512 bytes
                              Disklabel type: dos
                              Disk identifier: 0x9b25a212
                              
                              Device     Boot Start       End   Sectors  Size Id Type
                              /dev/sdb1       32768 120905189 120872422 57,7G  7 HPFS/NTFS/exFAT
                              
                              

                              Also kann ich jetzt in dem History Adapter /dev/sdb1 angeben als Speicherort?

                              Beliar_666 1 Reply Last reply Reply Quote 0
                              • Beliar_666
                                Beliar_666 @Beliar_666 last edited by

                                Also /dev/sdb1 kann ich dem History-Adapter nicht zuweisen, das gibt ne Fehlermeldung im Log...

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

                                  @Beliar_666 ist der pfad nicht /media/sdb1

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

                                    @crunchip Nein, kommt selbige Fehlermeldung.

                                    host.iobroker	2019-12-07 14:39:08.085	info	Restart adapter system.adapter.history.0 because enabled
                                    host.iobroker	2019-12-07 14:39:08.085	info	instance system.adapter.history.0 terminated with code 0 (NO_ERROR)
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: path: '/media/sdb1/' }
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: code: 'EACCES',
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: syscall: 'mkdir',
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: errno: -13,
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
                                    host.iobroker	2019-12-07 14:39:08.085	error	Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at client.keys (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:588:17)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at states.getKeys (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6765:25)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at initLogging (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7061:64)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at Object.ready (/opt/iobroker/node_modules/iobroker.history/main.js:144:22)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12)
                                    host.iobroker	2019-12-07 14:39:08.084	error	Caught by controller[0]: at Object.mkdirSync (fs.js:757:3)
                                    host.iobroker	2019-12-07 14:39:08.083	error	Caught by controller[0]: { Error: EACCES: permission denied, mkdir '/media/sdb1/'
                                    history.0	2019-12-07 14:39:07.572	info	(3179) Terminated (NO_ERROR): Without reason
                                    history.0	2019-12-07 14:39:07.569	info	(3179) terminating
                                    history.0	2019-12-07 14:39:07.540	error	(3179) Error: EACCES: permission denied, mkdir '/media/sdb1/' at Object.mkdirSync (fs.js:757:3) at main (/opt/iobroker/node_modules/iobroker.history/main.js:348:12) at Object.ready (/opt/i
                                    history.0	2019-12-07 14:39:07.539	error	(3179) uncaught exception: EACCES: permission denied, mkdir '/media/sdb1/'
                                    history.0	2019-12-07 14:39:07.471	info	(3179) starting. Version 1.8.7 in /opt/iobroker/node_modules/iobroker.history, node: v10.17.0
                                    

                                    schaut nach ein em Rechteproblem aus...

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    782
                                    Online

                                    31.7k
                                    Users

                                    79.9k
                                    Topics

                                    1.3m
                                    Posts

                                    mounten proxmox ubuntu
                                    3
                                    16
                                    915
                                    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