HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performing NFS Mount to HP-UX 11 from Linux 7.1
Operating System - HP-UX
1830044
Members
6694
Online
109998
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 08:57 AM
09-19-2001 08:57 AM
Performing NFS Mount to HP-UX 11 from Linux 7.1
I have set up a virtual machine on an NT 4.0 Box, and it is running Linux 7.1. I need to be able to access the file system on the HP server. I am attempting to do this using NFS mount. Does anyone know how to set this up correctly, or where I can get some info on how to perform this ?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 09:47 AM
09-19-2001 09:47 AM
Re: Performing NFS Mount to HP-UX 11 from Linux 7.1
Hi Michael,
For example you are trying to mount /home from hp to linux.
On HP side
add line in file /etc/exports
/home (This will gives rw acess to everyone)
#/usr/sbin/exportfs -va
(Export all file systems listed on /etc/exports)
#/usr/sbin/showmount -e (to see what is exported from this system)
On linux system
#cd /
#mkdir tmp_mnt (you can give anyname you want)
#mount hpserver:/home /tmp_mnt
And it is done.
If you want this to mount at boot time edit /etc/fstab file.
This is hard mount. If you want to use automounter then there are couple files involve. I don't know how it works in 7.1 but in 6.2
#vi /etc/auto.master
/auto /etc/autofs/auto.hosts --timeout 60
#vi /etc/autofs/auto.hosts
tmp_mnt -fstype=autofs file:/etc/autofs/hpname.auto
#vi /etc/autofs/hpname.auto
home -rw,suid,soft,intr hpservername:/home
And start the autofs
#/etc/rc.d/init.d/autofs start
Sachin
For example you are trying to mount /home from hp to linux.
On HP side
add line in file /etc/exports
/home (This will gives rw acess to everyone)
#/usr/sbin/exportfs -va
(Export all file systems listed on /etc/exports)
#/usr/sbin/showmount -e (to see what is exported from this system)
On linux system
#cd /
#mkdir tmp_mnt (you can give anyname you want)
#mount hpserver:/home /tmp_mnt
And it is done.
If you want this to mount at boot time edit /etc/fstab file.
This is hard mount. If you want to use automounter then there are couple files involve. I don't know how it works in 7.1 but in 6.2
#vi /etc/auto.master
/auto /etc/autofs/auto.hosts --timeout 60
#vi /etc/autofs/auto.hosts
tmp_mnt -fstype=autofs file:/etc/autofs/hpname.auto
#vi /etc/autofs/hpname.auto
home -rw,suid,soft,intr hpservername:/home
And start the autofs
#/etc/rc.d/init.d/autofs start
Sachin
Is photography a hobby or another way to spend $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:41 AM
09-19-2001 10:41 AM
Re: Performing NFS Mount to HP-UX 11 from Linux 7.1
Hi Michael,
The procedure Sachin gave would allow you to mount a HP filesystem onto linux, but from what i understand you are trying to do the reverse, mount a filesystem from your linux machine onto the HP.
On your linux machine do
chkconfig --list |egrep "nfs|portmap"
By default the init level is 3, so the above command should say on for on for nfs,nfslock and portmap(this would start daemons on reboots).
But in any case you can start them manually
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfslock start
/etc/rc.d/init.d/nfs start
Also update your /etc/exports on your linux machine to
/exported/dir hphost(rw)
once you save the file, run exportfs -a
now on your hp machine
you should be able to mount the filesystem.
BTW, There is an excellent HOW-TO to set up your linux box as an NFS-Server.
http://www.linuxdoc.org/HOWTO/NFS-HOWTO/server.html
-HTH
Ramesh
The procedure Sachin gave would allow you to mount a HP filesystem onto linux, but from what i understand you are trying to do the reverse, mount a filesystem from your linux machine onto the HP.
On your linux machine do
chkconfig --list |egrep "nfs|portmap"
By default the init level is 3, so the above command should say on for on for nfs,nfslock and portmap(this would start daemons on reboots).
But in any case you can start them manually
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfslock start
/etc/rc.d/init.d/nfs start
Also update your /etc/exports on your linux machine to
/exported/dir hphost(rw)
once you save the file, run exportfs -a
now on your hp machine
you should be able to mount the filesystem.
BTW, There is an excellent HOW-TO to set up your linux box as an NFS-Server.
http://www.linuxdoc.org/HOWTO/NFS-HOWTO/server.html
-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP