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

40
votes
11answers
23k 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. ...
5
votes
1answer
930 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
2answers
9k 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, ...
4
votes
3answers
846 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 ...
3
votes
2answers
409 views

Which version of NFS is my NFS server using?

I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client ...
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 ...
1
vote
1answer
3k views

Is there any way to check df -k hanging for nfs mount issues?

I am trying to write a script for such failure scenarios. In a scenario where maybe, if remote connection is lost, df waits for the remote server to respond (looks like df is hanging). I know I could ...
1
vote
1answer
958 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 ...
32
votes
8answers
10k views

How to delete this undeletable directory?

I untarred a corrupt tar file, and managed to end up with some directory that I can not delete, If I try to delete it, it seems like it can not be found, but ls shows it's present, both with bash and ...
14
votes
4answers
9k 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 ...
19
votes
1answer
458 views

Why does chmod require disk space? Not-in-place algorithm?

I try to chmod some files and I get the error "disk quota exceeded": It's true that I don't have that much space remaining in the filesystem where I use chmod, ...
9
votes
1answer
4k views

Why are inotify events different on an NFS mount?

Some time ago I noticed that the events reported by inotify are different when the file is saved to an NFS mount vs. a local file system. Shouldn't the underlying VFS provide a uniform view of file ...
3
votes
0answers
72 views

Determining which version of the NFS protocol is in use by a mounted NFS filesystem [duplicate]

I mounted an NFS filesytem from the shell using the code: LINE='nfs.francky.me:/export/beatdb /beatdb nfs tcp,intr,rw 0 0' grep "$LINE" /etc/fstab >/dev/null || echo $LINE >> /etc/fstab ...
3
votes
1answer
58 views

NFS file with same name but different content depending on host

I have cluster using NFS with a program myprogram which writes to a fixed location, e.g. /home/sharedfs/somedir/somefile.txt. This means that if you run myprogram from each node, they all write to the ...
2
votes
1answer
76 views

Do root's supplementary groups behave differently than regular account ones for NFS shares?

OS: Linux CentOS 7, NFSv4 On one machine I exported an NFS share group-owned by the nfsgroup with 2770 privileges for group collaboration: groupadd -g 5000 nfsgroup chown nobody:nfsgroup ...
1
vote
1answer
52 views

configuring rsync for incremental backup and recovery

The setup is a NAS box on a lan mounted as NFS and the source is a laptop running an old kubuntu 10.4. Rsync has to be run as a local file copy, NAS box doesn't support an rsync daemon. How do I ...
1
vote
2answers
750 views

Is a bad NFS mount preventing a clean boot?

I'm on Ubuntu server 11.10 (x86) and I basically ran into this problem as this: http://serverfault.com/questions/56588/unmount-a-nfs-mount-where-the-nfs-server-has-disappeared The umount command ...
1
vote
1answer
2k views

How to correctly remove mountnfs from /etc/init.d/

Cleaning up the boot process of a Debian squeeze installation running on kernel 3.2.0-0.bpo.3-amd64, I spotted several mountnfs scripts in /etc/init.d/: # ls /etc/init.d/ | grep mountnfs ...