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

2
votes
3answers
723 views

delayed write in operating file system

I read in some papers about NFS and Sprite that a system can use delayed writes when a client writes something to the server. I would like to know what is the purpose of this technique?
2
votes
5answers
4k views

NFS keeps randomly crashing, breaks mount on other clients

I interconnect several of my Linux servers with NFS. For a while its been going fine but for some reason keeps getting more and more unstable Example: Copy a 4 GB file from client to NFS server, ...
0
votes
1answer
1k views

PXE boot with NFS: /sbin/init: No such file or directory

I'm trying to set up PXE boot with an ubuntu client. Created the dhcp-boot on my tomato router Added a tftp daemon on my FreeNas box Added a NFS mount on my FreeNas box Debootstrapped Ubuntu 11.10 ...
4
votes
1answer
4k views

Stop broken NFS mounts from locking a directory?

I have a somewhat interesting setup: A server with multiple remote NFS servers mounted in a folder, with that folder then being re-exported over Samba. Think of it as a share proxy, keeping all the ...
2
votes
1answer
105 views

/etc/rc*: Why does this command stop NFS services from starting at boot?

I recently found this home networking tutorial surprisingly enlightening. However, there is one thing I don't understand: Disabling NFS Start On Boot: If you are not planning on regularly ...
1
vote
2answers
531 views

Can I send auditd logs to another computer?

On a Linux (debian) box, I have a NFS server wich seems to be overloaded by requests. In order to identify the problem, I'm trying to monitor with auditd/auditctl accessed files in the partition ...
7
votes
4answers
13k views

automount nfs: autofs timeout settings for unreliable servers - how to avoid hangup?

I'm running a small server for our flat share. It's mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s ...
4
votes
3answers
354 views

AIX won't stop creating random .nfsXXXX files

I am trying to delete some files and folders, but I can't because the system keeps re-creating the files. All these files are named .nfsXXXX, where XXXX is some random 4-character hexadecimal ...
2
votes
1answer
1k views

I can't start nfs in SLES 11

I'm trying to start nfs service in my SLES. I have my /etc/exports like this: /var/share/testbed *(ro) When I run service nfs start, it says: Not starting NFS client services - no NFS found in ...
2
votes
2answers
1k views

Cross mounting nfs shares on linux servers

We have a few linux file servers, our sysadmin refuses to do any NFS cross mounting, by cross mounting I mean mounting an nfs share from server A on server B and a share from server B on A . Anybody ...
3
votes
1answer
400 views

Using rsync + cron to sync a machine behind a firewall with my dropbox

I have a machine (A) behind a firewall with no access to the Internet, on this machine I can NFS mount directories on another machine (B) which can access internet, and is accessible from Internet, ...
5
votes
2answers
8k views

rsync gives “chown <…> failed: Invalid argument (22)” with nfs share

I'm trying to back up my entire system to an external disk using rsync, via a shell script which is run as root: #!/bin/bash rsync -vSHPhhaX --numeric-ids --delete ...
1
vote
3answers
256 views

Why is the Sun NFS (Network File System) the choice of filesystem for many distributed filesystems out there?

Apparently some of my peers were talking about it today, and I was wondering what was so special about this file system that makes it the choice behind a lot of distributed file systems, as opposed to ...
5
votes
1answer
7k 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 ...
1
vote
0answers
420 views

How can I tell if no_root_squash is enabled from an NFS client without mounting the share?

Obviously, I can look at /etc/exports on the NFS server-side to see if no_root_squash is enabled, but is there a way I can check this from the NFS client-side without actually mounting the share? ...
2
votes
2answers
574 views

OpenBSD NFS server with Linux NFS clients — file size limit?

I've set up an NFS server on OpenBSD 4.9. The client is Arch Linux x86-64. The mount has no problems with small files but when trying to read large files (in the example, an 7.4G iso file) it will ...
3
votes
2answers
576 views

Letting NFS through a FreeBSD PF firewall

I'm trying to configure my firewall (PF) on FreeBSD to let NFS traffic through. I know that NFS uses both TCP and UDP to connect to the client along with a bunch of daemons that use random port ...
26
votes
9answers
10k 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. ...
2
votes
1answer
220 views

NFS Shared Folders - Is it transitive?

If I have Computer-A, and share a folder to be accessed by Computer-B, can I take that same shared folder and share it with Computer-C? Computer-B has two itnerface cards, eth0, and eth1. eth0 is ...
1
vote
1answer
264 views

Sharing files with NFS and Unix Permissions

I'm kind of new to using NFS in the context of Linux permissions, so I'm a little lost on how I can make this work. Here's my setup: alpha writes files as root to the mounted NFS share. beta ...
1
vote
2answers
635 views

What processes are started during linux boot and how to disable them?

I installed nfs-commons on my Ubuntu 11.04 machine so that I can mount an NFS drive. However I late decided to remove NFS from my system so I did a sudo apt-get remove. Now, 1 out of 5 times my ...
4
votes
1answer
108 views

What is the proper way of sharing the /usr subdirectory?

What parts of the /usr subdirectory are usually shared in common practice without introducing any system instabilities? My intent is to share share-able parts of the /usr subdirectory among VM's of ...
2
votes
1answer
573 views

NFS to clients with different uid:s than on the server, where the client uid:s shall not show up in the server

