Hi, all!
I have a NAS, located on https://192.168.1.222:5201/
, and accessible via AFP:
afp://xylan.local/fro on xylan/
.
I would like to mount this, using systemd. I have created the file:
/etc/systemd/system/media-nas.mount
containing:
[Unit]
Description=Mount of NAS (/media/nas)
[Mount]
What=//192.168.1.222/fro
Where=/media/nas
Type=cifs
Options=iocharset=utf8,rw,file_mode=0777,dir_mode=0777,user=muna,password=[PASSWORD]
TimeoutSec=30
[Install]
WantedBy=remote-fs.target
WantedBy=multi-user.target
However, running:
sudo systemctl start media-nas.mount
returns the output:
Job failed. See "journalctl -xe" for details.
$ journalctl -xe
returns:
Aug 12 16:28:04 tuxwarrior systemd[1]: Mounting Mount of NAS (/media/nas)...
░░ Subject: A start job for unit media-nas.mount has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit media-nas.mount has begun execution.
░░
░░ The job identifier is 43440.
Aug 12 16:28:04 tuxwarrior mount[233260]: mount error: cifs filesystem not supported by the system
Aug 12 16:28:04 tuxwarrior mount[233260]: mount error(19): No such device
Aug 12 16:28:04 tuxwarrior mount[233260]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Aug 12 16:28:04 tuxwarrior systemd[1]: media-nas.mount: Mount process exited, code=exited, status=32/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ An n/a= process belonging to unit media-nas.mount has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 32.
Aug 12 16:28:04 tuxwarrior systemd[1]: media-nas.mount: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit media-nas.mount has entered the 'failed' state with result 'exit-code'.
Aug 12 16:28:04 tuxwarrior systemd[1]: Failed to mount Mount of NAS (/media/nas).
░░ Subject: A start job for unit media-nas.mount has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit media-nas.mount has finished with a failure.
░░
░░ The job identifier is 43440 and the job result is failed.
It seems like cifs is the problem:
mount error: cifs filesystem not supported by the system
Does anyone know how I can fix this issue? Should I use something else than cifs
?