Tag Info

Hot answers tagged

9

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


8

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


6

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


6

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

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


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

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

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


6

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


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

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


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

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

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


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


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

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

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/


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

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


4

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


3

These conflicts are usually resolved through locks. It is upon application to ensure proper locking. That said, it needs to be noted that most of applications do tend to lock files, especially during writes.


3

Reliability of each node aside, sure. Each VFS just forwards its requests to the next in the chain. Also, investigate the nohide export option.


3

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.


3

As @PriceChild notes, this question is a duplicate. However, no answers were accepted to that question. I tried this answer first, namely adding -o vers=3 to the mount command, and that worked for me. The rationale for this (using version 3 of NFS rather than version 4) is that NFSv4 doesn't use UID/GIDs anymore. There are quite a few ...


3

You can use fuse-convmvfs: mount your server folder by fuse-convmvfs (input charset - utf8, output - cp1251) and configure nfsd to use converted FS example: > convmvfs /mnt/converted-folder -o srcdir=/path/to/source/foleder, icharset=utf8,ocharset=cp1251 > vi /etc/exports /mnt/converted-folder 192.168.1.*(rw,sync)


3

It is the client. It might help if you imagine working on paper documents on a desk. You (as in, your computer) is doing the work. Now you take some really long wooden sticks and start working on the desk next to you (the shared folder). You are still doing all the work.


3

FTP tends to be problematic, especially with its text file features, it's not a remote filesystem implementation. But for simple copying of a large set of files I would also recommend rsync. For moving the data over the network, rsync is the way to go. If you get disconnected or any other problem occurs, rsync will scan through the files and only copy the ...



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