Tag Info

Hot answers tagged

6

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.


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


5

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

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


5

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


5

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


5

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


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.


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


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

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


4

You need to download Windows Services for UNIX Version 3.5 to support NFS mounts.


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

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

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


3

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


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


3

with NFS4.0Alpha support Maybe that's the cause for the instability? :) What is the best way, without manually synchronizing the IDs and squashing all IDs, to properly get the ID mapping done? Preferably without touching the client. RPC, used by NFS, usually supports two authentication mechanisms: AUTH_UNIX (sec=sys, by user ID) and AUTH_GSS ...


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

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


3

ZFS will share filesystems over NFS or CIFS, and ZVOLS over iSCSI. If you really want close to local, you'd have to export a ZVOL over iSCSI. Your second choice would be CIFS. Considering that you're talking so casually about NFS on Windows, are you by any chance running Ultimate or Enterprise? I'm not aware of any other popular NFS client for Windows ...


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

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

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


3

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



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