Hot answers tagged

13

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 ...


12

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 ...


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 (DEPRECIATED) is checked, and click OK. Be advised that typically only ...


10

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


10

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, ...


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 ...


8

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 ...


6

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

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


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 ...


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

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

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://dokan-dev.net/en/


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 ...


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

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

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

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] ...


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 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 ...


4

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.


4

That folder should just contain Wine specific profile files and files installed in the virtual Windows-like environment via Wine. Its basic structure is easily recreated by just running wine again. You could/should check why it takes up a lot of space, though, so you don't accidentally delete some useful data that you have forgotten about. I just did a ...


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 ...


4

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


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

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 ...


4

There is a chance that you have a hidden non-printable character or whitespace in one of the filenames. You can check with by providing the -b option to ls, e.g.: user@server:~/test$ ls -lab total 8 drwxr-xr-x 2 user user 4096 Sep 3 12:20 . drwx------ 8 user user 4096 Sep 3 12:20 .. -rw-r--r-- 1 user user 0 Sep 3 12:19 hello -rw-r--r-- 1 user user ...


3

This is not the usual "circular link" error (that's why find doesn't help you). It says, ls: **reading directory .**: Too many levels of symbolic links So the error "Too many levels of symbolic links" is occurring while reading the current directory. It looks like a serious bug in either the driver or the physical filesystem; I'd try unmounting and ...


3

If you have created an NFS share on the NFS server and mounted it on the client, of course the files will be stored in the server's hard disk although it might look from a perceptual point of view that they are stored in a directory of the client's hard disk. In any case make sure that the share is properly mounted by issuing a mount comand at the clients ...



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