Questions CT and RAW Storage

DocMAX

Member
Jan 30, 2023
256
19
23
Bremen
1) Is it possible to add raw storage to a CT? Meaning having a /dev/sda,b,c... device that i can format? (sda = a volume inside zpool)
2) Can i add them via CLI? (pct set ...)?
 
You can use device passthrough.
Either via the Web UI: Navigate to the container, then go to Resources -> Add -> Device Passthrough
Or via the CLI: pct set <container id> --dev0 path=/dev/sda