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
2answers
2k views

Forcing Linux NFS client to reconnect to server after NFS is disconnected

Is there a way to force a Linux client to reconnect to a NFS server after it has lost its connection? The client eventually notices the server is back and resumes working just fine. I'm just ...
2
votes
2answers
2k views

Why do I get fsync() failed: Disk quota exceeded on my linux machine?

I get fsync() failed: Disk quota exceeded but when I use df -h and df -i there is enough space in all the folders. What can I do?
1
vote
1answer
231 views

Before mounting an NFS share, can the NFS client know if it's NFS v3 or v4?

The mount command in linux requires -t nfs4 in order to mount version 4 NFS shares, so I need to know beforehand which version it is.
1
vote
0answers
1k views

NFS sharing is read only

I have problem with NFS sharing. See my exports: /export 192.168.1.11(rw,fsid=0,insecure,no_subtree_check,sync) /export/share 192.168.1.12(rw,nohide,insecure,no_subtree_check,sync) From a client ...
0
votes
1answer
169 views

Can not mount NFS from server on local network

I set up my NFS server without doing any bigger changes in configuration files. After that I added these entries to /etc/exports(both paths are valid) on server(192.168.1.11): /export ...
1
vote
1answer
215 views

How do I ensure that only one instance of my ksh script runs on Solaris using NFS? [duplicate]

Possible Duplicate: What Unix commands can be used as a semaphore/lock? I have read many similar post and the solution seems to be to use flock. flock does not exist on my system and I ...
1
vote
2answers
705 views

NFS Mounting over WAN which ports

I have a NAS box setup at a different location than our company. The idea was to use it as offsite backup. When the NAS box was on our LAN we had no issues mounting the NFS shares. Once we moved it ...
1
vote
2answers
4k views

Mounting Directory - Connection Refused

I am trying to mount a Directory from my server to my local machine. This is because I want to edit the directory and execute the files without having the manually push the files to the server after ...
5
votes
1answer
3k views

autofs mounts not disconnecting after inactive

I have autofs installed on several linux servers that are connecting to central NFS server for the users /home directories. It works great when mounting the directories on login, but the mounts never ...
5
votes
1answer
861 views

NFS server causes high load even when idle

I have an Ubuntu (12.04) NFS server that has a high load (larger than 10) even when nothing is running. In detail, the storage is provided by an iSCSI device, on which I have 5 logical volumes (LVM) ...
1
vote
1answer
324 views

Can I export an NFS share with faked root privileges

I'm writing software for an embedded linux system and I'm using an NFS share as root directory. The root filesystem resides in /srv/nfs/rootfs, and it is exported using the following /etc/exports: ...
0
votes
4answers
1k views

umask is not working for directories

I have an odd problem with umask. My current setting is: $ umask 0022 $ umask -S u=rwx,g=rx,o=rx This only works for files though and not directories: $ touch abc $ ll abc 0 -rw-rw-rw- 1 user1 ...
1
vote
1answer
343 views

Transmission client can't access mounted NFS share

I set up transmission-daemon on my Scientific Linux 6.3 machine to download files to a mounted NFS share (mounted during boot via /etc/fstab). The directory that the NFS share is mounted to was ...
1
vote
1answer
1k 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 ...
2
votes
1answer
4k views

Why can I not chmod a file?

[nathanb@ka /x/sim/nathanb/nbsim1] ls -al ,nvram -rw-r--r-- 1 root root 2097152 Jul 5 2011 ,nvram [nathanb@ka /x/sim/nathanb/nbsim1] sudo chmod a+w ,nvram chmod: changing permissions of ...
1
vote
0answers
102 views

Running rsync as a daemon for a local transfer

My coworker is trying to talk me into running rsync as a daemon on my EM server. I'm currently using rsync to copy a NFS share on my storage cluster to USB external drives so the data can be reviewed ...
1
vote
3answers
278 views

How can I view and play shared audio files through a network?

I've come up with a quick pet project (which might, maybe, even end up being useful at my home someday); the idea is to allow users of a Linux device (I'll call it A, and it'll probably be a small ...
5
votes
3answers
974 views

Can't read a file although it's in my group and permissions for group read are set

I encounter a strange problem on a unix/linux machine: I'm member of a group, let's call it group A and a certain file (which has a different owner) belongs to group A as well. The permissions of ...
2
votes
2answers
379 views

If symlink on NFS points to local disk, will advantage of local disk be lost?

I am working on a development network that uses NFS so that home directories etc can be accessed from any machine. However, NFS is occasionally flaky, causing slowdown/freezing of the machines. I am ...
0
votes
1answer
65 views

/ permissions on a linux filesystem

Does the / have permissions attached to it? If so what are they and what command do you run to find out? The reason why I ask this is to know weather a NFS mount reflect this if your export is set to ...
3
votes
3answers
3k views

How do I export a folder to a subnet using NFS in FreeBSD 9.0

