Install LucidLink and manage a client systemd service to survive system reboot, re-activate and automatically mount a Filespace in the preferred system location using the following article:
LucidLink manual Linux systemd service
CentOS 7
Create the Iconik users home directory cantemo and assign it full permissions
sudo mkdir /home/cantemo
sudo chmod 777 /home/cantemo
Configure the LucidLink systemd file using the managment script command
sudo ./lucid_systemd.sh --fs filespace.domain --user root --password password --mount-point /media/filespace --fuse-allow-other --sysd-user cantemo --sysd-group cantemo --sysd-file filespace-domain.service
Verify the user and group under the LucidLink mount is showing cantemo
sudo ls -la /media/filespace
Ubuntu 20.04 (focal)
Create the Iconik user home directory and assign it full permissions
sudo mkdir /home/cantemo
sudo chmod 777 /home/cantemo
Configure the LucidLink systemd file using the managment script command
sudo ./lucid_systemd.sh --fs filespace.domain --user root --password password --mount-point /media/filespace --fuse-allow-other --sysd-user cantemo --sysd-group cantemo --sysd-file filespace-domain.service
Verify the user and group under the LucidLink mount is showing cantemo
sudo ls -la /media/filespace
Ubuntu 22.04 (jammy)
Create the Iconik user home directory and assign it full permissions.
Note the system user is now using iconik with Ubuntu Version 22.04
sudo mkdir /home/iconik
sudo chmod 777 /home/iconik
Configure the LucidLink systemd file using the managment script command
sudo ./lucid_systemd.sh --fs filespace.domain --user root --password password --mount-point /media/filespace --fuse-allow-other --root-path /home/iconik --config-path /home/iconik --sysd-user iconik --sysd-group iconik --sysd-file filespace-domain.service
Verify the user and group under the LucidLink mount is showing iconik
sudo ls -la /media/filespace
As showcased in the management script article, --replace
is an extremely versatile command. When specified it will substitute a daemon unit file with the new arguments provided in the command syntax. There is no need to remove, simply update an existing.
sudo ./lucid_systemd.sh <arguments> --replace <unitfile>
Replace can be used to correct mistakes, or configurational changes that are required on the system. It will stop, disable, remove and reload the systemd daemon and then apply the newly specified command-line arguments.
If you have any queries or challenges, please do not hesitate to reach out to our support via a ticket. We will be happy to provide assistance.
Please provide any error messages you encounter, your unit file output, obfuscating any sensitive information.