Me, trying to step into the world of linux
Me, trying to step into the world of linux
Here’s how to mount an nfs share:
#cat /etc/systemd/system/mnt.data.mount [Unit] Description=nfs mount script [Mount] What=192.168.0.30:/mnt/tank/Media Where=/mnt/data Type=nfs4 [Install] WantedBy=remote-fs.targetFwiw, as someone also recently new to Linux, I thought this captured part of the experience brilliantly, and without malice.
Of course op probably went on to google (and find) the answer, so I agree with you that getting the answer with this post was probably not the point. But it’s a quality shitpost, and I endorse it! 😀
Meanwhile I found a solution using fstab.
What’s the advantage of using a systemd script?
I’ll probably switch to simple script, since I don’t like the idea of my laptop shouting my NAS access credentials into any available random network on startup.
Hello, I’ve just started to return to linux as my main work environment after a few years of abstinence. I want to access an smb share, which is running on my NAS system, which is working fine with plasma / KDE apps, but with GTK-based apps, like Firefox and Code, I can’t see my share. Edit: the mount issue has been solved, the error was in front of the screen. mount -t nfs nas:/sharedFolder /mnt/entrypoint creates a symlink but then never finishes running. I’ve installed gvfs-smb. What am I doing wrong? I use Manjaro Plasma btw.
Oh that’s easy! I have this friendly multi-page PDF that assumes you have an active directory domain already (god rest your soul if you’re raw dogging kerberos and ldap raw) that walks you through the instructions step by step and…
mount.nfs4: access denied by server
rm -rf --no-preserve-root /
It looks like the command you’re trying to paste contains danger—
yes, yes I know what paste is let gooooo
:(){ :|:& };:
:(){ :|:& };:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf --no-preserve-root / || echo *Click*
Or a version for pussies:
[ $[ $RANDOM % 6 ] == 0 ] && echo ‘*You dead*’ || echo ‘*Click*’
man
man is intense
man?! …a miserable pile of secrets…!
fstab. Since it’s a network share, you may wanna check out autofs too.
Something that works fairly well for me:
sudo copy /etc/fstab /etc/fstab.bakHow do I mount a samba share in Ubuntu Server 22.04?