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

2
votes
1answer
67 views

How to set a callback to NFS to allow scripting?

The context I have two servers: a NAS and a client server. They are both small machines (Raspberry, OLinuXino) and are plugged to the same power strip (which has a power button). The client server ...
1
vote
1answer
476 views

NFS file owner(uid) = 4294967294, can't do much with my mount, How do I fix this?

I have a somewhat strange setup going on here, I have Android as the client and it's kernel does not support NFSv4, also my /etc/exports file on the server side has no NFSv4 style entries. I am ...
0
votes
0answers
37 views

NFS Automount/HARD mount sharing top directory

In Linux, is it possible to "hard mount" a directory under an automounted directory? For example: /top_dir/fred (automounted) /top_dir/jane (automounted) /top_dir/software (hard mounted) ...
2
votes
1answer
54 views

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

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 ...
18
votes
1answer
323 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, ...
1
vote
1answer
2k views

Mounting NFS: owners are nobody:nogroup

I mounted an NFS filesytem from the shell using the code: LINE='nfs.mit.edu:/export/evodesign/beatdb /beatdb nfs tcp,intr,rw 0 0' grep "$LINE" /etc/fstab >/dev/null || echo $LINE >> ...
0
votes
0answers
364 views

How to mount NFS shares via /etc/fstab - Access denied by server while mounting

I am trying to mount a NFS share to my OpenSUSE 13.1 Server on startup using /etc/fstab file with the following entry: l00nim10:/export/werk/ /home/smbshares/nimshare_03/ nfs vers=3 0 ...
4
votes
2answers
58 views

NFS: share with all clients except one

I want to share a folder with all the network's clients except only one. This is my current /etc/exports file: /opt/resources *(rw,async) What should I add to prevent the client 192.168.1.24 ...
0
votes
0answers
63 views

NFS, CIFS, and permissions

If you copy files from an NFS mount to a CIFS mount on a different server, will the permissions be retained? I am a little unclear how the file permissions work in these 2 filesystems. It seems like ...
1
vote
1answer
1k views

How to follow symlinks in NFS?

I have different disks with pictures /media/drive1/pictures/ /media/drive2/pictures/ /media/drive3/pictures/ /media/drive4/pictures/ # ... I have a folder called share which has symlinks for every ...
3
votes
1answer
39 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 ...
1
vote
1answer
51 views

mount.cifs vs NFSv3 for data shared between 2 Web servers

When having two RHEL 6 Linux servers separated by a load balancer serving Tomcat and Apache content, if the data is shared between the 2 servers via a network locally-mounted filesystem, does it ...
1
vote
1answer
94 views

Prevent active file removal on an NFS filesystem

I clear my logs using following script - find "." -mtime 1 -type f -print0 | xargs -0 rm -rf But it deletes the active files also and creates .nfs… files instead. Is there any way to prevent ...
1
vote
0answers
114 views

Mount via SSHFS in NFS filesystem

As a student I have access to a cluster of teaching lab computers, at each of the machines all the home folders (including my) are mounted via NFS. I also have a desktop PC. I want to mount my home ...
3
votes
0answers
84 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* ...
2
votes
1answer
266 views

Qemu Backing Files Question

If I'm creating a new.qcow2 qcow2 image based on a backing file (called base.qcow2) and the backing file is located on an nfs share. What happens if someone tries to modify, replace, or delete the ...
2
votes
1answer
2k views

Delete files/ folders with .nfs files

