nfs (Network File System) created by Sun Microsystems. NFS allows a client system to access network files as if local.

learn more… | top users | synonyms

6
votes
4answers
15k views

How to properly export and import NFS shares that have subdirectories as mount points also?

Server A exports directory /srv via NFS with option nohide. A subdirectory within /srv, /srv/foo, is a mount point for another location on the NFS server using --bind option, like server# mount ...
0
votes
1answer
1k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
2
votes
1answer
28 views

How to figure out which network interface is used by NFS on Solaris 10?

I have a server with 8 network interfaces configured. From it, I share some directories and export nfs mounts to other servers. My question is how do I figure out which of the 8 interfaces is used ...
1
vote
1answer
35 views

Permission denied when trying to access mounted windows NFS

Full disclosure: I'm a complete noob with NFS and have very little idea what I'm doing. After hours of googling, I ended up here. I am trying to mount an NFS folder that I have set up on a WIN08 ...
2
votes
2answers
1k views

Mount windows share

I've just literally spent about 2 hours trying to simply mount a windows share on linux. Mounting with cifs causes deadly hangs as discussed here. So I tried to mount via nfs as discussed in this ...
0
votes
1answer
13 views

NFSv4 User Mapping Problems

I want to switch from NFSv3 to NFSv4 and have a problem with NFSv4 user mapping because on some systems well known uids have been assigned to normal users. For a description of the setup please see ...
2
votes
1answer
25 views

How does file system permission behave on different systems sharing an NFS export?

I'm familiar with how Linux permissions work on a single machine, but what happens when a directory is shared (specifically via NFS)? Also, what happens when two users are seemingly the same (same ...
0
votes
1answer
22 views

File Server on High Availability (HA) Setup for LAMP?

I'm not sure what is the most proper way (industrial standard) to setup the High Availability servers (especially for LAMP Stack). Lets say i have: 2 Load-balanced Web Servers (Apaches) Question: ...
0
votes
0answers
27 views

Copying files between /shares?

I have this Seagate NAS with SSH enabled, I need to copy all data from shares to one share and then zip it, so let's say it looks like this: Share 1 Share 2 Share 3 -> Share backup Share 5 Share ...
0
votes
0answers
14 views

Easy tips for optimizing Network I/O? [closed]

We are a small company doing servers in-house, with (unfortunately) no resources to have a full time server admin. Currently we have 4 servers connected on a 40Gb/s fibre optic network, with ...
0
votes
0answers
17 views

Bad DRBD Performance

I am going currently going nuts because of slow DRBD performance and after many hours trying different parameters I cannot find the problem here. I hope someone is able to help. Regardless of how I ...
1
vote
1answer
18 views

nfs-kernel-server starts too early

I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on ...
0
votes
0answers
22 views

linux nfs, is possible to forbid anonymous access?

Is possible on linux to forbid anonymous access to a share nfs? A line like this /export 192.168.0.0/24(rw,fsid=0,no_subtree_check,anonuid=99) /export/share ...
1
vote
2answers
794 views

NFS mount fails at boot time

I have the following in /etc/fstab on FreeBSD: venture:/usr/redacted /usr/local/redacted nfs rw 0 0 This fails during boot. However, after boot, the following command succeeds ...
6
votes
2answers
178 views

reinit NFS client without restart

I have been working on my server, from which I export one directory using NFS. Of course over the week or so of server reboots, I multiple times forgot to umount the export filesystem in my ...
1
vote
1answer
145 views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
0
votes
1answer
22 views

Disk mount on a linux VM , mounted elsewhere

Hi I am using a slightly unnecessary(maybe?) kind of a set up ... A debian build_VM The build_VM ran out of space so I formatted and mounted a disk on to the build_VM But before mounting the ...
1
vote
1answer
1k views

Building NFS Server to be world writable

I'm trying to build an NFS server on my Raspberry Pi which will be writable by any server on the network. The NFS share is a directory on an external device mounted at boot: $ cat /etc/fstab proc ...
2
votes
3answers
2k views

How to determine what filesystem a directory exists on?

I have an NFS share which is shared across about two other machines. I recently realized that one of the servers isn't sharing the directory and is keeping files all for itself. Is there a way to see ...
3
votes
2answers
454 views

NFS mount properties (options) in FreeBSD

I am trying to determine how to examine the actual properties of an NFS mount in FreeBSD. In CentOS (6.4 tested) one can cat /proc/mounts or execute nfsstat -m to determine all of the mount ...
3
votes
1answer
32 views

Passing automount options in FreeBSD

I seem to be unable to automount nfsv4 shares in FreeBSD 10.1. All of my mounting information is stored in an LDAP database and the shares are on a NFSv4 server. I've gotten the mapping right so ...
0
votes
2answers
19 views

NFS Share with Custom Interface

I have 4 NIC in my server: eth0, eth1, eth2, eth3. It's a storage server with several disks. I have three Volume Groups: vg_share1, vg_share2, vg_share3. I want to share these Volume Groups with ...
1
vote
0answers
21 views

Find amount of IO occurring over various NFS mounts

When I run netstat | grep nfs, I get the currently mounted nfs connections for a given host in a cluster. If there is massive io happening over 1 (or 2) of the connections, how can I monitor this? Is ...
40
votes
11answers
22k views

Correct locking in shell scripts?

