Sponsored Content
Full Discussion: Unable to create a SPOT
Operating Systems AIX Unable to create a SPOT Post 302927659 by bakunin on Thursday 4th of December 2014 10:56:41 AM
Old 12-04-2014
Quote:
Originally Posted by trivium012
So I'm guessing I really do have an NFS problem, but I have no idea how to troubleshoot this problem...
Again, you shouldn't (and need not) export anything by hand when you use NIM. Your exports file shows that a lot of directories are exported already. Some of them are probably exported by allocating NIM resources to machines, but some may be exported by hand.

If you use the NIM server alone or get some downtime for it: deallocate all resources at the NIM-server, then remove everything "/nim/..." (which i presume to be the root for your NIM resources) from the exports file. Always deallocate with the "force" option (otherwise that fails most of the times).

You might want to use something like:

Code:
lsnim -t standalone | while read system junk ; do
     nim -o reset -a force=yes $system
     nim -Fo deallocate -a subclass=all $system
done

Only then allocate resources again. These (and ONLY these) should appear in the exports file.

Next thing is to check the client you test with if the NIM connection is working. Quite often this is the problem. If you use "nimsh" check if the nimsh service is running on the client, otherwise you need a running rsh:

Code:
root@client # lssrc -g nimclient
 nimsh            nimclient        5505154      active

Now test this by placing a simple script (just put a "date" command into it, is enough) in "/nimres/scripts" (or somewhere, this is how i call the directory), add a nim resource of the type "script" and let it point to the script. Then test the client by

Code:
nim -o cust -a script=<scriptname> <client>

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. AIX

Unable to create a group

Hi, I'm trying to create a new group on an AIX 5.2.0.0. server but am getting the following error: root:/root $ mkgroup debt 3004-698 Error committing changes to "debt" : Value is invalid. I've change the group name to no affect. Does anyone have any ideas what could be causing this? ... (0 Replies)
Discussion started by: m223464
0 Replies

2. Solaris

unable to create flar

Hello friend, Now i'm doing JDS3.1 in v440 servers.while checking the lustatus command getiing out like this lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- --------... (0 Replies)
Discussion started by: rjay.com
0 Replies

3. UNIX for Dummies Questions & Answers

Unable to create alias

I am using Solaris 9 machine. I am unable to create any aliases. I gave the following command: alias ls='ls -ltr' It did nt give any errors. But next time, I use ls, it is working simply as ls but not like ls -ltr. I am not having admin permissions. Is it the reason. (3 Replies)
Discussion started by: mumashankar
3 Replies

4. UNIX for Dummies Questions & Answers

Unable to create a bootable tape

Good morning, I have no unix training. My daily backup failed with the following error. ' Cannot create /tmp/tape.bootimage because it already exists. I am using smit to run a rootvg and SAPvg backup. What should I do? (1 Reply)
Discussion started by: ubyankees
1 Replies

5. HP-UX

Need help. Unable to create threads after a certain number

Hi, I have a process which creates pthreads to generate some reports. After creating the reports these threads return null. But after 1024 threads, the process is not able to create any threads further.,and at max 5 threads are existing simultaneously and are returning the control back after... (2 Replies)
Discussion started by: Krsh
2 Replies

6. Solaris

Unable to create folder as a user

Hi All, I am trying to create a folder in /export/home/user1 directory as a user1 but I am getting the error message as -bash-3.00$ mkdir abc mkdir: Failed to make directory "abc"; Permission denied Also I tried creating the folder but it fails too -bash-3.00$ touch abc touch: cannot... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

7. Red Hat

unable to open / create any file in vi

Hi, I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5, example vi test it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies

8. AIX

Unable to Create spot from mksysb

Hello All, Kindly need help in my problem i.e. I get this error when i create spot from mksysb. #0042-001 nim: processing error encountered on "master": 0042-001 m_mkspot: processing error encountered on "master": 0042-175 c_mkspot: An unexpected result was returned by the... (2 Replies)
Discussion started by: emerann
2 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Unable to create new thread

Hi. I registered, but when trying to post, I get ... "Sorry, you do not have enough Bits to post a new thread" Google & Forum search showed some hits, but no solution. Please advide. Thanks! (1 Reply)
Discussion started by: gehe
1 Replies

10. Solaris

Unable to create a ftp user only

Hi all I am facing difficulties when using the useraddcommand. when running useradd -u 60006 -g 100 -d /opt/xxx/yyy/z -m -s /bin/false ftpuser It does create the user, but with a wrong home directory. It creates its home directory at /home/ftpuser Please can you help? (2 Replies)
Discussion started by: fretagi
2 Replies
exportfs(2nfs)															    exportfs(2nfs)

Name
       exportfs - exports an NFS file system

Syntax
       #include <sys/mount.h>
       exportfs(name, rootuid, exflags)
       char *name;
       int rootuid, exflags;

Description
       The  system  call  allows the specified local file system to be mounted remotely by an NFS client.  This system call is usually called from
       Security on the exported file systems can be improved by setting the root mapped user ID, rootuid, and two mount structure  flags,  exflags
       for the local file system, name.

       The name argument is a pointer to a null-terminated string containing the path name of the file system being exported.

       The rootuid argument is used to set the user ID that root maps to.  By default, root maps to user id -2.

       The  exflags argument contains the flags that are to be set in the mount structure corresponding to name.  The following flags are the only
       possible flags accepted by
       #define M_NOFH	       0x1000	       /* no fhandle flag */
       #define M_EXRONLY       0x2000	       /* export read-only */

       Setting the M_NOFH flag does not allow access to the fhandle of the file system's root gnode.  The M_EXRONLY flag exports a filesystem read
       only.

       The system call returns a value of 0 upon successful completion of a operation, and -1 upon failure.

Diagnostics
       [EPERM]	      Not superuser.

       [EIO]	      Not enough memory in the system to service the request.

       [EFAULT]       Bad address or bad length of name.

       [ENOENT]       The name cannot be found.

See Also
       exports(5nfs), mountd(8nfs)

																    exportfs(2nfs)
All times are GMT -4. The time now is 04:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy