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
23
votes
4 answers

MountVolume.SetUp failed for volume "nfs" : mount failed: exit status 32

This is 2nd question following 1st question at PersistentVolumeClaim is not bound: "nfs-pv-provisioning-demo" I am setting up a kubernetes lab using one node only and learning to setup kubernetes nfs. I am following kubernetes nfs example step by…
Makin
  • 261
  • 2
  • 3
  • 4
23
votes
1 answer

How do I determine if a directory is a mounted NFS mount point in shellscript

I want to write a sh/bash script that can determine whether a particular directory is a mount point for an NFS filesystem. eg something like $ mkdir localdir $ mkdir remotedir $ mount host:/share ./remotedir $ classify_dirs.sh --> localdir is…
AndrewR
  • 10,759
  • 10
  • 45
  • 56
23
votes
3 answers

pynfs: error: gssapi/gssapi.h: No such file or directory

I am trying to install pynfs on RHEL 6.4 based VM command executed is python setup.py build, but I am getting this issue, error: gssapi/gssapi.h: No such file or directory, this issue is seen when setup.py build is executed for nfs4.0…
OpenFile
  • 669
  • 4
  • 8
  • 13
23
votes
5 answers

How do I run a command as a different user from a root cronjob?

I seem to be stuck between an NFS limitation and a Cron limitation. So I've got root cron (on RHEL5) running a shell script that, among other things, needs to rsync some files over an NFS mount. And the files on the NFS mount are owned by the apache…
rob
  • 337
  • 1
  • 4
  • 9
21
votes
3 answers

Python: separate processes logging to same file?

Does Python's logging library provide serialised logging for two (or more) separate python processes logging to the same file? It doesn't seem clear from the docs (which I have read). If so, what about on completely different machines (where the…
sjbx
  • 1,205
  • 2
  • 12
  • 12
20
votes
6 answers

How do you make symbolic links work with a remote mount?

I have two servers, A and B A has two filesystems, /alpha and /beta I have a symbolic link: ln -s /alpha/foo /beta/bar Such that: lrwxrwxrwx 1 root root 70 Dec 22 13:32 /beta/bar -> /alpha/foo Next, I mount /beta, remotely on B via an…
Dancrumb
  • 26,597
  • 10
  • 74
  • 130
19
votes
2 answers

Filesystem test suites

I wanted to ask about testing suites available for testing Linux file systems. I am looking for more of stress and load testing suites, which can stress the system, find corruptions by validating the data it wrote, among other things. Is there such…
Mark Lobo
  • 331
  • 2
  • 3
  • 9
19
votes
1 answer

Linux: how to check if a drive is mount to nfs

Is there a way to find out if a mount drive, for ex: /var, is mount to an NFS?
PLAND
  • 213
  • 1
  • 2
  • 4
18
votes
1 answer

How to prevent NFS server from registering to portmap

I found how to unregister NFS server from portmap using rpcinfo -d, but I would like to force nfs not to register once it starts running I mean - if I use the command service nfs restart - the server should not show at rpcinfo -p after the restart…
Itay Sela
  • 942
  • 9
  • 26
18
votes
4 answers

Vagrant fails to mount NFS shared folders because of corrupted /etc/exports. How do I fix that file?

I recently tried to install a VM with vagrant but "vagrant up" always failed with the error: Mounting NFS shared folders failed. This is most often caused by the NFS client software not being installed on the guest machine. Please verify that…
Louis-Rémi
  • 1,768
  • 1
  • 13
  • 14
17
votes
4 answers

NFS client under WSL - mount.nfs: No such device

I am getting the following error trying to mount a nfs export. sudo mount 192.168.1.175:/mnt/nas /mnt/c/nas mount.nfs: No such device Any ideas on how to fix this?
Ziffusion
  • 8,779
  • 4
  • 29
  • 57
17
votes
6 answers

Vagrant: Is it possible to share files and alter permissions inside the guest?

I have been banging my head against a wall for a week and a half trying to work out how to properly share files between a host and guest using Vagrant and VirtualBox. What I need to achieve is an auto-provisioning box that downloads our codebase…
Andrew
  • 1,226
  • 2
  • 13
  • 20
16
votes
3 answers

How to do proper file locking on NFS?

I am trying to implement a "record manager" class in python 3x and linux/macOS. The class is relatively easy and straightforward, the only "hard" thing I want is to be able to access the same file (where results are saved) on multiple processes.…
Ant
  • 5,151
  • 2
  • 26
  • 43
16
votes
1 answer

howto force refresh NFS cache when checking newly created file?

When a file is created on a Linux NFS shared mount, the client is either Linux o r mac machines. The existence or absence of a file is the key for what to do next, but the checking is not always return the…
Gang
  • 2,658
  • 3
  • 17
  • 38
16
votes
2 answers

difference between hardlink and bind mount?

it might be a stupid question but: http://dwaves.de/2015/05/26/linux-search-find-files-locate-find-linux-locate-scope/ bind mounts under linux: as far as i understand it: you can mount the same dir in two different places. but where is the…
canoodle
  • 506
  • 5
  • 10
1
2
3
93 94