Questions tagged as ['nfs']
I have 2 external HDD connected to my pc. I followed the Synology instructions and ran the command sudo mount -t nfs 196.168.x.x:/volumeX/test /mnt
this caused my currently connected external HDD to vanish. I had to reboot to get everything back to normal. How can I add the synology mount without removing my drives?

I have an NFS share in a Synology NAS mounted locally. I can mount it and access it normally from the terminal and other applications (such as downloading a file from Firefox to the share). However, if I open the share in Files (Ubuntu 20.04 LTS), I cannot write to it. But, I can write in some subfolders. Note that all folders have the same permissions and owner. Somehow is like Files knows which applic ...
I want to cache NFS mounts
My NFS mounts are handled by the automounter which is governed by NIS
I need to add the mount option, fsc, to the mounts to enable the cache
=> Where do I add this option?
auto.master is essentially empty because NIS is supplying all the mapping - I cannot see where I can set any mount options!
Users log in, through some hidden magic of NIS and the automount their home ...
hi guys i know this is basic question but i'm really confused right now i wanna do the glusterfs over zfs but it didn't work after i share it with nfs-ganesha i got a permission error (ls: reading directory '/var/share/': Unknown error 524) so i tried it with lvm and raid and everything worked just fine so i figured maybe it's zfs thing and i found in the zfs documentation an example of zfs volume with ...

[ OK ] Finished Remount Root and Kernel File Systems.
Starting Load/Save Random Seed...
[ 19.905402] systemd-journald[1486]: Journal effective settings seal=no compress=yes compress_threshold_bytes=512B
[ 19.919293] systemd-journald[1486]: Fixed min_use=1.9M max_use=9.8M max_size=1.2M min_size=512.0K keep_free=4.9M n_max_files=100
[ 19.927851] systemd[1]: systemd-sysusers.service: Conditi ...
I am hosting an NFS server on my Synology NAS. It is configured via the in-built NFS server under File Services. The configuration options are somewhat limited and I have set 32kb read/write packet size and max NFS version is 4.1.
The /etc/exports entry is:
/volume1/NAS_Andrew 192.168.0.0/24(rw,async,no_wdelay,crossmnt,insecure,all_squash,insecure_locks,sec=sys,anonuid=1024,anongid=100)
My ubuntu client ...

