Mount samba shares with systemctl

This comes directly from the archwiki, due to I got tired of mount the nas shares using dolphin (or similar) and have to go to the /run/media.... path everytime, or by manually running: 1 mount --mkdir -t cifs //SERVER/sharename /mnt/mountpoint -o username=username,password=password,workgroup=workgroup,iocharset=utf8,uid=username,gid=group Instead, I will just manually run: 1 systemctl start mnt-nas.mount Or enable it to mount it automatically during boot and to unmount I just have to stop the service. ...

June 22, 2025 · 2 min · 311 words · Me

Folder share from Proxmox to LXC, for Samba

Since I installed Proxmox for my small home server, I struggled a bit with nas shares due to user ownership and permissions, but after searching a bit I encountered a tutorial (I can remember where) to do it easily. So, before I forget it I will write here how I nailed it. It works to share a mountpoint from Proxmox to the LXCs, so if you have an ssd/hdd in that directory, it will share the whole disk. ...

June 21, 2025 · 2 min · 307 words · Me