This is is a "trial answer." Try it, and if it does not work, you may want to revert all the changes I suggest below.
The Problem (I think)
The RAID array is not automounted after the re-install. When you mount it using Files>Other Location the RAID array is mounted with the user permission of joeadmin
. That means the array is for the use of the user joeadmin
only. That may be one of the reasons it can't be accessed by other users.
Solution
We will mount the RAID array when the system, boots at a new mountpoint that is owned by root
and not joeadmin
.
Create a new mountpoint
First we create a new folder under /media/
. Let's call it sambaraid
. Open a terminal and enter:
sudo mkdir /media/sambaraid
If you are not familiar with the sudo
command, it will ask you for your password. When you enter the password the cursor will not move. This is normal.
Now let's change permissions so that everyone can read and write to this folder:
sudo chmod -R 777 /media/sambaraid
Modify /etc/fstab
Unmount the RAID array in Files, if it is mounted.
Now that we have created the mountpoint for the RAID array, we have to tell the computer to use it when the computer boots. We do this by adding a line in the file fstab
. To edit this file we have to open it as an administrator. Use the command below to open the file in an editor:
sudo -H gedit /etc/fstab
Don't forget the -H
option. It is important when you use sudo
with a GUI app like gedit
.
This is a good time to check for other lines at the bottom of the file. If you find any other lines, please update your question.
Go to the end of the file and these two lines:
# RAID Array for SAMBA
UUID=416d38fa-058d-4f23-bfb3-c4a28b998655 /media/sambaraid/ ext4 defaults 0 0
The first line is a comment and it tells you what the next line is about. Note the string after UUID=
. I copied it manually from the screenshot of the disks app you posted in the question. Make sure this is accurate. You may copy and paste it from the disks app.
Save and exit the editor.
Enter the following command to mount the RAID array in its new mountpoint:
sudo mount -a
Make sure there are no errors after this command. Now you should be able to navigate to /media/sambaraid
in the Files app and see all the folders in the RAID array.
Next Step
Setup Samba to use the RAID array at the new mountpoint. I suppose you already know how to do this. If not check the contents of the file /etc/samba/smb.conf
. It should have a section [sambashare]
where the folder in the RAID array you share should be listed. Edit this section to look like this:
[sambashare]
comment = Samba to share RAID array
path = /media/sambaraid/some_folder
read only = no
browsable = yes
where some_folder
is the name of the folder that you want to share in the RAID array.
Restart samba so the the changes take effect with the command:
sudo service smbd restart
Check if uwf
is enabled with the command:
sudo ufw status
If ufw
is active, there should be a rule that allows samba. If there is no such rule you will need to add it.
References:
https://www.bomski.com/automount-software-raid-array-in-ubuntu/
https://ubuntu.com/tutorials/install-and-configure-samba
Hope this helps