© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•13mo ago•
8 replies
uba2615

Issues mounting SMB share via systemd mount. Contains a symlink?

Not sure if immutable specific, user error or lack of knowledge..

I have not yet created the automount, as I am trying first verify systemd mounts.

When I test cifs, mounts and is writable as expected, so smbcred and addresses are being loaded correctly -

sudo mount -t cifs //192.xxx.xx.xxx/media /home/xxxx/xxxx/media -o rw,uid=1000,gid=1000,credentials=/home/xxxx/.sambacreds
sudo mount -t cifs //192.xxx.xx.xxx/media /home/xxxx/xxxx/media -o rw,uid=1000,gid=1000,credentials=/home/xxxx/.sambacreds

I have the following in sytstemd/system/home-xxxx-xxxx-media.mount
[Unit]
Description=Mount SMB share
# We require network connection before proceeding.
Requires=network-online.target
After=network-online.target systemd-resolved.service
Wants=network-online.target systemd-resolved.service

[Mount]
# "What" is what will be mounted. ie our NAS SMB share
# PUT YOUR SMB IP ADDRESS! (the // is important, don't change it)
What=//192.xxx.xx.xxx/media
# "Where" is where it will be mounted in the filesystem
Where=/home/xxxx/xxxx/media/
Type=cifs
# Let the mounted filesystem be read/write-able
# Let the mounted filesystem be owned by the 'deck' user/group
# Use the specified credential file for the connection
Options=rw,uid=1000,gid=1000,nofail,credentials=/home/xxxx/.sambacreds
# Lets quit trying after 30 seconds
TimeoutSec=30

[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount SMB share
# We require network connection before proceeding.
Requires=network-online.target
After=network-online.target systemd-resolved.service
Wants=network-online.target systemd-resolved.service

[Mount]
# "What" is what will be mounted. ie our NAS SMB share
# PUT YOUR SMB IP ADDRESS! (the // is important, don't change it)
What=//192.xxx.xx.xxx/media
# "Where" is where it will be mounted in the filesystem
Where=/home/xxxx/xxxx/media/
Type=cifs
# Let the mounted filesystem be read/write-able
# Let the mounted filesystem be owned by the 'deck' user/group
# Use the specified credential file for the connection
Options=rw,uid=1000,gid=1000,nofail,credentials=/home/xxxx/.sambacreds
# Lets quit trying after 30 seconds
TimeoutSec=30

[Install]
WantedBy=multi-user.target


The result:

systemctl status home-xxxx-xxxx-media.mount
× home-xxxx-xxxx-media.mount - Mount SMB share
     Loaded: loaded (/etc/systemd/system/home-xxxx-xxxx-media.mount; enabled; preset: disabled)
     Active: failed (Result: resources)
 Invocation: e67758bxxxxxxxxxxxxxx764a6a5e0
      Where: /home/xxxx/xxxx/media
       What: //192.xxx.xx.xxx/media

Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Mount path /home/xxxx/xxxx/media is not canonical (contains a symlink).
Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Failed with result 'resources'.
Feb 02 13:29:02 bazzite systemd[1]: Failed to mount home-xxxx-xxxx-media.mount - Mount SMB share.
systemctl status home-xxxx-xxxx-media.mount
× home-xxxx-xxxx-media.mount - Mount SMB share
     Loaded: loaded (/etc/systemd/system/home-xxxx-xxxx-media.mount; enabled; preset: disabled)
     Active: failed (Result: resources)
 Invocation: e67758bxxxxxxxxxxxxxx764a6a5e0
      Where: /home/xxxx/xxxx/media
       What: //192.xxx.xx.xxx/media

Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Mount path /home/xxxx/xxxx/media is not canonical (contains a symlink).
Feb 02 13:29:02 bazzite systemd[1]: home-xxxx-xxxx-media.mount: Failed with result 'resources'.
Feb 02 13:29:02 bazzite systemd[1]: Failed to mount home-xxxx-xxxx-media.mount - Mount SMB share.


Out of brain power...
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to mount smb share
BazziteBBazzite / 🛟bazzite-help
8mo ago
Issues with SMB Share
BazziteBBazzite / 🛟bazzite-help
2y ago
Mounting SMB shares fails both ways, fstab and systemd
BazziteBBazzite / 🛟bazzite-help
4mo ago
/boot contains a symlink to itself
BazziteBBazzite / 🛟bazzite-help
12mo ago