i have been struggling for the last 3 weeks setting up some thing like ltsp. we have a call center with 50 + client with 2G ram which is not enough, and a beafy server with 64 G ram. we used to use Ubuntu 16.04 with ltsp5 and it was a perfect solution for us as clients only need firefox and a softphone, but new ltsp is not supporting the thin client anymore, client boot up as fat client (using client ra ...
Ubuntu 21.10
I setup a fully functional PXE server but lately I received an error.
I followed this
/etc/exports:
/netboot/nfs *(rw,sync,no_wdelay,insecure_locks,no_root_squash,insecure,no_subtree_check)
label install
menu label Install ^Ubuntu-16.04 Desktop
menu default
kernel ubuntu1604/vmlinuz.efi
append initrd=ubuntu1604/initrd.lz boot=casper netboot=nfs nfsroot=192.168.1. ...
Ubuntu 21.10
I setup a functional PXE server but lately I received an error. I supposed the NFS export does not work. The permissions are 777. Can anybody have a solution to that?
I followed this
/etc/exports:
/netboot/nfs *(rw,sync,no_wdelay,insecure_locks,no_root_squash,insecure,no_subtree_check)
I resolved the issue so now, the live media boots over PXE OK.
I'm trying to make a OS backup with rsync and have put this into crontab. which by itself works great, but for some reason it refuses to take /export into account while looking at the excludes...
0 2 * * 0 rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/export/*"} /media/backup-disk/server-backup/ >/dev/null 2>&1
It does exclude all ...

I have been unable to find a relevant answer to this problem, although it's the sort of thing that is commonly reported on the web.
I recently migrated my existing HDD drives to a new Synology NAS after the old one died, which is when my troubles started.
I have always mounted a number of folders from the NAS on my Ubuntu PC using NFS, so that I can create "backup" copies of important files on the s ...
I am on Ubuntu 20.04 LTS. I click on the "Files" application, and then I click on "Other Locations" at the bottom of the sidebar. Among other things, it shows an NFS server on my network:
I click on "WhiteAndNerdy (nfs)", and this message pops up:
What exactly does that mean, and how do I fix it?
Updates:
Here is what I get when I right click on "WhiteAndNerdy (nfs)":
Here is what I get when I run

I have a mount to NFS share. If I use a terminal and rm the file (with my user) it works with no issue. I am able to delete files. However if I try to use Nautilus to navigate to the DIR and delete the file it wont work. If I right click on the file the delete option is grayed out. If it was a permission issue how would I be able to delete the file from the terminal?
EDIT: I am using a Synology N ...

I am gradually getting a Pi 4 cluster up and running, and have hit an issue I have not been able to resolve with google. It is my understanding of the Ubuntu boot process that is lacking really.
I have 5 nodes. Each is running Ubuntu 21.04. The first is a storage node, and runs from an SD card. It then has a couple of SSDs in RAID 1 split into 8 partitions. The first 4 partitions contain the root ...

On an Ubuntu 18.04.1 server, I am able mount AWS EFS filesystems with nfsv4.1 successfully.
Mounts work on kernel version 5.4.0-1056-aws but if i upgrade the kernel to 5.4.0-1057-aws the mounts stop working with a network timeout, due to port 111 being blocked (as its not needed for nfsv4.1)
Issue started to happen when apt daily automatically upgraded the kernel version.
I reproduced by rolling back k ...

I have successfully created diskless Ubuntu system instance via this community help page and it works perfectly. However, I would like to enable firewall with UFW and when I tried to do that the problem appeared.
As part of the tutorial on help page I prepared complete "filesystem" with other installation and already bootstraped OS with my settings there (installed necessary packages, changed con ...
Trying to setup a new file server. This is all a clean install on new hardware. Just installed nfs-server and I'm getting an error when I start it.
Code:
Sep 25 13:47:59 kernel: nfsd: unable to allocate nfsd_file_hashtbl
Sep 25 13:47:59 rpc.nfsd[797860]: error starting threads: errno 12 (Cannot allocate memory)
Sep 25 13:47:59 systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/ ...

Using Nautilus on Ubuntu 20.04, I use a NFS connection to a server for which I have opend through Other Locations
> Connect to server
and that I have added to Nautilus bookmarks.
Now that I wish to use different credentials, I can't seem to make Nautilus forget the ones I was using. I read here that Seahorse should contain them, but it doesn't.
So, where are they stored?
Edtit 1: I have rewritten title ...
I have 2 ubuntu 20.04 server and I can not mount an exported nfs dir.
NFS Server is up and running.
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: active (exited) since Thu 2021-09-02 14:46:05 CEST; 7min ago
Proc ...
I am running ubuntu 20.04 LTS (kernel 5.4.0-81-generic
) from PXE and I wish to add a local cache. Because I don't want to have a partition on all my devices for caching, I wish to use a ramdisk for that purpose.
I have managed to enable the fsc
option during boot with the help of this answer.
However when I run the cachefilesd
service, it failes with -95: Operation not supported.
This is probably be ...

I look after a cluster of servers running Ubuntu 20.04. Each one has their drives exported via NFS to other servers. They are ext4
file systems.
Also, we have a disk array (i.e., a SAN) which has been formatted as an ocfs2
(Oracle Cluster File System). This is mounted by the servers to provide additional disk space.
Everything appears fine... Except for one or two programs. These programs generat ...
I have added the following:
### tuple ### allow udp 111,2049,4000:4002 0.0.0.0/0 any 0.0.0.0/0 in
-A ufw-user-input -p udp -m multiport --dports 111,2049,4000:4002 -s 10.0.0.0/16 -j ACCEPT
### tuple ### allow tcp 111,2049,4000:4002 0.0.0.0/0 any 0.0.0.0/0 in
-A ufw-user-input -p tcp -m multiport --dports 111,2049,4000:4002 -s 10.0.0.0/16 -j ACCEPT
To the user.rules and nothing to the user6.rules. Th ...
I allowed ports 2049 and 111 but can't understand why NFS traffic still not allowed. I opened ports 46779, 52575 and 40901 and nfs was permited, however when box rebooted the ports changed and I have to allow nfs through new ports. Can I allow rpc.mountd through UFW? Thanks!
tcp 0 0 0.0.0.0:46779 0.0.0.0:* LISTEN 5965/rpc.mountd
tcp 0 0 0.0. ...

I have purchased a WD-Ex2 NAS and am trying to share a folder via nfs with my ubuntu machine.
This folder will be used only by this machine and I want to be able to have execute permissions with my user. I would like it to be treated as one more home folder.
I am mounting the folder as follows
$ sudo cat /etc/fstab
...
#nfs mycloud
192.168.0.151:/nfs/tmp_msigs60 /media/tmp_msigs60 nfs defaults,user, ...
I'm having trouble getting some GUI applications to display properly when I mount a nfs share on my Synology NAS as my home directory. Can someone please provide a solution?
The Ubuntu version is 18.04LTS Desktop, and the NAS OS is DSM6. I have remote access to the Ubuntu machine, and I access the desktop via xrdp. We are using LXDE for the desktop environment. The following is written to the .xs ...
Configured one Ubuntu PXE server on Ubuntu 18 (UEFI) machine is able to boot both live and manual install. But when i applied kick start its not able to start from kick start file
Here is my Default file
UI menu.c32 LABEL ubuntu 18.04 nfs boot kernel http://192.168.0.2/ubuntu18/casper/vmlinuz append ks=http://http://192.168.0.2/ubuntu18/ubuntu.seed initrd=http://192.168.0.2/ubuntu18/casper/initrd nfs ...
I'm trying to debug why I'm unable to mount an NFS share on a server from a linux client. After much testing around NFS server and being able to mount it locally in the same machine I've started trying to see if it is a networking problem and what I am seeing has me a bit baffled. There is no firewall running on the server and I have a bunch of other services (HTTP/S, DLNA, Mosquitto...) running flawles ...
I have an NFS server running on a Ubuntu server on hirsute that stopped answering mount requests after the upgrade and I can't sort out why and a reinstall has not enabled the nfs-server-back. It appears that the auth-rpcgss-module and rpc-svcgssv services aren't running; nfs-config is no longer active but appears to have completed its task and exited. These three had white dots next to them in the outp ...
I have bought a windows laptop yesterday, I installed fresh ubuntu 21.04. The I installed VS code from Ubuntu Software. Now the sudo command doesn't work in vscode integrated bash terminal. I get following error message:
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
but sudo works perfectly fine in ubuntu b ...

I am using:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ mate-about --version
MATE Desktop Environment 1.24.0
... as an NFS client.
I have an nfs4 share on the server; my entry in /etc/fstab
on the client is like this:
172.16.0.5:/mydata /media/user/mydata_nfs nfs4 nosuid,nodev,nofail,x-gvfs-show,rw ...