automounting file systems on HP-UX

Posted on 2011-05-05
Last Modified: 2012-08-13
Hi folks,

How do I create automounts? Is it just the /etc/fstab file that needs to be updated, or is there more to it?

linuxserver – all the source file systems are on this box
(all have been exported)

hpserver – where I need to implement NFS mounts for the source file systems on linuxserver
(all mount points have been created on hpserver)

I need to mount on hpserver the filesystem /rmfmnt/BWS/profile that resides on linuxserver.

Thanks in advance!

Question by:sonriks
    LVL 38

    Assisted Solution

    Configuring and Administering AutoFS:
    LVL 38

    Accepted Solution

    > mount on hpserver the filesystem /rmfmnt/BWS/profile that resides on linuxserver.
    For manual mount:
    1. export out filesystem on linux server (as root)
    # echo "/rmfmnt/BWS/profile  *(rw)"  >> /etc/exports
    # exportfs -a
    # service nfs restart    <=== make sure nfs server is running in linux server

    2. create mount point on HP-UX (as root)
    # mkdir -p /nfs-mount/BWS/profile

    3. test mount on HP-UX
    # mount <linux hostname or IP>:/rmfmnt/BWS/profile  /nfs-mount/BWS/profile

    if everything ok, then on HP-UX
    # echo "<linux hostname>:/rmfmnt/BWS/profile   /nfs-mount/BWS/profile  nfs  rw  0 0" >> /etc/fstab
    LVL 1

    Author Closing Comment


    I appreciate you showing me both ways to accomplish this! Thanks for the prompt response!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    760 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

    15 Experts available now in Live!

    Get 1:1 Help Now