Sponsored Content
Full Discussion: NFS mount read and write
Operating Systems Linux Red Hat NFS mount read and write Post 302600079 by jegaraman on Monday 20th of February 2012 04:30:10 AM
Old 02-20-2012
NFS mount read and write

Dear all,

I have a server A and Client B.

I am mounting a folder which is Server A using read and write options in client B.

I have put entries in /etc/exports file as

Code:
/mnt1/load *(rw,sync)

In the client i cannot create any new file or delete any file eventhough it is read write mounted.

Any ideas ...

Rgds
Rj
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do i access (mount, read & write) a floppy disk from the console, not being root?

welll, the title quite explains what i want to do thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies

2. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

3. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

4. UNIX for Advanced & Expert Users

How to Mount a Remote NTFS Share for Read/Write under Linux

I've done this in the past, but I didn't save the syntax. I'm still kicking myself about that... I am trying to mount \\server_name\share_name for read/write under CentOS 5.2 (a "generic" version of RedHat). As I recall, there was a fairly simple (maybe a oneline) command that would allow NTFS... (2 Replies)
Discussion started by: shew01
2 Replies

5. OS X (Apple)

NFS Mount

Hello! Im trying to mount an nfs share. But got a bit of a problem. The problem im having is that i try to mount The problem is that the my.server.com/pub/home is owned by root. I know i can make a mount point my.server.com://pub/home/username - > /pub/home But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

7. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

8. Solaris

No write permission on NFS mount point

hi all i have mounted one nfs mount point but i has no write permission on it. when i am going to make a directory it is giving an error # mkdir 1 mkdir: Failed to make directory "1"; Permission denied i shared using command # share -F nfs -o rw -d "backup" /backup mounted using... (3 Replies)
Discussion started by: nikhil kasar
3 Replies

9. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

10. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
Event::RPC::Client(3pm) 				User Contributed Perl Documentation				   Event::RPC::Client(3pm)

NAME
Event::RPC::Client - Client API to connect to Event::RPC Servers SYNOPSIS
use Event::RPC::Client; my $rpc_client = Event::RPC::Client->new ( #-- Required arguments host => "localhost", port => 5555, #-- Optional arguments classes => [ "Event::RPC::Test" ], class_map => { "Event::RPC::Test" => "My::Event::RPC::Test" }, ssl => 1, timeout => 10, auth_user => "fred", auth_pass => Event::RPC->crypt("fred",$password), error_cb => sub { my ($client, $error) = @_; print "An RPC error occured: $error "; $client->disconnect; exit; }, ); $rpc_client->connect; #-- And now use classes and methods to which the #-- server allows access via RPC, here My::TestModule #-- from the Event::RPC::Server manpage SYNPOSIS. my $obj = My::TestModule->new( data => "foobar" ); print "obj says hello: ".$obj->hello." "; $obj->set_data("new foobar"); print "updated data: ".$obj->get_data." "; $rpc_client->disconnect; DESCRIPTION
Use this module to write clients accessing objects and methods exported by a Event::RPC driven server. Just connect to the server over the network, optionally with SSL and user authentication, and then simply use the exported classes and methods like having them locally in the client. General information about the architecture of Event::RPC driven applications is collected in the Event::RPC manpage. The following documentation describes the client connection options in detail. CONFIGURATION OPTIONS
You need to specify at least the server hostname and TCP port to connect a Event::RPC server instance. If the server requires a SSL connection or user authentication you need to supply the corresponding options as well, otherwise connecting will fail. All options described here may be passed to the new() constructor of Event::RPC::Client. As well you may set or modify them using set_OPTION style mutators, but not after connect() was called! All options may be read using get_OPTION style accessors. REQUIRED OPTIONS These are necessary to connect the server: server This is the hostname of the server running Event::RPC::Server. Use a IP address or DNS name here. port This is the TCP port the server is listening to. NETWORK OPTIONS timeout Specify a timeout (in seconds), which is applied when connecting the server. CLASS IMPORT OPTION classes This is reference to a list of classes which should be imported into the client. You get a warning if you request a class which is not exported by the server. By default all server classes are imported. Use this feature if your server exports a huge list of classes, but your client doesn't need all of them. This saves memory in the client and connect performance increases. class_map Optionally you can map the class names from the server to a different name on the local client using the class_map hash. This is necessary if you like to use the same classes locally and remotely. Imported classes from the server are by default registered under the same name on the client, so this conflicts with local classes named identically. On the client you access the remote classes under the name assigned in the class map. For example with this map class_map => { "Event::ExecFlow::Job" => "_srv::Event::ExecFlow::Job" } you need to write this on the client, if you like to create an object remotely on the server: my $server_job = _srv::Event::ExecFlow::Job->new ( ... ); and this to create an object on the client: my $client_job = Event::ExecFlow::Job->new ( ... ); The server knows nothing of the renaming on client side, so you still write this on the server to create objects there: my $job = Event::ExecFlow::Job->new ( ... ); SSL OPTION If the server accepts only SSL connections you need to enable ssl here in the client as well: ssl Set this option to 1 to encrypt the network connection using SSL. AUTHENTICATION OPTIONS If the server requires user authentication you need to set the following options: auth_user A valid username. auth_pass The corresponding password, encrypted using Perl's crypt() function, using the username as the salt. Event::RPC has a convenience function for generating such a crypted password, although it's currently just a wrapper around Perl's builtin crypt() function, but probably this changes someday, so better use this method: $crypted_pass = Event::RPC->crypt($user, $pass); If the passed credentials are invalid the Event::RPC::Client->connect() method throws a correspondent exception. ERROR HANDLING Any exceptions thrown on the server during execution of a remote method will result in a corresponding exception on the client. So you can use normal exception handling with eval {} when executing remote methods. But besides this the network connection between your client and the server may break at any time. This raises an exception as well, but you can override this behaviour with the following attribute: error_cb This subroutine is called if any error occurs in the network communication between the client and the server. The actual Event::RPC::Client object and an error string are passed as arguments. This is no generic exception handler for exceptions thrown from the executed methods on the server! If you like to catch such exceptions you need to put an eval {} around your method calls, as you would do for local method calls. If you don't specify an error_cb an exception is thrown instead. METHODS
$rpc_client->connect This establishes the configured connection to the server. An exception is thrown if something goes wrong, e.g. server not available, credentials are invalid or something like this. $rpc_client->disconnect Closes the connection to the server. You may omit explicit disconnecting since it's done automatically once the Event::RPC::Client object gets destroyed. READY ONLY ATTRIBUTES
$rpc_client->get_server_version Returns the Event::RPC version number of the server after connecting. $rpc_client->get_server_protocol Returns the Event::RPC protocol number of the server after connecting. $rpc_client->get_client_version Returns the Event::RPC version number of the client. $rpc_client->get_client_protocol Returns the Event::RPC protocol number of the client. AUTHORS
Joern Reder <joern at zyn dot de> COPYRIGHT AND LICENSE
Copyright (C) 2002-2006 by Joern Reder, All Rights Reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-06 Event::RPC::Client(3pm)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy