[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

automounting file systems on HP-UX

Posted on 2011-05-05
3
Medium Priority
?
452 Views
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?

Example:
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!

0
Comment
Question by:sonriks
  • 2
3 Comments
 
LVL 38

Assisted Solution

by:wesly_chen
wesly_chen earned 2000 total points
ID: 35702278
Configuring and Administering AutoFS:
http://docs.hp.com/en/B1031-90043/ch02s04.html
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 2000 total points
ID: 35702321
> 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
0
 
LVL 1

Author Closing Comment

by:sonriks
ID: 35702387
Wesly,

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

Sonriks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month19 days, left to enroll

834 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