The following NFS exports file does not work on FreeBSD 9.0. How should I be specifying that I wish to share with the whole subnet? mybox# cat /etc/exports /storage/build ...
5
votes
1answer
650 views

Automount not equivelent to mount?

I'm struggling to get automount to work as desired. If I run the following: sudo mount -t nfs server:/path/to/share /path/to/mount_point I get the mount appearing fine. However, if I add the ...
6
votes
2answers
7k views

Fast way to copy a large file on a LAN

I am having some trouble with NFS, and I'd like to try using just plain old TCP. I have no idea where to begin, though. Hardware-wise, I am using an ethernet crossover cable to network two netbooks. ...
12
votes
2answers
3k views

Why is Linux NFS server implemented in the kernel as opposed to userspace?

I was just wondering why the Linux NFS server is implemented in the kernel as opposed to a userspace application? I know a userspace NFS daemon exists, but it's not the standard method for providing ...
3
votes
2answers
780 views

What could cause a NAS mount to respond slowly?

I've a directory on a NAS mount (from NetApp), that contains ~6300 image files, total size of this directory is ~ 300 MB. I get two different performances of time ls: First time (or after waiting 5-7 ...
4
votes
0answers
1k views

Autofs doesn't mount shares on startup

I am using OpenSuSE 12.1 with homes shared through LDAP and NFS. ldap stores the maps. My problem is I can't have the shares mounted on boot. It's only working when restarting the autofs service ...
4
votes
3answers
8k 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 ...
4
votes
2answers
922 views

Network file sharing between Linux and OS X

I want to share a drive/folder over the internet from my Debian machine back home, such that I can mount it on my Macbook when I am on the move. Basically I want to store my music at home and just ...
5
votes
3answers
9k views

How to mount NFS 3 volumes on Fedora 17?

I installed the package nfs-utils and tried it via: # mount -t nfs server:/mnt /mnt mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep ...
0
votes
0answers
223 views

write file to NFS speed issue

I have a big data file need to write to NFS directory which is mapped under a Windows system. I had 2 different approaches to achieve this. I wrote (using the “save as” command) from the app directly ...
2
votes
1answer
154 views

Equivalent of nfsstat -m on older kernel

On my SLES 10, SLES 11, and CentOS 6 servers, I'm able to list information about each NFS mount via nfsstat -m, e.g.: /usr/local from nfssrv1:/vol/foo Flags: ...
5
votes
1answer
4k views

Logical volume missing after reboot

Centos- 6, LVM2 after a system hang and hard reboot. lvdisplay and lvscan return no volumes. It had volumes earlier...how to recover? there is data on LV (logical volume) - shared as NFS export.. ...
3
votes
2answers
1k views

NFS Option Reload without Service Restart

What do I need to do to change the RPCNFSDCOUNT setting without a full service restart? I need to reload the NFS configuration without restarting the service. The RPCNFSDCOUNT thread count is too low ...
6
votes
1answer
2k views

How can I do NFSv4 UID mapping across systems with UID mismatches?

I am working in a lab with three Ubuntu systems, and I would like to cross-mount some filesystems via NFS. However, while the systems have some of the same usernames, the UIDs and GIDs don't match, ...
4
votes
1answer
2k views

NFS different uig/gid on hosts

Scenario: There are different mappings of UIDs and GIDs between hosts that would like to have NFS share. Is there workaround without changing number mapping on hosts ? Example: Is there a way to ...
3
votes
2answers
3k views

How can I resolve a stale nfs handle?

I noticed once when I shut down my home server while my desktop was connected via NFS that I kept getting "stale NFS handle warning" when entering my home dir, this caused issues with some programs ...
0
votes
1answer
182 views

Moving Data From Old System to New System via NFS Mount

My old system was running RHEL 5,(systemold.blah.blah), and I wanted to update the server with as little downtime as possible, so I built out a new system (systemnew.blah.blah) and put RHEL 6 on it. ...
0
votes
1answer
263 views

Automount cdrom when accessed via NFS

I am currently running CentOS 5 on a server that has a built-in CDROM drive. I currently have a setup where /media/cdrom is automatically mounted by autofs as needed and I am exporting /media/cdrom ...
3
votes
2answers
875 views

I/O statistics per user

I have access to an academic supercomputer where there is an NFS filesystem where our lab keeps our data. When I run iostats -nh I believe I am getting statistics for all users accessing all storage ...
0
votes
0answers
135 views

problem exporting /media as an nfs share: why does it happen?

I've got two netbooks. One netbook has two installed Linux systems: openSUSE 11.04 and Debian testing. By default, in Debian, gnome mounts the /home filesystem for openSUSE, which shows up in gnome's ...
2
votes
3answers
902 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
5k 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 ...
6
votes
1answer
5k 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
119 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 ...
2
votes
2answers
609 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 ...
8
votes
4answers
17k 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
503 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
2k 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 ...