this post was submitted on 06 Aug 2023
13 points (88.2% liked)
Linux
48074 readers
1273 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Using
gvfs-nfs
returns unknown file system type.I've run
mount -v yadda yadda
and gotportmap query failed: RPC: Unable to receive - Connection refused
So you need to work out what you actually want to access and use the correct protocol/command combo.
You mentioned in your post 2 protocols SMB and NFS.
If the share is SMB/windows then use mount -t cifs ... (make life easier and ensure guest access is correct and working)
If the share is NFS then use mount -t nfs .... (beware that nfs is also version specific)
Additionally use the correct gvfs tools either gvfs-smb or gvfs-nfs.
And as always when using arch based distro's refer to wiki for full setup guides/examples
You're right, I've been mixing up nfs and smb.
Meanwhile, I've found a solution: I've added the following line to my
/etc/fstab
://nas/sharedFolder /mnt/entrypoint cifs credentials=/home/yourUserNameHere/.nascreds,uid=yourUserID,gid=yourGroupID,defaults,auto 0 0
then run
sudo systemctl daemon-reload
followed bysudo mount -av
.make sure your credentials file can only read by users and groups you trust, in my case it's 750.
However, this is still a workaround. The thing is, GTK-based apps don't show network resources. That irks me.