Hot answers tagged

14

In Windows 8 (8.1 Enterprise for me here)... There are two parts... First installing the client and second mounting the drive... Installing the client Go to Control Panel → Programs → Programs and Features Select: Turn Windows features on or off" from the left hand navigation. Scroll down to "Services for NFS" and click the "plus" on the left ...


13

Besides already proposed solutions of using Samba/NFS, which are perfectly valid, you could also achieve some speed boost sticking with sshfs by using quicker encryption (authentication would be as safe as usual, but transfered data itself would be easier to decrypt) by supplying -o Ciphers=arcfour option to sshfs. It is especially useful if your machine has ...


13

If you need to improve the speed for sshfs connections, try these options: oauto_cache,reconnect,defer_permissions,noappledouble,nolocalcaches,no_readahead command would be: sshfs remote:/path/to/folder local -oauto_cache,reconnect,defer_permissions


11

I came in late, but here is a real solution: (opensource) Was researching the same thing for win7 pro and found this: http://www.trevorpott.com/?p=385 The University of Michigan NFS v 4.1 client. This is the exact same client for NFS 4.1 that Microsoft included in Windows 8. (Indeed, Microsoft funded its development.) It is located here. However, ...


11

To connect to an NFS share, you need to make sure you have the NFS client installed. This component is a part of the Services for Unix component. Go into the control panel, Programs and Features, then Turn Windows features on or off. Make sure Services for Unix-based Applications (DEPRECATED) is checked, and click OK. Be advised that typically only ...


9

It seems that cp files* subdir does the naive thing and reads all the data into memory and then writes it back. Is that true? Yes. Is there a special command that does the actual copying entirely on the server the disk is physically connected to? No, unless you can login to the remote machine with ssh and do the copying there. EDIT There is some work ...


9

driver: http://www.citi.umich.edu/projects/nfsv4/windows/ On its NFSv4 project website, the University of Michigan's Center for Information Technology Integration (CITI) has announced that, after 18 months of development and since the start of September, source code for its Windows driver for distributed file system NFSv4.1 has been available from a Git ...


7

Without involving an authentication method like Kerberos, NFS on its own has very little in the way of access control - pretty much just restriction by IP address as you noted. More info here if you want to look at the Kerberos option: https://help.ubuntu.com/community/NFSv4Howto


7

You are probably getting freezes because you are exporting NFS shares with the "hard" option (which is the default). You can change that by using explicitly the "soft" option. The NFS man page has more. mount -o soft <nfs server ip>:/mountpoint /local_mountpoint Then in the clients you should no longer have a problem with freezes. As for a ...


6

Ok I found the solution, this is my current configuration: VM Ubuntu Server: 10.211.55.5 From OSX Lion: 192.168.1.3 From VM Ubuntu Server Exports sudo vi /etc/exports /path/to/folder *(rw,sync,subtree_check,insecure) Hosts allow sudo vi /etc/hosts.allow #empty Hosts deny sudo vi /etc/hosts.deny #empty Restart servers: chown nobody:nogroup /...


6

Unless you have Windows 8 Enterprise, you won't be able to accomplish this without 3rd party apps. I was able to NFS drives mounted in Windows 8 using NekoDrive. You will also need to install the Dokan library. You can then set up the application to auto-mount the drive. http://code.google.com/p/nekodrive/ http://web.archive.org/web/20150222074745/http://...


6

The disk is an NFS mounted disk. When I go to the host computer that publishes the drive, the file is only listed once. Probably a bug, issue, or race condition with NFS. It's possible to have two files of the same name if you directly edit the filesystem structures using a hex editor. However I'm not sure what would happen if you try to delete or open ...


6

A friend helped me track this down and found this is a bug as recorded in Bugzilla 38572 for the Linux kernel here. The bug is supposedly fixed in version 3.0.0 of the kernel, but present at least in version 2.6.38. The issue is that the server's ReadDIR() RPC call returns incorrect results. This occurs because of the following: When the client reads a ...


5

For Windows 7 Client for NFS (packaged with Ultimate and Enterprise versions), you can set the AnonymousGid and AnonymousUid parameters in the registry of the client machine so that it connects as the Unix user you like. Windows Registry Editor Version 5.00: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default] "AnonymousGid"=dword:...


