[HowTo]: Mount Additional Storage in OMV LXC on Proxmox #175
MickLesk
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mounting Additional Storage in OMV LXC on Proxmox
This guide explains how to mount additional storage in an OpenMediaVault (OMV) container running on Proxmox Virtual Environment (PVE).
Prerequisites
Steps
1. Create OMV LXC Container
Create an OMV LXC container on your Proxmox host using the corresponding script. Ensure the container is set to "Privileged" during creation.
2. Add Storage Mount Point
/data
.3. Find Block Device IDs
lvdisplay
in the Proxmox shell./dev/pve/vm-<CT_ID>-disk-X
.4. Create Mount Hook Script
253 9
with the block device numbers you found in the previous step.5. Add Hook to LXC Config
Edit the LXC config file:
6. Start the OMV Container
Start the OMV container.
7. Mount the Storage
/dev/sda1
.At this point, the additional storage should be available in the OMV interface. You can then create shares, set permissions, and use the storage as needed.
Please note that some users reported issues with this method, particularly around the block device numbers changing after a reboot. In such cases, you may need to modify the mount hook script to use the LVM volume UUID instead of the block device numbers.
Original-Thread: tteck/Proxmox#1075
Beta Was this translation helpful? Give feedback.
All reactions