nfs

procmail lockfile utility and NFS

G'day, Has anyone used the lockfile utility that ships with procmail in conjunction with NFS mounted directories? The lockfile man page states that "Lockfile is NFS-resistant and eight-bit clean." cheers, Rob ...

Force unmount of NFS-mounted directory

I have an NFS-mounted directory on a Linux machine that has hung. I've tried to force an unmount, but it doesn't seem to work: $ umount -f /mnt/data $ umount2: Device or resource busy $ umount: /mnt/data: device is busy If I type "mount", it appears that the directory is no longer mounted, but it hangs if I do "ls /mnt/data", and if I...

Performance of an large directory structure, networked application

I'm trying to find out what the performance of a large directory structure would be if deep directories were to be accessed on a shared, nfs filesystem. The structure would be excessively large, with 4 levels of nested directories, each level containing 1024 directories. (1024 at root, 1024 in a given subdirectory, and so on). This file...

Distributed file source

Looking for a software solution to to store large files (>50MB - 1.5GB), distributed across multiple servers. We have looked at MogileFS, however, given existing software demands, need to have an NFS interface. Would prefer open source, however, open to all options. ...

How can I tell if a file is on a remote filesystem with Perl?

Is there a quick-and-dirty way to tell programmatically, in shell script or in Perl, whether a path is located on a remote filesystem (nfs or the like) or a local one? Or is the only way to do this to parse /etc/fstab and check the filesystem type? ...

Speed of file transfer NFS vs. Microsoft Network Share?

I would like to know, if there are any performance differences using NFS instead of standard Microsoft Network Share? ...

How do I determine if a directory is an NFS mount point in shellscript

I want to write a sh/bash script that can determine whether a particular directory is a mount point for an NFS filesystem. eg something like $ mkdir localdir $ mkdir remotedir $ mount host:/share ./remotedir $ classify_dirs.sh --> localdir is local --> remotedir is an NFS mount point ...

copying between two directories on an nfs server

If I have two directories on an nfs server, between which I would like to copy a large amount of data (in several thousand files, rather than one large block), is there any way to optimize this to be a "local" copy on the server? Does NFS do this automatically, and if not, is there an option to enable it to do so, or is there some inevit...

Why does NFS use UDP by default?

I'm sure there's some ancient legacy reason for it, but what is it? It seems like a service that's geared towards reliable data delivery. ...

NFS problems on Debian machines

I'm trying to share some directories with NFS among Debian machines. In order to do so, I installed nfs-common and nfs-kernel-server on the server machine. It seemed that starting portmap daemon lasted a long time and I get the following messages in /var/log/messages: Jan 30 18:18:03 zape kernel: portmap: server localhost not responding...

Any ideas why this NFS setup won't work?

I set up an NFS server on my CentOS box with this for the /etc/exports file: /var/www 192.168.0.0/24(rw,sync,no_root_squash) Then on my Ubuntu machine, I ran: # cd ~/ root@bill-murray:~# mount -v 192.168.0.21:/var/www ash mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Thu Mar 5 13:27:59 2...

Export rootfs or tmpfs

Is it possible to export (for nfs mounting) tmpfs or rootfs directories? I have many linux nodes which are booted into a ram based filesystem with just rootfs and tmpfs. I want each node to see some files in the other nodes, so I am trying to export some directory and trying to mount on another node. I see the following error in /var/log...

Alternative or succesor to GDBM

We a have a GDBM key-value database as the backend to a load-balanced web-facing application that is in implemented in C++. The data served by the application has grown very large, so our admins have moved the GDBM files from "local" storage (on the webservers, or very close by) to a large, shared, remote, NFS-mounted filesystem. This ...

What is the relationship between NFS and caching?

This seems like it should be blindingly obvious, but I cannot see the answer. Does NFS have caching? How does it work? Does it simply leverage your operating system/filesystem caching? Does it depend on the client or server you are using? I'm using NFS as a client on Solaris with no special mount options. ...

Can reverse DNS be turned off for NFS?

We have setup 3 Virtual Machine server machines that mount the VMs from 2 other storage machines. We mount the VMs from the storage servers to have less data to move when moving the VMs(pause on one server, mount on new server, unpause) and to facilitate snapshots and backup. We were in the middle of an extended power outage due to sto...

Are there any open source filesystems for Windows that support encryption?

I know that NTFS supports encryption but otherwise is closed source. Likewise, I am aware of add-ins such as truecrypt but I am interested in encryption being built-in vs being bolted on. ...

Data Transfer Speeds: NFS vs HTTP

Hello, Am currently considering using REST access to Nirvanix online storage to store/download files. However, Nirvanix also offers NFS access to the network storage. I was wondering if there are any known benchmarks or protocol-specific reasons for choosing REST over NFS? thanks. ...

Is there a uniform python library to transfer files using different protocols

I know there is ftplib for ftp, shutil for local files, what about NFS? I know urllib2 can get files via HTTP/HTTPS/FTP/FTPS, but it can't put files. If there is a uniform library that automatically detects the protocol (FTP/NFS/LOCAL) with URI and deals with file transfer (get/put) transparently, it's even better, does it exist? ...

How do i compile nfsutils for MIPS architecture?

I need to run an nfsclient on a MIPS target machine, and nfsserver on an x86 machine. Tried to google, but couldn't find an exact solution. Can someone help me with how to compile nfs-utils with target as MIPS? ...

Can't write to FIFO file mouted via NFS

I'm trying to write to FIFO file locate on NFS mount and it blocks. What could be the problem? My /etc/export: /tmp/test/ 10.0.0.0/24(rw,no_root_squash,async) ls /tmp/test on NFS server and client is the same prw--w--w- 1 root root 0 2009-06-24 17:28 ui-input and I'm writing as root Thanks. ...