HP-UX nfs problem

Posted on 2011-10-06
Last Modified: 2013-12-06
Hii all,
I have 2 HP-UX servers. Server1 is HP-UX 11.11.  Server2 is new HP-UX 11.31.
On Server2, I enter SAM and share a local filesystem /d01.
On Server1, I enter SAM and mount Server2 remote filesystem as /rd01
However, on server1 I only can read the /rd01. When I try to create directory, it shows Read-only file system.
May I know how to configure it correctly so that /rd01 can be full access?

Question by:generait
    LVL 38

    Expert Comment

    Check your HP box you make your you have setup the export permissions correctly
    (check /etc/exports file), to make sure you allow root access from the NFS client.

    man exports
    to learn more details.

    or have a look at

    also have a look at:
    LVL 9

    Expert Comment

    if only root has this problem, add 'no_root_squash' to the options of the export. If any user has problem, then you're likely to be either exporting or mounting the system read-only, so you need to check both export and mount options.

    Accepted Solution

    Finally I found the problem was due to missing /etc/nsswitch.conf in the nfs server
    After manually create this file, the access problem is solved.

    Author Closing Comment

    Problem solved after manually add /etc/nsswitch.conf file
    LVL 38

    Expert Comment

    Hi generait,

         Good to know you have found the solution fot the problem, please PAQ/ refund and close the question.

         Have a nice weekend to all of you!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now