Sometimes you have to make sure that only one instance of a shell script is running at the same time. For example a cron job which is executed via crond that does not provide locking on its own (e.g. ...
0
votes
0answers
16 views

Linux NFS server with two network connections to three systems

I am setting up two new VMWare hosts and will also be adding a Linux (Probably Ubuntu but maybe CentOS) NFS Storage server as the shared storage for these hosts. I would like to connect them directly ...
3
votes
2answers
2k views

NFS partition mounted as read only

(Disclaimer: I've read "NFS sharing is read only" and I think it's not the same problem) I have just setup NFS on my raspberry (Raspbian) and I'm trying to access it from OSX. So far so good, I can ...
2
votes
1answer
2k views

How do I change file/directory permission of a nfs mounted directory, so I access files as user?

On a Ubuntu computer I mounted a directory from another computer using the following line in the fstab: 12.34.56.78:/space/Images /mnt/space/images nfs rsize=16384,wsize=16384,rw,auto,nolock 0 0 ...
0
votes
3answers
649 views

NFS server on qemu guest

I need to know how I can mount block devices, placed on a qemu guest system, from host. So in this case we have NFS server placed on guest system and NFS client on the host's side. There are a lot ...
0
votes
0answers
14 views

Is there any way to decrypt/read /var/nfs/v4_state logs?

Right at the time our NFS server (Solaris) had an outage lasting a couple of minutes, 3 files popped up in the NFS file server's /var/nfs/v4_state directory. If I cat them, I get a few bits of ...
1
vote
2answers
853 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
0
votes
1answer
685 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
3
votes
1answer
1k views

Proxmox Master Node crashes

I've inadvertently discovered a Proxmox bug. I run a personal cluster of 4 nodes (a technology lab for giggles and gags). Each node has a Dell Perc 5i and 4 HDDs in RAID 10. The standard Proxmox ...
2
votes
1answer
5k views

NFS Mounting Error

From ServerA I shared directory /u001/app/oracle/FolderA and trying to mount this on SeverB under /media Contents of ServerA /etc/exports file /u001/app/oracle/FolderA ServerB(rw,sync) When I ...
3
votes
2answers
45 views

Can an NFS stale file handle persist for 2 complete days without any sign?

I have my home directory on an NFS file server, our IT team has moved to another server one week ago. Before the move, I killed all my processes with killall -u my_user_name. After the move, I was ...
7
votes
2answers
12k views

Is there a command which will force Linux to flush cache of one file on an NFS share?

Related to this question on StackOverflow, I am wondering if there is a way for me to flush the NFS cache / force Linux to see the most up-to-date copy of a file that's on an NFS share. I have a ...
2
votes
1answer
58 views

NFS permission problem with secondary groups

I have a server running Debian 7 that exports an NFSv3 share, and a client running Centos 5 that accesses it. This works fine, except for one issue with permissions based on non-primary groups. When ...
2
votes
0answers
65 views

NFS root filesystem doesn't mount at boot

This is an embedded device with a custom kernel (see below for relevant config). It's an x86-32 machine booting like this: coreboot->uboot->linux. I can mount the NFS share in linux if I use ...
1
vote
2answers
312 views

NFS: mount.nfs: Protocol not supported

I want to mount the NFS share of a Zyxel NSA310s NAS. Showmount, called on the client machine, shows the share: $ showmount 10.0.0.100 -e Export list for 10.0.0.100: /i-data/7fd943bf/nfs/zyxelNFS * ...
1
vote
1answer
101 views

Disable NFSv4 (server) on Debian, allow NFSv3

How can the NFS server on a Debian 8 system be limited to NFSv3? By default, shares can be mounted with both vers=3 and vers=4. /etc/default/nfs-kernel-server: # To disable NFSv4 on the server, ...
1
vote
1answer
91 views

ZFS ACL (NFS4 ACL)

I'm using Openindiana (Solaris 10) containers and I want to let users upload web content over sftp I'v managed to setup internal-sftp of openssh and lock user under web root. All the files under web ...
0
votes
0answers
14 views

Exporting parent directory to RHEL boxes

Is it possible to export the parent directory to the RHEL boxes where sub directories of the parent directory is already exported. Source-AIX machine Destination-RHEL machine e.g /usr/atc/abc already ...
2
votes
1answer
181 views

storage server all nfs users on full 666 file permissions

How can I setup a shared storage location on a storage server shared via CIFS and NFS and all files written by CIFS and all users via NFS to write files and folders with full read/write permissions ...
7
votes
3answers
13k views

How to determine if NFS mount is mounted as v3 or v4?

Red Hat 5/6 when I do mount it says type nfs, I would like to know how to determine version if it isn't listed in mount options or fstab. Please don't say remount it with the version option, I want ...
33
votes
4answers
1k views

Does bash open files in O_APPEND when using “>>” on linux?

If we use echo 1234 >> some-file then Documentation says that the output is appended. My guess is that, if some-file does not exist, then O_CREAT will make a new file. If > was used, then ...
4
votes
0answers
70 views

What would cause NFS file move/delete operations to fail?

Sorry for the terribly vague question. I have a medium-to-large server that all of my engineering users are on. This is a 32-core, 256GB system hosting 19 Xvnc sessions plus the plethora of tools, ...
0
votes
1answer
39 views

How to solve nsf-common related error when install zsh in ubuntu?

Everytime I install some kind of package, at the last phase, apt-get install could return a common-nfs related error. Why the installation can't be done without this error? detailed pastebin here ...
1
vote
0answers
47 views

NFS stale mountpoint error

How to check nfs stale mount error on linux , Do I need to cd to the mountpoint and do ls to check output as ?--------- ? ? ? ? ? Is there any file where it gets ...
2
votes
1answer
100 views

NFS Port Blocking Firewall Issue

I am a little stumped on this one and maybe I have been staring at this for too long...but I cannot get my Mac (10.10.3) machine to connect to my Oracle Linux 7 (CentOS/RH 7) server with its firewall ...
3
votes
2answers
16k views

NFS permission denied

When I configure NFS and create a file on the client NFS shared dir, I get the following message: permission denied. My configuration: configuration nfs server ...
4
votes
2answers
266 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* ...