The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to tar a directory in a sun solaris? mmb SUN Solaris 7 05-19-2008 08:03 AM
Usage of /var/tmp/ directory on Solaris 10 patilmuragesh SUN Solaris 1 12-12-2007 08:31 AM
Linking problem while linking to shared library laho High Level Programming 6 03-16-2004 06:01 AM
Solaris-ksh: directory not found dangral UNIX for Dummies Questions & Answers 5 02-19-2004 11:12 AM
How to compress a directory on a Sun Solaris 5.7 ? sameerdes UNIX for Dummies Questions & Answers 4 08-22-2003 09:44 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-25-2005
Registered User
 

Join Date: Aug 2005
Posts: 5
Stumble this Post!
help linking directory from a hp to a solaris

I need to link a directory from a hp to a solaris machine
like mapping in windows
any suggestion will be apreciated
thanks
Raulb
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-25-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,449
Stumble this Post!
I will assume that the boxes are named hpbox and sunbox. You start on hpbox.

I will assume HP-UX 11i. Edit /etc/exports (create the file if it doesn't exist) and add a line to export the directory to the sunbox. Something like
/some/directory -rw=sunbox
Edit /etc/rc.config.d/nfsconf and make sure that NFS_SERVER=1. If it had been zero, run:
/sbin/init.d/nfs.server start
If it had been 1, just run:
exportfs -a

Now move to sunbox. Create a mountpoint:
mkdir -p /nfs/hpbox/directory
Add an entry to /etc/vfstab:
hpbox:/some/directory - /nfs/hpbox/directory nfs - yes rw
and then run
mount /nfs/hpbox/directory
to mount it.

I think I got this right... it's close anyway.
Reply With Quote
  #3 (permalink)  
Old 08-25-2005
Registered User
 

Join Date: Aug 2005
Posts: 5
Stumble this Post!
thanks
I will try
Reply With Quote
  #4 (permalink)  
Old 08-25-2005
Registered User
 

Join Date: Aug 2005
Posts: 5
Stumble this Post!
Perderabo

it works fine
Thank you very much
raulb
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0