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

43
votes
11answers
30k 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
1k 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 ...
6
votes
2answers
12k 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
906 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 ...
4
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
1answer
82 views

How to limit speed of file copy?

I am copying huge file from NFS mount using dd: dd if=/mnt/nfs/image.img of=/dev/sda I need to limit the speed of reading from NFS. How can I achieve it? The only precondition is to use some easy ...
3
votes
2answers
4k 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 ...
1
vote
1answer
4k 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
1k 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 ...
-1
votes
2answers
53 views

User permissions in NFS mounted directory

I have oracle linux 6.7, a NFS server in Windows, and I am trying to mount a shared folder in Linux. The Windows NFS server has a shared mount : 192.168.1.10:/OracleBK In my oracle linux server, I ...
13
votes
4answers
33k 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 ...
32
votes
9answers
16k 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 ...
16
votes
4answers
11k 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
541 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, ...
10
votes
1answer
5k 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 ...
2
votes
1answer
48 views

NFS Share broken?

I have an NFS share on a server that was working fine up until a few days ago. Me and my co-worker connect to the server with our machines, and share the data we are working on. All are running Ubuntu ...
4
votes
1answer
95 views

NFS umount fails to find directory in /proc/mounts

When mounting an NFS share manually using mount and a path of the form <domain/ip>:<path>/<path> or <domain/ip>:/<path>/<path>, umount fails to find the path in ...
3
votes
0answers
76 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
67 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
110 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
1k 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 ...
1
vote
1answer
113 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
1k 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 ...
0
votes
2answers
3k views

How to solve this NFS unmunt problem? [duplicate]

I have working NFS (Networking File Sharing). It's server path will be mounted, but attempts to use umount are not working. It is getting some error. $ sudo umount /nfs_server/ /nfs_server was ...