Questions tagged [nfs]
Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems in 1984, allowing a user on a client computer to access files over a network in a manner similar to how local storage is accessed.
619
questions
109
votes
14
answers
129k
views
faster way to mount a remote file system than sshfs?
I have been using sshfs to work remotely, but it is really slow and annoying, particularly when I use eclipse on it.
Is there any faster way to mount the remote file system locally? My no.1 priority ...
36
votes
7
answers
271k
views
How do I mount an NFS share in Windows 8?
I have a NAS that I'd like to mount over NFS. It works great on my Mac, but I cannot figure out how to mount this device on Windows 8.
I've searched a bit online, but all the articles seem to apply ...
33
votes
2
answers
63k
views
User ID mapping with NFS on Synology NAS
I have a Synology NAS box (running DSM 5.1), and I've exported a directory via NFS. I'm attempting to mount it on my Ubuntu box.
It mostly works fine, but I'm having issues with user and group ...
28
votes
5
answers
76k
views
How to (cleanly) dismount sshfs when mounted on a NFS mount point?
My coworker has a desktop computer with /home shared on our file server. I have developed a Perl script for sshfs-mounting a certain directory on another SSH host which works fine on my laptop.
On ...
25
votes
6
answers
179k
views
How to access NFS share from Windows 7 pro?
Everywhere I see Windows and NFS, there is a mention of some kind of subsystem of unix apps or something like this, but apparently it's not in Windows 7 pro.
So the question is: what can I do to get ...
20
votes
1
answer
67k
views
Can I password protect an NFS share?
I have two machines on a local network (Ubuntu 11.04). I created an NFS server on machine A. The other machine B receives its IP through DHCP.
I want to know if IP is the only way to allow or deny ...
20
votes
1
answer
27k
views
Should I replace sshfs with NFS? [closed]
I have a server at home accesible via local WIFI. I also have several laptops. I share folders in the server using sshfs due to its ease-of-use. But sometimes I notice lots of connections issues with ...
14
votes
2
answers
20k
views
What are the difference between nfs over ssh and sshfs?
I’m looking for a solution to mount an folder from my homeserver (linux) over the internet. The Data should be encrypted, so that nobody could read my file content or any metadata.
I have found ...
13
votes
2
answers
3k
views
Mount Mac OSX server NFS from Linux <krb5> LDAP?
I'm trying to mount an NFS share from Fedora 16. The server is Mac OS X Server, set up by my coworker. I believe it requires Kerberos/LDAP authentication, so I would start the (probably arduous) ...
12
votes
1
answer
26k
views
NFS Mount not showing in Windows Explorer
Ok. After several hours of searching Google, I can not find exactly what I need.
After mounting an Ubuntu NFS share in Windows 7 via command line, it says it mounts successively. I know it was ...
11
votes
1
answer
6k
views
Copy remote files on nfs without round-trip
I have a large amout of data (several GB) on a remote drive, that is transparently mounted via nfs. I'd like to copy these files into a subdirectory of where they are already residing, so everything ...
11
votes
3
answers
59k
views
How to map user IDs on an NFS share?
I have succesfully mounted an NFS share from my remote machine to my local. However, the files I want to edit on the remote machine are all owned by root.
How can I mount my NFS drive so that my local ...
11
votes
5
answers
5k
views
Export NFS path containing "-" (dash)
I'm in a bit of a pinch with NFS exports file.
Specifically, I can't find a way to export a directory containing "-" in the path name.
Manual (exports(5)) states:
Also, each line may have one or ...
10
votes
1
answer
6k
views
How do you declare a bind mount in NixOS?
I'm trying to declare a bind mount in my NixOS configuration. I'm trying the configuration snippet below, but it sends the OS into recovery mode when I test it out (using nixos-rebuild test). To be ...
10
votes
3
answers
30k
views
“ls” shows no files in mounted NFS folder, but “cd” works
An NFS share was mounted to /vol/mynfs on a Linux client. It does not show any folders with ls and bash completion does not work in /vol/mynfs too. But after changing to a subdirectory all files are ...
10
votes
4
answers
66k
views
How to mount NFS export on Mac OS X?
I have FreeBSD (test.local) box configured as NFS server. And I'm trying to mount its NFS sharing form my mac (hhmm.local)
/nfs hhmm.local
/nfs has 777 permission.
And I checked from mac that ...
10
votes
2
answers
34k
views
How to get NFS Server on Windows 10?
Although NFS Client/Server exist on Windows Server versions.
I'm using Windows 10 Pro, and there's just the NFS Client available.
How can I get this NFS Server (provided by Microsoft) in Windows 10 ...
10
votes
3
answers
50k
views
NFS mount fails, permission denied, no export entry
I have a problem mounting a NFS share that I can't solve that is driving me nuts. This is the situation:
Three machines involved:
Host A: mandrake, IP 192.168.1.4, NFS server
Host B: athlon64, IP 192....
9
votes
4
answers
25k
views
How to set identity for Windows client for NFS without identity server?
I am using the Windows 7 NFS client to access a Fedora FC 11 NFS Server. The identity presented by Windows NFS Client to the NFS server can only be set in AD or if running a special identity server ...
9
votes
2
answers
17k
views
Alternative to NFS or better configuration - instable network, simple to set up
We are currently using NFSv4 for file sharing in a small office.
Unfortunately the network is not very stable and it seems to have huge impact on the Ubuntu clients if the network is gone: The whole ...
9
votes
1
answer
3k
views
How to disable zsh tab completion for NFS dirs?
I use zsh and its tab completion. When I accidentally hit tab in a (slow) NFS dir, zsh takes way too long. Even worse, if the NFS is down, and I hit /mnt/[tab], my whole shell locks up.
How can I ...
8
votes
3
answers
8k
views
How can I have two files with the same name in a directory when mounted with NFS?
I have a C++ application test that creates 10,000 files in an NFS mounted directory, but my test recently failed once due to one file appearing twice with the same name in that directory with all the ...
8
votes
1
answer
2k
views
Which network file systems do not implement locking correctly?
As a common cause for file corruption, documentation often cites as cause "NFS that doesn't implement file-level locking correctly" or something similar, e.g., for SQLite:
How to corrupt an ...
8
votes
2
answers
14k
views
How to configure permissions for linux NFSv4 client with Synology NAS?
I have an established Linux server (Ubuntu 12.04) and a new Synology NAS and am having trouble getting correct NFS user permissions on the mountpoint.
The server also mounts an NFS export from ...
7
votes
3
answers
12k
views
Making an NFS mount on the host visible and read-write inside Docker container
I am new to Docker and I want to use it to get a controlled compilation environment for my code.
I already have a Docker image with all the tools I need. My problem at the moment is as follows:
I ...
7
votes
3
answers
22k
views
Non-root users cannot access NFS mounted directory
I have a Synology NAS sharing a "MEDIA" folder by NFS.
I would like to access this folder from my Plex Media Server (running on Debian).
I added this line to the /etc/fstab file:
nas.lan:/volume2/...
6
votes
3
answers
17k
views
How to determine whether a directory is on an NFS mounted drive?
How can I determine whether a given directory on a Linux machine is from an NFS mounted drive or not?
6
votes
2
answers
21k
views
How to mount an NFS share on WSL2?
How can I mount an NFS share from WSL2 on Windows 10?
sudo mount -t nfs 192.168.1.101:/mnt/tank /mnt/tank
fails with
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: ...
6
votes
1
answer
6k
views
NFS & Lion connection is not working
I am a web developer and I'm trying to establish a workflow between OSX Lion ( Design + Development ), Parallels + Ubuntu preproduction server.
I am trying to create a connection to share files ( ...
6
votes
1
answer
14k
views
Aliasing NFS export path
Is there a way to define an alias for a NFS-exported directory directly inside /etc/exports (without using a symlink)?
For example, I want to access this export
/home/username/nfsdir 192.168.0.100(...
6
votes
1
answer
4k
views
Troubles using apt-get install with home on NFS share
I am trying to install a bunch of packages using apt-get install on a VM running Debian 5.0.9 (Lenny). What makes this endeavor frustrating and difficult is the fact that my home directory on this ...
6
votes
1
answer
1k
views
OSX: Locking in vagrant with Ubuntu guest using NFS doesn't work
On OSX 10.10.3 using VirtualBox 4.3.26 and vagrant 1.7.2 when using NFS for the shared folder in a Ubuntu 14.04 LTS guest, PHP application ins the guest trying to use LOCK_EX on the shared folder ...
6
votes
1
answer
5k
views
using NFS over unreliable networks (wifi/mobile)
I have a NFS server at home (and an openvpn connection that only works outside of home).
My phone (Jolla) is basically Linux, and has mobile data/wifi/usb network capability.
Basically, I want to ...
6
votes
2
answers
15k
views
NFS Network path not found
I did setup a nfs share on my debian 7 server and been trying to mount it on a windows 7 machine.
I've tried the following:
C:\Users\David>mount \\192.168.178.240\backups Y:
Network Error - 53
...
6
votes
1
answer
8k
views
Terminal hangs when mounting/doing showmount
I am creating a NFS share. I've configured the NFS server and also the NFS client.
My share was working perfectly fine until yesterday and now I found out it doesn't work.
I redid all the steps of ...
6
votes
1
answer
9k
views
Mount Synology NFSv4 export with id mapping
I have a Synology DiskStation (DSM 6.0.2) that exports shared directories via NFSv4. I specified a NFSv4 domain ITET-PHO.
On another Linux machine (Debian Wheezy), I want to mount this export using ...
6
votes
2
answers
3k
views
NFS: Network disconnect causes Gnome Nautilus to hang / Jumping progress bars
I mount NFSv4 export via /etc/fstab and mount and use the shared folder in nautilus.
There are two issues:
When I copy a large file (around 4 GB) to the NFS server, the progress bar rapidly goes to ...
6
votes
1
answer
7k
views
Mac OS X - User home directories shared via NFS
I've run into some problems with how I've got user home directories set up on our system here.
Our server is an XServe, using Open Directory to manage the user accounts.
The majority of our ...
6
votes
0
answers
6k
views
What should I use to access NFS from console without mounting it?
Network file access | Console program | mounting option
------------------------------------------------------------
HTTP | wget / curl | httpfs
FTP | ...
5
votes
5
answers
17k
views
What to do with NFS server (UTF-8) and Windows 7?
NFS share is mounted using mount server:/share x: command.
File(cyrillic) "Новый текстовый документ.txt" created with samba share (and using UTF-8) is shown as "Новый текстовый ...
5
votes
1
answer
27k
views
How to map NFS client root user to NFS server root user?
We have a problem when using NFS. We can't write into a directory on NFS client machine if that directory was created on NFS server. The reason seems to be a file/directory permission and user mapping....
5
votes
1
answer
9k
views
Error mounting Arch Linux NFS share on Windows 7 Ultimate
I'm trying to mount an NFS share over a LAN:
Server: Arch Linux x64
Client: Windows 7 Ultimate x64
The server already successfully exports NFS shares to other Linux machines, so I'm pretty sure it ...
5
votes
3
answers
10k
views
Concurrent NFS access
Similar to Concurrent FTP access.
How is concurrent file access handled for NFS? Say that one client is updating/overwriting a file on a NFS server, and a process on the server is reading that same ...
5
votes
3
answers
15k
views
How to change user ID on a QNAP NAS?
I've got a QNAP TS-110 which I access via NFS from my Ubuntu system.
I guess that NFS on a typical home network does not use any user authentication.
I've read in various places and I found that it ...
5
votes
2
answers
22k
views
Mount only sub-directory in NFS export
On my NAS I export one single filesystem:
/mnt/datastore *(rw,sync,no_subtree_check,all_squash,fsid=0)
With /mnt/datastore/ being the mount point of a FUSE based concatenation of a bunch of disks.
...
5
votes
2
answers
11k
views
How can I make a SquashFS file the root file system when doing an iPXE boot?
I have a system that works perfectly fine as iPXE boot server. Now I'm trying to make it use a SquashFS file as a root file system, instead of an NFS file system.
The current system uses iPXE ...
5
votes
1
answer
14k
views
NFS: too many levels of symbolic links. How to find and fix?
wim@wim-desktop:/media/data/dots/manouche$ ls > /dev/null
ls: reading directory .: Too many levels of symbolic links
wim@wim-desktop:/media/data/dots/manouche$ find . -type l -exec ls -l {} \;
wim@...
5
votes
1
answer
2k
views
Optimizing NFS share for many small files
I'm attempting to setup a file share system for a system where users are given access to ephemeral virtual machines to work on projects that read/write a large amount of small files. For example, a ...
5
votes
5
answers
11k
views
Mount on a per user basis
I am in charge of a small nfs network and I would like to set the machines to perform different mounts depending on which user logs in. Is this possible?
For example, if user A logs in I want them to ...
5
votes
3
answers
663
views
Connecting one Linux host's filesystem to the other in a way that tolerates network interruptions
I have two Linux hosts (both running Ubuntu 10.04) and I want one of them to have access to part of the filesystem of the other. I.e. I want remote1 to be able to access the files of remote2:/home/...