nfs

Is there a network file system for mainframes (System Z)?

Network file systems are offered by Windows and (L)Unix. Is there one for IBM Mainframes? (Hard to believe not). Does it offer standard Unix-style access (binary? Ascii? EBCDIC?) to mainframe data areas? How are datasets/partitioned data sets treated? Who configures into Z/OS? How do I find out more about such network file systems for...

Is there any conflict between NFS and calling getFD().sync()?

My boss is worried that our NFS file system will not be happy with the jboss run java process calling getFD().sync on the files we are writing. We have noticed that frequently the time stamp on the created file is minutes (sometimes as many as 15 minutes) after the log claims the file was finished writing. My only guess is that the NFS...

Deploying to more than one application server

We have reached that point where one application server is not enough. Apart from performance benefits we want to have a somewhat failover scenario as we cannot afford a 30 minute downtime just because the server needs a reboot for the new kernel. The first issue that has to be resolved is where to store the shared files so that both ...

Where can I find a C#/.NET NFS implementation?

Is there any implementation of the NFS protocol written in C# or a good documentation thats easy to read so I can implement my own.. Both server and Client are needed but the client doesn't have to be C#, there must be some thing out there? ...

Linux diskless client nfs throughput

I have a gentoo diskless client that mounts using nfs and it seems like the throughput of nfs is slow. iperf show the network able to push 770 Mb/s and hdparm shows the sata disk on the server at 90 Mb/s, but doing a dd across the network only shows up as 10 Mb/s (is about 40 Mb/s when the same test is done on the server to a third mac...

Listing nfs shares exported on windows

I want to view the nfs shares that are exported on a windows server from a linux client. I know how to view the cifs shares(by using samba's "net rpc share .." command). How do I view the nfs shares? ...

Install C C++ library under HOME shared via Network File System

Hi, My Home directory is shared among several linux computers via Network File System. I would like to install some C C++ library from source under my Home directory, and wish they can be used under all the linux computers. Do I have to install different versions of the library under different directories of my Home for different compu...

build program and install software under Network File System for different machines

Hi, Although having a little experience, I am still confused with the question of whether it is necessary to install an application and/or build a C++ program or C++ library under Network File System shared by machines, which have different Linux version (e.g. CentOS release 4.7, Ubuntu 8.10), possibly different bit (e.g. 32-bit, 64-bit)...

Makefile for program running on different machines

Hi, I have a C++ program that will run on several machines that use a Network File System. For each of the C++ libraries that my program uses, I installed a version for each machine, under ~/program_files/machinename/libraryname. "machinename" is obtained via bash command "hostname". On the machines I am using, "hostname" outputs someth...

How to check an NFS export's availablity using Ruby?

How can I check if an NFS share on network is online/available/alive using Ruby code (on Linux)? I have a code like this at the moment: while !Ping.pingecho('192.168.1.116') end `mount -a` exec 'SOMETHING THAT IS PLACED ON NFS SHARE' And it doesn't work quite OK, because the remote machine exporting the share don't always have the NF...

C# int to byte[]

If I need to convert an int to byte[] I could use Bitconvert.GetBytes(). But if I should follow this: An XDR signed integer is a 32-bit datum that encodes an integer in the range [-2147483648,2147483647]. The integer is represented in two's complement notation. The most and least significant bytes are 0 and 3, resp...

How does IBM's RDZ running on a PC access the mainframe's file system?

I hear repeatedly that while NFS-style files systems are available on IBM mainframes, they are often not enabled, presumably to minimize the security risks of the mainframe vis-a-vis the rest of the world. Given that I'd like to produce PC-based tools that reach out and process files on the mainframe, this makes a simple problem ("open ...

How do I run a command as a different user from a root cronjob?

I seem to be stuck between an NFS limitation and a Cron limitation. So I've got root cron (on RHEL5) running a shell script that, among other things, needs to rsync some files over an NFS mount. And the files on the NFS mount are owned by the apache user with mode 700, so only the apache user can run the rsync command -- running as root...

How Can I Recover a .nfs file?

I have been working on an algorithm in Python, and I was using Vim to edit this file. I opened it up, did a save, and it came up with an Error something like it occasionally does: "WARNING: YOUR FILE CANNOT BE SAVED! ALL CHANGES WILL BE LOST! CANNOT WRITE THE FILE!" As this happens occasionally, I did what I normally do, and I hit :...

NFS + Hard Links?

I know it is a condition of hard links that they cannot span filesystems. Does this apply to NFS mounts? Given the following directory structure, would I be able to create a hard link in directory A that points to a file in directory B? /root     /A     /B <-NFS mount For example, I'd like to run " ln /root/b/file.txt /root/a/linked...

(sun)RPC auth_unix

Im implementing my own RPC framework and well moste of the stuff is done but i need some help how do i verify a auth_unix? the structure of the data is definied in http://www.faqs.org/rfcs/rfc1050.html 9.2 UNIX Authentication but how should i verify the user? ...

NFS CREATE File (overwrite) = zero size?

Im implementing NFS and almoste done but the RFC section 3.3.8 says this in its description: mode One of UNCHECKED, GUARDED, and EXCLUSIVE. UNCHECKED means that the file should be created without checking for the existence of a duplicate file in the same directory. In this case, how.obj_att...

Ruby code on NFS mount, using another file on same mount causes problems.

I'm working on an embedded system whoose details are explained at the end of this post. Tools are ruby on linux. I put my ruby code on a remote NAS device on network and mount it to the embedded system I'm working on using NFS v3. My project scenario is like this: there is an all-in-one auto starter which 1.mounts the nfs share, 2. star...

NFS File names Chars outside the ASCII standard?

Well i have implemented my own NFS server and everything is working good but how do i encode chars that arent part of the ASCII standard? the XDR RFC says that strings are encoded as ascii that would then remove all non ascii chars? but if i start up a nfs server that i havent written it seems to have support for those chars... Iv tryed...

Reading UNIX file properties via C# over NFS

Hi, i have two servers. solaris 10 acts as a NFS server win 2003 ernterprise server with installed UNIX/NFS extensions acts as a NFS client The win 2003 server has mounted one share of the solaris system. How can i check (via C#) the origin UNIX file properties (e.g.: -rw-r--r--) of a remote file located on the NFS share? rené ...