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

3
votes
1answer
435 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
9k 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
259 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 ...
6
votes
1answer
8k 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
454 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
750 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
686 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 ...
27
votes
10answers
13k 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
242 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
303 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
717 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
109 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
689 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
1k 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
5k 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 ...
9
votes
4answers
6k views

Can someone sniff NFS 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 ...
7
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
380 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
720 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
3k 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
780 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
5k 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
4k 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
944 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 ...
5
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
683 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
832 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
2k 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
480 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
1k 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 ...
8
votes
3answers
5k 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
190 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 ...