Removing disk passthrough

JackieBrown

Member
Jul 12, 2021
9
0
6
45
Good afternoon,
I initially set up a VM with mergerfs and samba on it. I formatted the disks directly on the VM. I'd like to redo that and have proxmox handle the harddrive mounts directly and run a lxc container with samba and another with mergerfs.

The problem is that I cannot seem to get proxmox to see the hardrives as available again.

I set the passthrough initially with
Code:
qm set  102 -  -scsi2 /dev/disk/by-id/device
I have tried removing it with
Code:
qm set  102 --delete scsi2
When I try to now mount it under disks, I just receive a message saying no unused disks. Shouldn't the hard drive I detached now be availble?

On this thread, it stated they had to reformat all the drives. I'm really hoping that's not the case.
https://www.reddit.com/r/Proxmox/comments/boqjrb/undo_proxmox_physical_disk_passthrough/
 
I was able to manually mount the drives directly on proxmox so I know they are mountable.

Is the problem that I am using ext4? I just read through the storage section and I don't see that listed (unless it's covered under directory).
Edit - it's covered my directory.

Short of reinstalling and loading all the drives at start, is there a way to have proxmox see these drives? I'd rather reinstall proxmox than copy 14 tb all over again.
 
Last edited:
I was able to manually mount the drives directly on proxmox so I know they are mountable.

Is the problem that I am using ext4? I just read through the storage section and I don't see that listed (unless it's covered under directory).
Edit - it's covered my directory.

Short of reinstalling and loading all the drives at start, is there a way to have proxmox see these drives? I'd rather reinstall proxmox than copy 14 tb all over again.
You could manually mount the drive using fstab. If you create a disk using the WebUI it wants a clean drive because it will format it.
 
I didn't do it through the webui (I didn't realize I could when I was setting this all up.)

I've tried removing the drive from the VM using the webui and from the CL. Neither let's proxmox see it.

I don't mind adding it directly to the fstab but I believe that would mean that I won't be able to administer it via proxmox. I'm switching to LXC so that I can better use the tools.
 

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!