5

Use rsync instead. $ rsync -rav /path/to/nfsmount /path/to/local You can remove the 'v' if you don't care for it to be verbose and list the files. If the nfs mount goes stale before it finishes just run it again and rsync will only copy what it missed.


5

I had the same issue with mount_nfs: can't access /: Permission denied on OS X 10.6.8 and even with the resvport option it still failed however modifying the nfs server export mount to use the insecure option worked.


5

You should be able to unmount the sshfs share by executing: fusermount -u /path/to/sshfs/share


5

Assuming you mean a PC running windows, and you already have done the proper means to set up NFS and exported the directory you want to share, you Install the NFS client for windows, in Win-7 you go to Add/Remove programs and Turn Windows features on or off Enable the NFS Client Mount the share. Go to the start menu. righ click Computer and chose ...


5

sshfs is using the SSH file transfer protocol, which means encryption. If you just mount via NFS, it's of course faster, because not encrypted. are you trying to mount volumes on the same network? then use NFS.


5

You need to download Windows Services for UNIX Version 3.5 to support NFS mounts. From @Sridhar-Sarnobat: The simplest way to get up and running is: Copy your /etc/passwd (and /etc/group) files from your NFS server to your Windows XP client and point to them in User Name Mapping -> Configuration subtab. In the User Name Mapping -> Maps subtab, check ...


5

You could use the stat utility with -f to say you're looking for information about the filesystem. For example: $ stat -f -c %T . ext2/ext3 $ stat -f -c %T /sys sysfs $ stat -f -c %T /proc proc $ if [[ $(stat -f -c %T /proc) == proc ]] ; then echo Good ; fi Good (See the man page for the different formatting options, and sorry I don't have an NFS mount ...


5

This is usually caused by the configuration on the NFS server. NFS servers will often map UID 0 (root) to another user such as "nobody" or "nfsnobody". You need to specify on the NFS server which clients are allowed root access to the mount. On Linux, you usually need to specify no_root_squash in the /etc/exports file where the export is defined. For ...


4

Same error here, except that the Linux instance is running in a virtual machine (QEMU). Adding -o nfsvers=3 does not help; mount -v clearly shows that protocol negotiation is occurring and successful. The problem is that the mount request comes from an unprivileged port; putting nfs.server.mount.require_resv_port = 0 in /etc/nfs.conf on the Mac and ...


4

Socket files don't actually exist on the filesystem other than as a directory entry; they're only used as pointers within the VFS on the same machine. Since you can't share a VFS across multiple machines, you can't share socket files.


4

You could use df -t nfs <directory>, which will produce output like $ df /home/aland/ -t nfs Filesystem 1K-blocks Used Available Use% Mounted on nfs_oscar:/home 1255425376 874128064 316496736 74% /home if directory belogs to NFS mount, and nothing otherwise: $ df /root/ -t nfs Filesystem 1K-blocks Used Available ...


4

Easier way then taking away SELinux protection is simply to allow use of NFS to it: setsebool httpd_use_nfs on


4

Services for Network File System (NFS) feature is available only in the Windows 8 Enterprise edition. This feature is not available in Windows 8 and Windows 8 Pro editions. Users when upgrading from Windows 7 Ultimate or Windows 7 Enterprise edition to Windows 8 Pro edition can no longer use Services for NFS feature. In order to continue to use Services ...


4

I've used SSHFS in a corporate environment in the past and it is, in my experience, unreliable under heavy load and best suited for casual use. If you need a heavy duty network filesystem go for NFS or CIFS (Samba). You will have to trade encryption for stability, though, unless you use NFSv4, which supports encryption. So yes, you could use NFSv4 as a ...


4

If this is NFS4 on Linux, the following seems to do the trick: mount -o remount /share/


4

I stumbled upon this question just now, because I experienced the exact same problem - and managed to solve it! Although probably uninteresting for OP after several month, others may benefit. If you mount NFS shares from an elevated command prompt (Run as administrator), the mount will not show up in the explorer running on normal user rights. The solution ...



Only top voted, non community-wiki answers of a minimum length are eligible