I have a problem with a embedded Linux device that is mounting its root filesystem over NFS. But for different reason the embedded device is a single user device running as root (and later it will ...
2
votes
2answers
970 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 ...
4
votes
2answers
4k views

rpc.statd running on system not using NFS

I have a Debian machine that gets warnings (via the Tiger automatic auditor) that rcp.statd is listening on such-and-such socket. Googling shows rpc.statd is a daemon used by NFS. As far as I know, ...
2
votes
1answer
2k views

Pulse Audio and Roaming Profiles on CentOS 6

We've been testing many Red Hat based distributions recently at work to replace Windows as our main operating system. We choosed CentOS 6 since all our software were fully compatible. The biggest bug ...
3
votes
2answers
2k views

Keep local copy of nfs mount on computer

I mount all my home directories and what ever else on my laptop when it is on my home network. I was wondering if there is a way to keep a local copy of the nfs mount when my laptop is off the ...
6
votes
3answers
5k views

Is NFS secure over internet?

I want to connect to my home server from work using NFS. I tried sshfs but some people say it's not as reliable as NFS. I know sshfs traffic is encrypted. But what about NFS? Can someone sniff my ...
6
votes
2answers
3k views

Slow NFS, nfsstat -c: what is authrefrsh (aka newcreds?) field about in detail?

(net-fs/nfs-utils-1.2.3-r1, 2.6.38.5-zen+ Gentoo) Googling this seems to be a complete dead end. man nfsstat says a whole lot of nothing about the subject. The closest I could get was finding out ...
4
votes
1answer
365 views

Disable /net ghosting for autofs5

I recently have been trying out Arch Linux. It seems that their autofs has a usability bug, although I confess that I'm new enough to Arch that I may be missing something horribly obvious. I want ...
5
votes
1answer
645 views

Tracking huge buffer usage under Linux

I have a Linux server running under Debian Lenny with 4Go of RAM. It doesn't run much, just: Postfix/spamassassin (daemon mode) Bind9 KVM (one guest - 1Go of RAM for it) Every day at exactly 3:05 ...
5
votes
4answers
2k views

Difference between “/export/home” and “/home”

In our UNIX machine my home path looks like /home/<userid> and we have another batch user whose home looks like /export/home/<userid> I want to know whats the difference between ...
4
votes
3answers
705 views

When networkmanager is used, OpenSuSe gets stuck during boot for 10 minutes

I have this problem on all machines that I every installed (different configurations, different geographical locations, even different OpenSuSe versions) and it's extremely irritating. When I turn on ...
4
votes
2answers
4k views

Why can't root on one machine change nfs mounted content from another machine?

On my NFS server, I have the following export defined: #NFS exports Database /shared -alldirs -network=192.168.1 -mask=255.255.255.0 On my NFS client: 192.168.1.7:/shared /shared nfs rw 0 0 ...
3
votes
3answers
3k views

Why is file ownership inconsistent between two systems mounting the same NFS share?

I have one IBM AIX server (serverA) which is connected to the san storage. I have created a volume group and also file system (jfs2) and mounted to directory /profit. After that I created a NFS ...
1
vote
2answers
891 views

NFS permissions and slow copy

I have an NFS share on an OpenBsd server. When I assess the share from my Ubuntu box I don't seem to have all permission eg write. Also copying a file from the NFS share to the Ubuntu machine can take ...
4
votes
1answer
2k views

Sharing Mac Snow Leopard directory via NFS

I am running a Mac Pro using Snow Leopard (not server). I would like to share a directory with a linux machine. I have edited /etc/exports on the Mac to: /Volumes/mstore/home/sdavis -maproot=root ...
4
votes
2answers
2k views

Can I share a device from under /dev across hosts?

Here's the situation. I have a video device /dev/video0 on a VMware Server and I want to access this device from within a virtual machine. However for whatever reason I can't connect the device ...
3
votes
3answers
603 views

Debugging ethernet before NFS boot

I'm trying to boot Linux from U-boot on an embedded ARM board using a filesystem on a remote machine served via NFS. It appears that the ethernet connection is not coming up correctly, which results ...
1
vote
1answer
799 views

NIS and autofs error

I am trying to share the home directory of a NIS user using NFS and autofs. During testing, I get the following error message: Could not chdir to home directory /home/guest/nis1: Permission denied ...
3
votes
1answer
1k views

Can't get the '-o remount' option on an NFS share to work in Slackware 13.1

I've had rsnapshot working under Slackware 13.0 for a few months. In my /etc/rsnapshot_<interval> scripts I first have it run is mount -o remount,rw then the very last thing it does is a mount ...
1
vote
2answers
427 views

Is it possible to mount an NFS partition with a label?

I export 3 directories via NFS (pisces:/media/music, pisces:/media/video, pisces:/media/photo) that I mount individually. Currently, they all appear on my (Ubuntu) Gnome desktop as 'pisces', which is ...
5
votes
2answers
965 views

NFSv3 with Kerberos “unmatched host” error

I've setup NFSv4 using Kerberos (works great), but now I need to add NFSv3 with Kerberos. When trying to mount the NFSv3 export, I get a permission needed error on the client and on the server the ...
7
votes
3answers
4k views

flock(2) versus fcntl(2) over a NFS

The Perl 5.x documentation states that its implementation of flock(..) will use one of the following native calls, starting at 1 and working toward 3 if unavailable: flock(2) fcntl(2) lockf(3) ...
7
votes
3answers
185 views

Setting up a unix powered network

I want to set up several computers on a LAN, all connecting to one unix server. The primary goal being that the user accounts should only exist on the server. So that any user could access his normal ...