I was curious if anybody knows of a script or a method I can create the OMV config.xml file ??
My situation currently; I have a debian buster server with (many) disks using samba to serve my SMB shares for a shield plex server.
I was considering to add OMV as a service and starting using OMV. (or should I just stay with my current setup with samba without omv?)
All my partitions are ext4 and drives are being mounted via Labels currently.
*** Does a script exist where I can automatically run read my current tiles: fstab and smb.conf to create a config.xml ?
if not.
Can I manually create the config.xml "<mntent>" entries using my disk labels,,,, and smb.conf entries... "shares" (same as disk label)
I briefly looked into the manual process... I can't seem to figure out why the UUID's do not match the actual HD's UUID.... (using test OMV install on VM for now)
- Seems it's some randomly generated UUID and added to some DB. any suggestions?
I understand the need to unmount my current HD/shares.... and let OMV take care of the backend.
but to use the GUI to mount everything... manually and create all (26) mounts and the shares etc.. seems painful.
If I can create the config.xml would be beneficial if need to rebuild down the road.
A script to read smb.conf can determine which fstab entries would need to be removed so to let omv handle the mounts "a la omv"
generate the UUID and entry into DB and resulting config.xml and smb.conf file would be great.. I doubt that exists but...
But to keep things realistic. can anybody help with how these UUID's are generated and how to append them to the so called omv db.
I should be good with the rest of the manual generation of the config.xml.