Warning:
I take no responsibility for anything bad that happens, this is purely what I did and I'm leaving here for others.
This may also work on eailer versions of OpenMediaVault.
Issues
- Might not work with NFS sharing. link
- Permissions after mount can't be changed and are weird until I find the approriate mount options in /etc/fstab for ExFat.
- This is a workaround as at the time I first wrote this there was no current known support
Pre-Requirements
- OpenMediaVault 3 already installed on your system (It's possible this will work on earlier versions).
- Installed the OMV-Extras Plugin.
- Have another drive installed to symlink from and mounted.
- Backports Kernel Installed.
- SSH Enabled
Steps
- Install the openmediavault-sysmlinks plugin.
- Open a SSH session to you OpenMediaVault system.
- Install support for exfat on your system:
- Please restart your System with:
- Plugin your USB Drive.
- Open another SSH session to you OpenMediaVault system.
- Check you can see your USB drive in SSH:
You should see something like this:
Coderoot@pheoxyomv:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT └─sda1 8:33 0 1.8T 0 part /media/UUID-EXAMPLE ├─sdb1 8:97 0 128M 0 part └─sdb2 8:98 0 4.6T 0 part /media/PheoxysEXT sdc 8:112 1 29G 0 disk ├─sdc1 8:113 1 27.8G 0 part / ├─sdc2 8:114 1 1K 0 part └─sdc5 8:117 1 1.2G 0 part root@pheoxyomv:~#
- Now you need to mount the USB Drive with to check its working (use your own volumes id sdx).
- It should have mounted, so we navigate to the above directory:
You should see something similar:
- Now re need to reboot so we can make the directory to automount on boot:
- We also need the UUID for the fstab:
You should see something like this:
Coderoot@pheoxyomv:/media# blkid /dev/sdb1: TYPE="zfs_member" PARTLABEL="Microsoft reserved partition" PARTUUID="XXXX-XXXX-XXXX-XXXX" /dev/sdb2: LABEL="PheoxysEXT" UUID="You want - this one" TYPE="exfat" PARTLABEL="Basic data partition" PARTUUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX" /dev/sda1: LABEL="InternalHDD" UUID="XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" TYPE="ext4" PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX" root@pheoxyomv:/media#
- Now we need to make it mount on boot by adding it to the /etc/fstab (Make sure its done properly or your system will hang on boot because this is wrong):
Add this line to the end and edit it respectively (Make sure to use the appropriate uid=XX and gid=XX for youself):
- Save it and exit:
- Reboot again to make sure:
- Now we need to make a symbolic link so we can use it with OpenMediaVaults native WebUI:
Now we need to make the symbolic link:
- Now we need to set permissions to access it:
- Now if you go to the WebUI you should be able to make a Shared Folder to the ExFat USB Drive by finding the folder that links to the USB Drive from the symbolic link we made.
And your Done!