[SOLVED] USB from host removes from host onto VM

voarsh

Member
Nov 20, 2020
218
19
23
28
Is there a way to have it on both VM and host?

When I put it on the VM my mount on PROXMOX host goes.

Can this be avoided by mounting via the device (UUID) name?
 
Last edited:
No.
What you want is a shared media. Nothing that will work like this. You also can't connect a USB device to two computers!
Mount it either to one or the other and export it as a fileshare (NFS/CIFS) to be mounted in the other
 
No.
What you want is a shared media. Nothing that will work like this. You also can't connect a USB device to two computers!
Mount it either to one or the other and export it as a fileshare (NFS/CIFS) to be mounted in the other
That's difficult, because the format I need is USB, but the host is using the same USB.
 
because the format I need is USB
There is no such Format...
USB is an interface. Why would you need USB? In the end it is a raw disk which needs to be formatted. That filesystem can be connected to only one host/server at a time. The second one needs to access the media different (typically via a file share)
 
There is no such Format...
USB is an interface. Why would you need USB? In the end it is a raw disk which needs to be formatted. That filesystem can be connected to only one host/server at a time. The second one needs to access the media different (typically via a file share)
Format... the wrong word.
I cannot add the USB to the VM when it is actively in use by the host.
The only thing I can think of is creating a disk and adding the files I need.

Does anyone here know how I might mount a newly added disk to a VM so I might add files to it (and unmount, detach and add to the VM that I need it to go to)?
 
so the purpose of the USB disk is to be used as a data transfer device? Is that correct?
 
so the purpose of the USB disk is to be used as a data transfer device? Is that correct?
Correct.
I cannot add the USB to the VM, I added a disk separately to another VM, but couldn't seem to mount it to add some data to put.
Any pointers for this?
 
Which OS do you run within the VM?
It's Windows based.
Whatever I do, I suppose I'll be mounting a disk on linux?
(NTS)?
Since disk mounting on Linux is a bit... confusing for me, would it be easier to setup a Windows VM, mount a new disk, add data, detach and add it to the VM I need it on?
 
Last edited:
Why dont you just copy the needed data through the rdp tunnel? That is the easiest.
Next option is to create an "Upload" share on the windows Box where anyone can write to. Or even the administrative share "C$" will do.

IMHO you are making things way to complicated ;)
 
Why dont you just copy the needed data through the rdp tunnel? That is the easiest.
Next option is to create an "Upload" share on the windows Box where anyone can write to. Or even the administrative share "C$" will do.

IMHO you are making things way to complicated ;)
It would be, but I am not running a FULL OS. That wouldn't work. The drive is tiny and I can't access explorer.
I'm not making it complicated, my recovery system isn't a full OS, and I can only mount a disk, ISO or network drive (I tried, couldn't).
This is the only option: Separate disk it is...
1609774590830.png

Hopefully I can mark this as solved, thanks.
 
Last edited:
Another (easy) option is create iso-images from a folder structure.
This also can be automated through power shell / CLI. You should be able to find something easily.
Then just uploading and mounting and you can.read the data. That obviously only works.if you don't need to write on that media ;)
 

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!