A lot of time when I delete a folder, it says cannot be deleted because of .nfs files Error - Device or resource busy How can I delete a folder ignoring these errors ( is there any flag in rm ...
2
votes
2answers
566 views

root partition getting full with nfs mounted directory

I am having one nfs volume, which is mounted on one of the directory of root partition. My problem is when I checked df -ha it adds up mounted directory file content as well. Following are my ...
5
votes
5answers
547 views

Removing unused init scripts

On my Debian server, I have no network shares (NFS, SMB, ...). I am trying to optimize and simplify my boot process. Is it OK to remove the following init scripts? /etc/rcS.d/S12mountnfs.sh ...
5
votes
1answer
109 views

Is `ln` atomic and reliable on NFS? Could NFS replace GFS in this use case?

I have a cluster with a bunch of servers with a shared disk containing a GFS global file system that all nodes access simultaneously. Each node in the cluster run the same program (a shell script is ...
4
votes
2answers
50 views

Is NFS sharing via a multi-home computer possible?

I have an nfs export on computer A that I need to mount on a computer B in a different network. I have a multihome computer C, that can provide the connectivity between A & B. All computers are ...
0
votes
0answers
53 views

Running NFS server as ver 3

As NFS docu stands it is possible to run NFS serwer ver 4 as ver 3 from the boot. Just it is necessery to add such entries in /etc/defaults/nfs file: NFS_SERVER_VERSMAX=3 NFS_SERVER_VERSMIN=3 I ...
2
votes
1answer
178 views

Is it possible for du to report significantly more disk in use than the mount point has available?

I ran into an interesting situation the other day. I have a 1TB NFS filesystem mounted on /backup. df reported approx 1TB total size, as expected. However, running du -csh . in the /backup/.snapshot ...
0
votes
0answers
2k views

Mounting NFS share from Linux client on Windows domain

I've got a client (Ubuntu 13.10) joined to a Windows domain through PBIS/Likewise, serving Samba shares and allowing domain users to login with domain credentials. Outside of the Windows domain, ...
1
vote
2answers
309 views

How to mount an remote filesystem with specifying a port number

I am trying to mount a director from another server on my server. For that, I have tested sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/ But the connections gets a timeout because on ...
0
votes
0answers
129 views

different loopback mounted volumes exported through NFS are seen as 1 by the client

I have a rather peculiar problem. I'm running 3.2.0-58-generic #88-Ubuntu (Ubuntu 12.04) and I have mouonted the following loopback devices: cat /proc/mounts | grep loop /dev/loop0 ...
2
votes
1answer
2k views

“NFS <server> not responding still trying” error timestamp

Sometime while my putty session is connected to server, it gets this NFS error. Note the server is Solaris 11 based. NFS server <server> not responding still trying NFS server <server> ...
2
votes
2answers
2k views

NFS Shares (Windows using FreeNFS but connecting on Linux)

I am using a "FreeNFS" on a Windows 8.1 machine and I set up a share I:\Library. I am currently allowing all clients and using ANSI encoding. My Linux box is actually a Raspberry Pi, using Raspbmc. I ...
2
votes
1answer
1k views

Fatal: module nfs not found

I am setting up a new NFS client on a LAN that has a working NFS server (Ubuntu 12.04) running nfs4. The other clients all work as expected. On this new client I'm running ChrUbuntu with kernel 3.4.0 ...
5
votes
3answers
471 views

Why does this executable still execute after I deleted it?

I deleted the executable, so why is it still running? root@raspberrypi:/test# ls -la total 11096 drwxrwxrwx 2 pi pi 4096 Mar 12 18:26 . drwxrwxr-x 11 pi pi 4096 Feb 28 13:50 .. -rwxrw-rw- 1 ...
3
votes
2answers
719 views

NFS partition mounted as read only

(Disclaimer: I've read "NFS sharing is read only" and I think it's not the same problem) I have just setup NFS on my raspberry (Raspbian) and I'm trying to access it from OSX. So far so good, I can ...
0
votes
0answers
94 views

Problem with NFS after changing the IP address to static

I have a NFS server from which I mount the /home directories to the remaining NFS clients in the lab. The NFS server is xxx3 which has all the home directories for the remaining machines. The ...
1
vote
0answers
42 views

Should rpc.statd write anything into wtmp?

On several linux machines (some old custom variant of gentoo) I have huge wtmp files, up to gigabyte in size. After some experiments I know that there is rpc.statd daemon running on all servers and ...
1
vote
0answers
652 views

NFSv4 which “domain” to put in idmapd.conf?

I'm using NFSv4 but suddenly when the NFS Server got rebooted, all the files on the Clients are having nobody ownerships after the Server is booted and started its whatever services again. Then I ...
1
vote
1answer
2k views

NFS Server changes in /etc/exports file need Service Restart?

I have NFSv4 Server (on RHELv6.4) and NFS Clients on (CentOSv6.4). Let's say in /etc/exports: /shares/website1 <ip-client-1>(rw,sync,no_subtree_check,no_root_squash) /shares/website2 ...
3
votes
1answer
587 views

Proxmox Master Node crashes

I've inadvertently discovered a Proxmox bug. I run a personal cluster of 4 nodes (a technology lab for giggles and gags). Each node has a Dell Perc 5i and 4 HDDs in RAID 10. The standard Proxmox ...
2
votes
2answers
2k views

How to determine if NFS mount is mounted as v3 or v4?

Red Hat 5/6 when I do mount it says type nfs, I would like to know how to determine version if it isn't listed in mount options or fstab. Please don't say remount it with the version option, I want ...
2
votes
1answer
443 views

NFS Ownership/Permissions

I'm trying to get NFS working properly on a DD-WRT install using OTRW2. I can see and mount the share from the client. But when I do, the mounted folder changes it's owner to root:root and so my ...
3
votes
2answers
460 views

Wait for move directory to be completed before attempting to delete it

I have a process running on one computer that spawns simulations by writing the simulation data to directory pre/id. Worker processes then copy a simulation from pre to a local disk, which can be on a ...
1
vote
3answers
4k views

NFS Automatic Fail-over or Load-balanced or Clustering?

I've been using NFS (and it is the only one i know well in Network Files) for a few years. But still can not able to find out .. How to make NFS Servers in Clustered Design (or Load-balanced?) Or at ...
1
vote
2answers
160 views

Is there any shared filesystem based on public key authentication?

I normally use NFS, however I am not so comfortable with the security as basically a root user can just change his UID to an arbitrarily one in order to obtain access to a shared folder. Moreover, ...
1
vote
0answers
360 views

How to setup anonymous NFS correctly

I set up an NFS server on Ubuntu Server 12.04 for my linux based DVB-S receiver (Spark 7162) Unfortunately the receiver is only able to connect anonymously. Directories are created but can not be ...
0
votes
1answer
253 views

NFS: failed to create MNT RPC client status = -101

I am trying for network file system (NFS) booting between two systems. I am using dhcp server to assign IP-address for client. And my kernel and root file system are present in server. My client is ...
4
votes
2answers
418 views

Exposing NFS mount via USB

I know enough linux to be dangerous - apologies if my terminology is incorrect. I have an electronic drumkit that has USB into which I can plug a flash drive with MP3s on it. The drumkit has no ...
6
votes
2answers
708 views

Why restrict the number of inodes a user can access?

It appears that it is possible on a network mount to set a quota on how much space a user can consume. # edquota ramesh Disk quotas for user ramesh (uid 500): Filesystem blocks ...
0
votes
0answers
631 views

How do you setup user quotas for disk storage?

The lpic exam shows how to setup user disk quotas in the /etc/fstab. Source http://en.wikibooks.org/wiki/LPI_Linux_Certification/Managing_Disk_Quota Example /dev/fd0 /home/yann/mnt auto ...
1
vote
0answers
54 views

How do I prevent access to a sub-directory on an NFS share?

I am trying to prevent access to a subdirectory on an NFS share. The directory structure is this: Downloads TV Software Books My /etc/exports file currently has this line: /Downloads ...
0
votes
0answers
61 views

Issues with sharing partitions using NFS

We have 3 servers: Server1, Server2 and Server3, all in the same network. On Server2 I'm sharing a partition, say /part1, to Server 3 using NFS. Here's the /etc/exports on Server2: /part1 Server3(rw) ...
0
votes
0answers
80 views

what yum repo do I need for nfs-utils

I downloaded yum but have 0 repos. What yum repo do I need for nfs-utils so I can do this tutoial: http://www.techrepublic.com/blog/linux-and-open-source/set-up-easy-file-sharing-with-nfs-on-linux/#. ...
3
votes
1answer
640 views

Recommendations for replacing a GFS cluster?

I have a couple of CentOS GFS-clusters (GFS as in Global File System) using a shared disk in a Fibre Channel SAN. They are mature now, and the time has come to start planning for their replacement. ...