help linking directory from a hp to a solaris


 
Thread Tools Search this Thread
Operating Systems Solaris help linking directory from a hp to a solaris
# 1  
Old 08-25-2005
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
# 2  
Old 08-25-2005
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.
# 3  
Old 08-25-2005
thanks
I will try
# 4  
Old 08-25-2005
Perderabo

it works fine
Thank you very much
raulb
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Linking problem

Hi! We recently updated the server (server is a big word, it's really just a desktop with Ubuntu that we access with ssh) on which we compile our code. Since the update my code won't compile. The linker is complaining about missing references from almost all .so that I'm linking from. It... (0 Replies)
Discussion started by: philippevk
0 Replies

2. Programming

Database Linking

Hey, i cant seem to find #include<sqlite3> in the libraries, even after installing sqlite3 in linux. how do i solve this problem (1 Reply)
Discussion started by: gregarion
1 Replies

3. Solaris

g++ linking problem...

I use Solaris 10, compiling with a custom g++ (3.4.6) and GNU binutils (2.17). Things have gone well on two different systems, but when I tried moving to a third, it all fell over. Basically, it is now using the CC linker, but I need to use options not available to it. I believe I have found the... (0 Replies)
Discussion started by: Elric of Grans
0 Replies

4. UNIX for Dummies Questions & Answers

is linking possible?

how would i link 2 files together? is it the same as copying? (1 Reply)
Discussion started by: trob
1 Replies

5. Shell Programming and Scripting

Query in linking

Hey guys, i have written the folowing grep command to find an ip address from various files and now i have to find the reverse DNS for it. I wanted to do it via nslookup or host does someone have any clue about how to do it? what i tried was grep -o... (2 Replies)
Discussion started by: snake450
2 Replies

6. Solaris

linking in solaris9

at the end of the compilation in solaris 9. it is showing link error. like..... ld: fatal: library -lgthread-2.0 not found failed to create the binary the library is in /usr/lib and in /usr/local/lib the lib file is present --->libgthread.2.0.so ......etc if i remove... (3 Replies)
Discussion started by: biswajithit
3 Replies

7. Programming

Linking with gcc

Forgive as I am new to the gcc compiler and to linux. I am trying to compile/link a program for the first time and am receiving an error complaining about the crtbegin.o file. I use the -v option and get the following: Using built-in specs. Configured with: ../configure --enable-threads=posix... (1 Reply)
Discussion started by: jbeauchamp
1 Replies

8. Programming

Linking problem while linking to shared library

Hi I'm getting ld: fatal: option -h and building a dynamic executable are incompatible ld: fatal: Flags processing errors When I run ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o after running gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c I'm... (6 Replies)
Discussion started by: laho
6 Replies

9. UNIX Desktop Questions & Answers

Linking Directories...

Hi there, I am very new to UNIX. Currently, I am running Mac OS X. I set up a FTP server on my computer so that I can transfer files back and forth between my computer at home and at work. All my data and files are located in a directory in another drive, but when I log in, I would be in my... (3 Replies)
Discussion started by: floppiless
3 Replies
Login or Register to Ask a Question