[SOLVED] Festplatte in CT mounten

112marv

New Member
Aug 7, 2020
3
1
3
34
Hallo,
ich hatte eine Nextcloud-Instanz auf einem RaspberryPi laufen und möchte diese nun zu einem Proxmox-Container umziehen.
Alle Daten habe ich auf einer HDD. Ich versuche nun schon den ganzen Tag und scheitere daran die HDD nun so in dem Container zu mounten, dass ich direkt auf die Dateien zugreifen kann.
Über die Proxmox GUI wird die Festplatte zwar erkannt, aber ich kann nichts mit machen. (Beim erstellen von ZFS o.ä. steht nur "Alle Disks benutzt"
In dem Knoten kann ich sie per shell mounten. Dort sehe ich dann auch alle Dateien, die auf der Platte sind.
Ich kann die Festplatte aber nicht in dem Container mounten. Fehler: mount: /mnt/USB-Drive-1TB: special device /dev/sdc1 does not exist.
Wenn ich lsblk eingebe, wird mir sdc1 aber angezeigt.

Hat jemand eine Idee oder einen Lösungsansatz, wie ich die Festplatte im Container mounten kann?
Ich würde sie nur sehr ungerne formatieren und neu partitionieren o.ä.

Ganz verstanden habe ich den Umgang mit den Disks sowieso noch nicht.
Egal welche Option ich auswähle, es wird immer eine virtuelle Festplatte auf der Festplatte erstellt und damit wird dann gearbeitet? Ist das richtig?

Vielen Dank.

EDIT

Das liebe ich ja immer. Sucht nen ganzen Tag, schreibt ins Forum und 10 Minuten später findet man dann die Lösung.
https://forum.proxmox.com/threads/accessing-a-host-partition-from-inside-a-container.54560/

Gruß
Marvin
 
Last edited:
Schön, dass eine Lösung gefunden wurde :) - Danke für das markieren des threads als 'SOLVED'!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!