09-19-2013
Problem about NFS to change the share folder at several servers.
All,
I re-wrote our scripts to speed-up the compiling time, original time is about 1hrs. now dispatch the sub task to different servers through SSH. Now my question is that:
If dispatch these tasks into the current server, there is no errors during compiling process.
If dispatch these tasks into different server, it will report the follow errors like that:
1. NFS file handle error
2. write NFS_share/out/xx/dd/ff/gg/hh/jj permission denied
Note that, each task will change its own xx's subdirs, no other task will change xx/, NFS_share/out is the same NFS directory for all servers mounted from the same NFS server.
How can this problem happen and how to fix it ?
Log as below:
bsptd_rrh8t_20_2500-cpl-135.251.123.223.log:CMake Error: : System Error: Permission denied
dhcp-cpl-135.251.123.222.log:Fatal error: can't create ssrv/CMakeFiles/ssrv.dir/vobs/linuxrru/usl/pltf/ssrv/FileHandle.o: Permission denied
launch-cpl-135.251.123.233.log:Fatal error: can't create bci/CMakeFiles/bci-objects_list.dir/vobs/linuxrru/usl/pltf/bci/bci_menu.o: Permission denied
lec-cpl-135.251.123.235.log:Scanning dependencies of target lec
rs485td_rrh8t_20_2500-cpl-135.251.124.111.log:CMake Error: : System Error: Permission denied
spitd_rrh8t_20_2500-cpl-135.251.124.112.log:CMake Error: : System Error: Permission denied
BR
Fei Xia Duan
Last edited by fduan001; 09-19-2013 at 01:00 AM..
10 More Discussions You Might Find Interesting
1. Solaris
Hello,
I'm doing a Perl script to parse the dfstab file and find dangerous configurations (rw to everyone, root access, etc). My question is, if I have a share command like this:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man
it means that the /usr/man is "rw" to everyone... (6 Replies)
Discussion started by: psimoes79
6 Replies
2. Solaris
Hi all,
I had share the server Gemini /u10 to the server Centaurus.
/etc/dfs/dfstab
share -F nfs -o root=centaurus /u10
My problem is:
in the server Gemini the the owner for /U10 is oracle:dba
but when in the server Centaurus, I am not able to change the owner become oracle:dba, it show... (8 Replies)
Discussion started by: SmartAntz
8 Replies
3. IP Networking
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
4. IP Networking
I have one machine "The server" ip: 192.168.1.1, it runs ubu 8.04(LTS) and - I have a folder (/shareme) that I want to share with other linux machines on my LAN.
- The server runs NFS server and common and portmap and so do the other machines on my LAN.
- The server has the export file with the... (2 Replies)
Discussion started by: fcron
2 Replies
5. AIX
I ‘m beginner on unix
I want to move an unix aix post 5.2 on distant site for use catia V4 with a foundation of data accommodated by a serveur windows 2003 and an environment accommodated on the serveur aix.
The computer was linked up by IP (122.0.0.8) with waiter 2003 (via NFS) and the waiter... (8 Replies)
Discussion started by: astiaous
8 Replies
6. Web Development
Hi,
I want to mount an NFS Shared folder on Windows XP to vxWorks.
There doesnt seem to be a problem with the sharing.
Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term:
hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies
7. UNIX and Linux Applications
HI
I would like to ask about my virtualbox 4.0.4 in my lucyd lynx box
My shared forlder isn't auto mount in my linux guest OS. And everytime i manually mount using command sudo mount -t vboxsf <shared_folder_name> <Guest_location> it throw an error msg "/sbin/mount.vboxsf: mounting failed... (1 Reply)
Discussion started by: jao_madn
1 Replies
8. Red Hat
Hi,
I have an NFS server, i want to mount that nfs share which is having around 500GB to my client system. But my client system doesnt have any free space, is it possible to mount that nfs share in my client.
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client.
Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Discussion started by: Rossdba
0 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT DEBIAN
dispatch_resume
dispatch_object(3) BSD Library Functions Manual dispatch_object(3)
NAME
dispatch_object -- General manipulation of dispatch objects
SYNOPSIS
#include <dispatch/dispatch.h>
void
dispatch_retain(dispatch_object_t object);
void
dispatch_release(dispatch_object_t object);
void
dispatch_suspend(dispatch_object_t object);
void
dispatch_resume(dispatch_object_t object);
void *
dispatch_get_context(dispatch_object_t object);
void
dispatch_set_context(dispatch_object_t object, void *context);
void
dispatch_set_finalizer_f(dispatch_object_t object, dispatch_function_t finalizer);
DESCRIPTION
Dispatch objects share functions for coordinating memory management, suspension, cancellation and context pointers. While all dispatch
objects are retainable, not all objects support suspension, context pointers or finalizers (currently only queues and sources support these
additional interfaces).
MEMORY MANGEMENT
Objects returned by creation functions in the dispatch framework may be uniformly retained and released with the functions dispatch_retain()
and dispatch_release() respectively.
The dispatch framework does not guarantee that any given client has the last or only reference to a given object. Objects may be retained
internally by the system.
SUSPENSION
The invocation of blocks on dispatch queues or dispatch sources may be suspended or resumed with the functions dispatch_suspend() and
dispatch_resume() respectively. The dispatch framework always checks the suspension status before executing a block, but such changes never
affect a block during execution (non-preemptive). Therefore the suspension of an object is asynchronous, unless it is performed from the
context of the target queue for the given object. The result of suspending or resuming an object that is not a dispatch queue or a dispatch
source is undefined.
Important: suspension applies to all aspects of the dispatch object life cycle, including the finalizer function and cancellation handler.
Therefore it is important to balance calls to dispatch_suspend() and dispatch_resume() such that the dispatch object is fully resumed when
the last reference is released. The result of releasing all references to a dispatch object while in a suspended state is undefined.
CONTEXT POINTERS
Dispatch queues and sources support supplemental context pointers. The value of the context pointer may be retrieved and updated with
dispatch_get_context() and dispatch_set_context() respectively. The dispatch_set_finalizer_f() specifies an optional per-object finalizer
function that is invoked asynchronously if the context pointer is not NULL when the last reference to the object is released. This gives the
application an opportunity to free the context data associated with the object.
The result of getting or setting the context of an object that is not a dispatch queue or a dispatch source is undefined.
SEE ALSO
dispatch(3), dispatch_group_create(3), dispatch_queue_create(3), dispatch_semaphore_create(3), dispatch_source_create(3)
Darwin May 1, 2009 Darwin