Tagged Questions

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

0
votes
2answers
9k views

mount Linux NFS. rpc.statd is not running

I have Ubuntu 12.04 as the NFS server. The clients are Linux. My /etc/exports file has 1 line, /folderToExport *(rw,async,no_subtree_check) /etc/init.d/nfs-kernel-server status shows that the ...
4
votes
3answers
774 views

GDM hangs when home directory is inaccessible

I have setup a OpenSUSE 12.3 workstation with SSO through KRB5 and LDAP. This works pretty smoothly up to the point where GDM isn't very happy about that fact that it cannot access user's home ...
0
votes
3answers
349 views

NFS server on qemu guest

I need to know how I can mount block devices, placed on a qemu guest system, from host. So in this case we have NFS server placed on guest system and NFS client on the host's side. There are a lot ...
4
votes
2answers
5k views

Default directory permissions over NFS

I have two servers, client and server in fairly obvious roles: server hosts the NFS share and client has it mounted. There is a shared group among several users on client called shared which also ...
0
votes
2answers
276 views

SSH connections not accepted after configuring NFS?

I have a couple of servers in a VPC in Amazon EC2. One of them acts as a NFS server, and one of them as a client. I recently noticed a problem in the client that after a reboot, it would reject all ...
4
votes
1answer
1k views

Debian: Mounting NFS Volume at boot with fstab not working, How to change when this is attempted on boot

So there are a bunch of NICs and vlans on the server and after adding the last ones the auto mount of a network volume is not working. I can do it all right if i SSH in and use mount however it doesnt ...
0
votes
1answer
525 views

Transfer 150GB of files from an old MacBook Pro with Ubuntu 13.04 Live DVD

My girlfriend's old MacBook Pro 2009 (5,4) stopped working. I have tried several times to reinstall OS X, but could not do so. There appears to be something really really wrong with the OS. Since she ...
3
votes
1answer
367 views

Why do the nfs4 tutorials recommend to bind mount sub directories

All NFS4 tutorials I have encountered so far recommend bind mounting real directories into the export root. Is this a technical necessity? If I had a directory that's only meant to be exported, is it ...
1
vote
2answers
264 views

No lockfile creation in NFS setup

I recently set up a new fileserver for our research group. The old one was running SuSE linux and, although small harddrives and a slow machine, worked fine. The clients are mostly Gentoo machines ...
2
votes
1answer
415 views

Error while mounting directory from host via NFS

I've been looking around the site but I couldn't find anyone with the same problem. On VirtualBox, I have a machine with IP *.28 and another one with IP *.20. The latter should mount a directory ...
0
votes
1answer
464 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
4
votes
1answer
279 views

how to prevent reboot being stopped by nfsmount?

I can't imagine there isn't a simple strategy to solve this issue of stale nfs handles preventing a machine from shutting down normally, but I'm not sure what that would be. It's pretty annoying to ...
1
vote
2answers
613 views

NFS mount fails at boot time

I have the following in /etc/fstab on FreeBSD: venture:/usr/redacted /usr/local/redacted nfs rw 0 0 This fails during boot. However, after boot, the following command succeeds ...
0
votes
2answers
238 views

Writing a Linux file system for NFS

I want to write my own custom file system in Linux. Can I share it over standard NFS without making any changes to the local NFS server? If so what VFS APIs are required to be implemented by my file ...
0
votes
1answer
132 views

NFS configuration redhat6.3 64bit

I'm getting this error on the client: [root@localhost /]# mount -t nfs 192.168.18.144:/linuxcast-nfs /mnt/ mount: wrong fs type, bad option, bad superblock on 192.168.18.144:/linuxcast-nfs, ...
2
votes
1answer
216 views

What happens when I copy a file from one network location to another

Suppose I have three networked computers: A, B and C. A mounts a directory from B and from C. A/mnt/im-on-B/ A/mnt/im-on-C/ A then copies a file: cp /mnt/im-on-B/file ../im-on-C/ What happens ...
1
vote
2answers
2k views

Redhat: non-root user needs to copy files to a NFS share

Typically non-root users cannot mount directories. Running Redhat Have 6GB tar.gz (/dir/somefile.tar.gz) Need to move to a NFS share on another box (//somebox/somefolder/) We have no other access. ...
1
vote
1answer
500 views

Having owner access on files upon mounted NFS directory

I have a Linux RedHat server and a Solaris 10 client. I have mounted a directory which locates on the RedHat server, in the Solaris system with RW(read/write) option. I already have some directories ...
0
votes
1answer
223 views

How to add NFS options flag to anaconda?

These options work for Kickstart to load the install tree from NFS: The Fedora Kickstart documentation states nfs --server=nfsserver.example.com --dir=/tmp/install-tree ...
2
votes
2answers
7k views

NFS does not work. mount: wrong fs type, bad option, bad superblock

This is what I got on server: manuel@server ~ $ cat /etc/exports /var/share 192.168.178.20(rw, sync) manuel@server ~ $ cat /etc/hosts.allow portmap: 192.168.178.20 manuel@server /etc $ cat ...
3
votes
2answers
4k views

NFS connection refused

I want to set up a filesharing server with NFS. But when I want to show the conetnts of export I get this: manuel@server ~ $ showmount clnt_create: RPC: Port mapper failure - Unable to receive: errno ...
1
vote
1answer
330 views

Killed `rm` and `cp` on nfs share

I am just testing an rsnapshot installation on my laptop which should backup to a NAS mounted via nfs on my laptop. On one test rsnapshot died with a cp -al problem (i.e. a problem with hard links) ...
3
votes
2answers
2k views

How to exclude NFS directories with find?

I need to search for files that has no user OR no group. find / -nouser -o -nogroup I think this is OK. But, I don't want to search NFS shares. How can I exclude the NFS shares in the find ...
2
votes
1answer
152 views

What are processes “[123.45.78.901-ma]” on linux, where the number is an NFS server's IP address?

I am seeing processes on Linux with the name "[123.45.78.901-ma]", where the number is the IP address of our NFS server. Does anyone know what these processes are, where I can find out information ...
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
3k 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
254 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
2k 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
176 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
239 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
880 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
5k 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
4k 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
946 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
342 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
394 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
103 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
286 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
1k 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
401 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
706 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
9k 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
854 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
2k 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 ...