Questions tagged [nfs]

NFS is an acronym for Network File System, a network file system developed by Sun Microsystems most often associated with the Unix family of operating systems.

NFS is an acronym for Network File System, a network file system developed by Sun Microsystems most often associated with the Unix family of operating systems.

NFS is derived from the distributed file system mechanism. It is generally implemented in computing environments where the centralized management of data and resources is critical. Network file system works on all IP-based networks. It uses TCP and UDP for data access and delivery, depending on the version in use.

Network file system is implemented in a client/server computing model, where an NFS sever manages the authentication, authorization and management of clients, as well as all the data shared within a specific file system. Once authorized, clients can view and access the data through their local systems much like they'd access it from an internal disk drive

1399 questions
284
votes
22 answers

Vagrant error : Failed to mount folders in Linux guest

I have some issues with Vagrant shared folders, my base system is Ubuntu 13.10 desktop. I do not understand why I have this error is something that is not right configured ? Is a NFS issue or Virtualbox Guest Additions ? I have tried with different…
radu c
  • 4,138
  • 7
  • 30
  • 45
212
votes
9 answers

C# int to byte[]

I need to convert an int to a byte[] one way of doing it is to use BitConverter.GetBytes(). But im unsure if that matches the following specification: An XDR signed integer is a 32-bit datum that encodes an integer in the range…
Peter
  • 37,042
  • 39
  • 142
  • 198
163
votes
6 answers

Force unmount of NFS-mounted directory

I have an NFS-mounted directory on a Linux machine that has hung. I've tried to force an unmount, but it doesn't seem to work: $ umount -f /mnt/data $ umount2: Device or resource busy $ umount: /mnt/data: device is busy If I type "mount", it…
Lorin Hochstein
  • 57,372
  • 31
  • 105
  • 141
99
votes
14 answers

Ways to improve git status performance

I have a repo of 10 GB on a Linux machine which is on NFS. The first time git status takes 36 minutes and subsequent git status takes 8 minutes. Seems Git depends on the OS for caching files. Only the first git commands like commit, status that…
Senthil A Kumar
  • 10,306
  • 15
  • 44
  • 55
97
votes
9 answers

Vagrant error: NFS is reporting that your exports file is invalid

I am trying to set up the Discourse development environment using these instructions. However when I run Vagrant I get the error: NFS is reporting that your exports file is invalid. Vagrant does this check before making any changes to the file.…
Hunter
  • 995
  • 1
  • 8
  • 7
70
votes
4 answers

Docker: How to live sync host folder with container folder?

I am working on a website powered by Node. So I have made a simple Dockerfile that adds my site's files to the container's FS, installs Node and runs the app when I run the container, exposing the private port 80. But if I want to change a file for…
conradkleinespel
  • 6,560
  • 10
  • 51
  • 87
69
votes
7 answers

inotify with NFS

I've recently created a dropbox system using inotify, watching for files created in a particular directory. The directory I'm watching is mounted from an NFS server, and inotify is behaving differently than I'd expect. Consider the following…
ajwood
  • 18,227
  • 15
  • 61
  • 104
50
votes
5 answers

Mounting nfs shares inside docker container

Does anyone know how to mount nfs share inside docker container with centos base image? I've tried this command: mount server:/dir /mount/point and got the next error: mount.nfs: rpc.statd is not running but is required for remote…
Anatoli
  • 889
  • 2
  • 15
  • 33
47
votes
5 answers

Kubernetes NFS Persistent Volumes - multiple claims on same volume? Claim stuck in pending?

Use case: I have a NFS directory available and I want to use it to persist data for multiple deployments & pods. I have created a PersistentVolume: apiVersion: v1 kind: PersistentVolume metadata: name: nfs-pv spec: capacity: storage: 10Gi …
John
  • 10,837
  • 17
  • 78
  • 141
30
votes
8 answers

Why does NFS use UDP by default?

I'm sure there's some ancient legacy reason for it, but what is it? It seems like a service that's geared towards reliable data delivery.
jdizzle
  • 4,078
  • 1
  • 30
  • 38
25
votes
5 answers

Kubernetes NFS persistent volumes permission denied

I have an application running over a POD in Kubernetes. I would like to store some output file logs on a persistent storage volume. In order to do that, I created a volume over the NFS and bound it to the POD through the related volume claim. When I…
fragae
  • 285
  • 1
  • 3
  • 9
24
votes
5 answers

NFS cache-cleaning command?

I have a trouble with NFS client-side attribute caching. I'm using some servers, one is an NFS server and the others are NFS client servers. All servers are Debian(lenny, 2.6.26-2-amd64 of Linux) and versions are following. % dpkg -l | grep nfs ii …
Tomoya Kabe
  • 1,107
  • 2
  • 10
  • 15
24
votes
9 answers

mount.nfs: requested NFS version or transport protocol is not supported

NFS Mount is not working in my RHEL 7 AWS instance. When I do a mount -o nfsvers=3 10.10.11.10:/ndvp2 /root/mountme2/ I get the error: mount.nfs: requested NFS version or transport protocol is not supported Can anyone point me where I am…
Akki
  • 2,179
  • 8
  • 21
  • 37
24
votes
5 answers

How to Mount a Linux directory from a different PC to your local Linux PC?

Is there a way to mount a Linux directory from a different PC to your local Linux PC? How?
ksuralta
  • 16,276
  • 16
  • 38
  • 36
24
votes
8 answers

Is there a good way to detect a stale NFS mount

I have a procedure I want to initiate only if several tests complete successfully. One test I need is that all of my NFS mounts are alive and well. Can I do better than the brute force approach: mount | sed -n "s/^.* on \(.*\) type nfs .*$/\1/p" |…
Chen Levy
  • 15,438
  • 17
  • 74
  • 92
1
2 3
93 94