Work in Progress
Homelab Guides
OpenMediaVault
Description
Installation
Download ISO
- Navigate to the
localstorage on your Proxmox node. SelectISO Imagesin the list view, then click theDownload from URLbutton in the ribbon. - Download the OpenMediaVault ISO, e.g.:
https://sourceforge.net/projects/openmediavault/files/6.5.0/openmediavault_6.5.0-amd64.iso
Create VM
- Create a new VM following the wizard.
- The disk
scsi0will be for your system volume. This won't be used to store any storage data. We'll add the storage drive later. - Under the
CPUtab, increase the number of Cores, and change Type tohost.
- The disk
- Once the wizard is complete, navigate to the new VM in the tree view, then select
Consolein the list view.
Install OpenMediaVault
- Follow the OpenMediaVault's installation wizard.
- When it's complete, shut down the VM (don't reboot or restart)
- Under Hardware, remove the item called
CD/DVD Drive (ide2)that is your Installation ISO. - Log in to the web UI (the credentials are in the console login screen)
- Change your password
- Go to
Network>Interfaces>Interface 1>Editand give your device a static IP. - If you've never used OMV before, you'll notice that it will prompt you with a yellow banner to confirm changes before applying them. You will have to do this whenever you make changes.
Passing through a SATA drive
- Get the disk ID of the disk you want to passthrough:
ls -l /dev/disk/by-id | grep ata
- Add it to your VM with the following:
qm set 103 -scsi2 /dev/disk/by-id/ata-ST1000LM035-1RK172_WL1P2SZV
- You should now see the drive in the web UI under
Storage>Disks - If you're not using encryption, you can create a file system. Otherwise, head on to encryption.
Enable omv-extras and LUKS encryption
- start [omv-extras.org]
- Install omv-extras using the command on the docs page.
- In OMV web UI, navigate to
System>Plugins, then search forluksto find:openmediavault-luksencryption
- Select it in the list, click the
Installbutton on the ribbon, thenConfirmand pressYes. - #todo How do we backup the header file?
Encrypt your storage harddrive
- Navigate to
Storage>Encryption>Create - Fill in the dialog, and confirm the changes.
Create filesystem
Storage>File Systems>Create and mount a filesystem
Create a Shared Folder
Storage>Shared Folders>Create
Enable SMB/CIFS
Services>SMB/CIFS>Settings>Enabledto true
Create a SMB Share
Services>SMB/CIFS>Shares>Create- Under
Shared folderselect the one you just created.
Create a SMB User
Users>Users>Create | Import- Select the user you just created, then click the
Permissionsbutton on the ribbon. - Add
Read/Writefor the Shared Folder you created earlier. - Click
Save, thenApply configuration changes.
Setting up Shared Folders
Setting up SMB shares
Setting up NFS shares
- Enable NFS under Services > NFS > Settings
- Create a new Share under Services > NFS > Shares