[TUTORIAL] USB Automount

BridgeBum

New Member
Jan 17, 2022
1
0
1
48
Hi, novice user struggle to set up their first system.

I have a 5 TB USB drive that I want to pass to a guest machine. I've attempted to follow the instructions here but I am struggling. The pve7-usb-automount package is installed to the proxmox install, and the drive does show up there as /dev/sdb. I cannot for the life of me figure out how to pass that drive along to a guest OS.

I have tried to use USB passthrough unsuccessfully. I cannot seem to add the disk to an LVM pool either. I'm at a loss as to what to try next. A step by step guide would be helpful, my perusing of the admin guide so far hasn't found anything helpful, but it is more than possible I overlooked something.

Help!
o_O

Edit: I'm an idiot, I didn't realize that changes were pending and not actually implemented. Once I stopped/started the VM then all was well with the world.
 
Last edited:

eduardoll

New Member
Feb 6, 2021
11
0
1
39
Guys, after installing for tests and then removing pve7-usb-automount, something broke on my PVE Host. Basically, USB devices are no longer working anymore. Looks like an issue with usb controller driver. Anyone know what I can do to solve this problem? Thanks

usb.png

no more usb devices passthrough to VMs:usb2.png
Actually, now I can only remote acess.. keyboard is not working anymore :(
 
Last edited:

bonek

New Member
Jan 30, 2022
1
0
1
31
I have problem with use IT in 7.1 version

What can I do?
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python3-pyside2.qtcore : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
E: Unable to correct problems, you have held broken packages.
root@promox:~#
 

vlaves

Member
Oct 28, 2017
6
0
21
43
I am moving from Hyper-V back to Proxmox and I have a USB3.1 HDD enclosure for 4 drives and I would like to passthrough all 4 harddrives by-id as I did in the past with SATA Disks. Do I need to mount the USB Disk prior or is mounting just needed if you want to access the disk within proxmox host?

So before I mess up something, I thought I'll better ask the question here if I will need automount for my use case at all.

Thanks for the support
 
Last edited:

The_Invisible

Member
Apr 19, 2016
3
3
23
37
@bonek
Seems like you are using old apt repo files and mix with new ones?!? Make sure all your apt repos use your current system codename.

@vlaves
Dont use this tool for what you want to do. This tool is meant for automatic temporary storage mount on PVE. Just use the PVE Interface and passtrough which PVE provides.
 

vlaves

Member
Oct 28, 2017
6
0
21
43
@vlaves
Dont use this tool for what you want to do. This tool is meant for automatic temporary storage mount on PVE. Just use the PVE Interface and passtrough which PVE provides.
Thanks for the reply :)
Can you please just tell me, if the hard disks of an 4-bay USB3 case would be visible without any further configuration for passthrough in the command line in the folder .../by-id/... so I could just follow the guide here: Passthrough Physical Disk to Virtual Machine (VM) - Proxmox VE
 

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 your own in 60 seconds.

Buy now!