LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2008, 09:20 AM   #1
philosophia
Member
 
Registered: Jun 2006
Posts: 54

Rep: Reputation: 15
Map directory


What is the best way to map the /var/rob directory on a solaris machine to the /srv/bob directory on a rhel 5 linux machine? I have root permissions on the machines but I'm probably not able to install additional software at this time. Thanks.
 
Old 03-07-2008, 10:32 AM   #2
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Quote:
Originally Posted by philosophia View Post
What is the best way to map the /var/rob directory on a solaris machine to the /srv/bob directory on a rhel 5 linux machine? I have root permissions on the machines but I'm probably not able to install additional software at this time. Thanks.
Use NFS. Its almost certainly installed on your solaris box.

As root add the following line to a file called "/etc/dfs/dfstab"
share -F nfs -d "raid home dirs" /var/rob

Then as root try doing "exportfs -a" and then "exportfs"
It should list the /var/rob share.

Then go to the redhat box and try to mount.

As root do
mkdir /svr/bob
mount solarisbox.example.com:/var/rob /srv/bob

I have probably forgotten something important, so let me know
 
Old 04-15-2008, 04:35 PM   #3
philosophia
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by miedward View Post
Use NFS. Its almost certainly installed on your solaris box.

As root add the following line to a file called "/etc/dfs/dfstab"
share -F nfs -d "raid home dirs" /var/rob

Then as root try doing "exportfs -a" and then "exportfs"
It should list the /var/rob share.

Then go to the redhat box and try to mount.

As root do
mkdir /svr/bob
mount solarisbox.example.com:/var/rob /srv/bob

I have probably forgotten something important, so let me know

I tried this, it seems to hang when I run the 'mount solarisbox...' command. Any ideas?
 
Old 04-16-2008, 10:14 AM   #4
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
I assume you replaced solarisbox.example.com with a name which your linux box can resolve? Also, try turning off the firewall on both your solaris box and linux box, if there is one, while you are testing. Then if that helps, you can try playing with the firewall later.

Also, google for nfs troubleshooting, theres some fairly good stuff around for helping set up nfs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Partition map has no partition map entry!" aquaboot Debian 3 01-09-2007 07:52 AM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 07:49 AM
Do you have a System.map in your / directory? davidas Debian 1 04-05-2004 11:38 AM
How do I map device serial number to its mount point directory? vagrawal Linux - Software 1 03-11-2004 01:25 AM
Starting YP Map server: execvp: no such file or directory kofi Linux - Networking 3 10-07-2003 10:27 PM


All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration