I plugged in the ext4 USB drive on the Raspberry Pi 4B
The device showed up as /dev/sba drive and /dev/sba1 as a small swap (unused) and /dev/sba2 as my large partition of the files I wish to share on the server.
I created a mount directory with permissions:
sudo mkdir -p /mnt/sda2
sudo chown -R pi:pi /mnt/sda2
I added a mount to the /etc/fstab file and rebooted after adding this:
UUID=xxxxxx(of my drive) /mnt/sda2 ext4 defaults,auto,users,rw,nofail,noatime 0 0
The contents of the USB drive appear under the /mnt/sda2 when I view it via RPi terminal.
Checking with OMV "File Systems", there is a YES under the mount /dev/sda2 (no reference to what I have it mounted which is /mnt/sda2 )
Now after enabling Samba on OMV, when I go to the SMB menu and click the option to ADD
There are no select-able items that appear when I select Services, SMB/CIFS, Shares, Add and click the down arrow in the "Device" field.
If I click on the "Device" field, the window just flashes and if I attempt to type in the line /mnt/sda2/Videos that exists on the share, it blanks it out as well.
How to I share the drive I just mounted at /mnt/sda2 ?
I want to create several shared including /mnt/sda2/Videos, /mnt/sda2/Sketches, /mnt/sda2/Dissertations, etc. (not these directories are already created on the USB drive and are full of files now.
Thanks!