Accessing Data Drives

Sethius

New Member
Mar 26, 2020
2
0
1
41
I may have bitten off more than I can chew, but Proxmox looked cool, so I have to try. My main goal is to get a stable Plex server up and running, as well as testing VMs. I was using OMV but Virtual Box kept breaking on me. My current set up is a Supermicro dual 2650, with 24bays, 2 x SSDs, 11 x Media and 1 with other various stuff. Long story short, I can install and get VMs & containers running, I just have no clue how to access my drives. Do I have to reformat all of them or is there a way to just merge them (like with mergerfs/UnionFS) and pass them through to the various containers/VMs. They are currently formatted for EXT4. Any and all help will be greatly appreciated.
 
Do you just want to pass through a set of drives to a unique VM?

As you talk about various VMs/CTs?

If, whyever, some VM (like the OMV one) should get all those disks to manage it itself with Proxmox VE not touching anything, you can pass them through directly, but currently that needs to be done over the commandline.

Assuming "scsi0" is used for your boot disk you can do:
qm set VMID --scsi1 /dev/sdXY --scsi2 /dev/sdXZ ...

If you want to Proxmox VE manage all those drives for you, do some redundancy and allow to create virtual disk volumes for guests on the total of them you could format them with ZFS (RAIDZ-2 or RAID10s or ...).

You can also do a mix of both approaches, pass through the OMV drives, pool the rest to a ZFS pool and use that unified storage for VM/CTs. That really depends on how your specific use case looks like.
 
Last edited:
How do I go about verifying your assumption of “scsi0” being my boot disk?

You can just open the hardware tab and check what drives are already there, then under VM→Options one can specifiy the media types which should be used for booting.

I ask because when I went into Putty and typed in the command you gave qm set 100 --scsi1/dev/sdb1 I get:

Oh, that was my mistake, I left out a space between the option --scsi0 and its value /dev/.., it should have been:
qm set VMID --scsi1 /dev/sdXY --scsi2 /dev/sdXZ ...
 

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!