- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: nfs problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-25-2010 01:31 AM
тАО03-25-2010 01:31 AM
nfs problem
I have one file system /hcl on host(APP)and i want to mount nfs it on another host(DB).
I have done following-
on Host APP
1 /sbin/init.d/nfs.core start
2 /sbin/init.d/nfs.server start
3 entry in /etc/exports file
on another Host DB
1 /sbin/init.d/nfs.core start
2 /sbin/init.d/nfs.client start
3 nfs DB:/hcl /hcl
but it is giving error like nfs not found
pls suggest me or tell me step by step procedure as i am new for hp-ux.
Rgds
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 01:35 AM
тАО03-25-2010 01:35 AM
Re: nfs problem
nfs DB:/hcl /hcl
are you trying to mount, I suppose u have to use mount.
which HPUX, which NFS version.
What are the entries in exports file.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 01:41 AM
тАО03-25-2010 01:41 AM
Re: nfs problem
if you like to start the nfs server, you should
edit the /etc/rc.config.d/nfsconf
NFS_SERVER="1"
exportfs -av ( for rebuild the exports )
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 01:53 AM
тАО03-25-2010 01:53 AM
Re: nfs problem
HPUX is 11.31
NFS version is 2 or 3
I have given 1 to NFS_SERVER=1
entries in exports file is-
/hcl -ro DB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 01:58 AM
тАО03-25-2010 01:58 AM
Re: nfs problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 02:35 AM
тАО03-25-2010 02:35 AM
Re: nfs problem
Try to use SAM on both machines. Clean up /etc/exports on APP and define /hcl as exported FS with SAM.
On DB try to mount this FS (also via SAM).
Sometimes this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 03:19 AM
тАО03-25-2010 03:19 AM
Re: nfs problem
On DB...
mount -F nfs /APP:/hcl /hcl
///on another Host DB
1 /sbin/init.d/nfs.core start
2 /sbin/init.d/nfs.client start
3 nfs DB:/hcl /hcl -->mount -F nfs APP:/hcl hcl
////
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2010 10:27 AM
тАО03-25-2010 10:27 AM
Re: nfs problem
The nfs procedures on HP-UX 11iv3, have changed compared to previous OSversions.
F.e the /etc/exports file is not used anymore, to export directories from the nfs-fileserver, and was replace by the file /etc/dfs/dfstab.
Also the syntax "inside" the /etc/dfs/dfstab file has changed, compared to the "syntax" used in the /etc/exports file.
Also the "exportfs -av" command, to export the "nfs-directories listed in the /etc/dfs/dfstab file on the nfs-fileserver", was replaced by the "shareall" command. (or "unshare" command to "unshare" the nfs-directories)
More about the nfs-differences between 11iv3 and previous 11i versions can be found in the
"HP-UX 11i Version 3 Release Notes
HP 9000 and HP Integrity Servers"
manual.
url :
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01922609/c01922609.pdf
page 225.
An example on how to export the /home directory of the nfs-server ronin, so that the nfs-client yakuza, can mount the directory as root.
nfs-server
ronin # vi /etc/dfs/dfstab
share -F nfs -o root=yakuza /home
ronin # shareall
ronin # showmount -a
ronin # shownmount -e
nfs-client
yakuza # mkdir /home_ronin
yakuza # mount ronin:/home /home_ronin
More examples of how to setup nfs , can be found in the,
"
HP-UX System Administrators Guide:
Routine Management Tasks
HP-UX 11i Version 3
"
, manual.
url :
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01916167/c01916167.pdf
page 147-148.
Greetz,
Chris