LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2005, 04:00 PM   #1
brow27
LQ Newbie
 
Registered: May 2004
Location: Idaho
Distribution: Red Hat 9.0
Posts: 6

Rep: Reputation: 0
Trouble mounting /net shares on Suse (NLD)


Our small office is running a Linux network using Fedora2/RH9 clients. We use NIS, AMD, and NFS. We use AMD to mount home directories and server directories to a local directory, and this goes through /net. It works just fine.

We now have a need to install Novell Linux Desktop (NLD/SuSE) and are running into some major issues trying to mount what we need to.

To start, NLD does not have amd. I downloaded and installed am-utils, after having to install gcc, make, yacc, and flex. It did not put amd into /etc/init.d, nor did it put the binary for amd in the place I usually see it on other systems (both NLD and RH9). I am using our amd.conf file which defines all the necessary info/mount points. If I issue the 'amq -m' command, it shows the map points, and no error messages. However trying to cd to the mount points it gives 'directory could not be found' errors.

As for YP, after a little bit of configuration I got it to work just fine. I can ypcat the amd.home, passwd, group, etc files from the NIS server.

NFS seems to be a possible (or at least partial) cause of the problem. At startup I get a "services skipped in runlevel 5: nfs" .. If I try to start nfs manually, I get the message: Import Net File System (NFS) -- unused. The only way I've been able to get NFS started is by manually setting up a mount with the NFS Client in YaST. Even when NFS is running though, as well as AMD and NIS, the /net folder sees nothing.

None of this may make sense, so I'll try to get a bit more in-depth:

The NIS server is <nis server>
The Suse box I'm on is <suse box>
The file server I need to mount to <fileserver>
The red hat box I have that works fine is <redhat>

Here is the amd.conf file located in /etc/ on both <redhat> and <suse box>
Code:
[ global ]
normalize_hostnames =   no
print_pid =             yes
pid_file =              /var/run/amd.pid
restart_mounts =        yes
auto_dir =              /.automount
log_file =              /var/log/amd
#log_file =             syslog
log_options =           all
#debug_options =        all
plock =                 no
selectors_on_default =  yes
print_version =         no
# set map_type to "nis" for NIS maps, or comment it out to search for all
# types
map_type =              nis
search_path =           /etc
browsable_dirs =        no
show_statfs_entries =   no
fully_qualified_hosts = no
cache_duration =        300

# DEFINE AN AMD MOUNT POINT
[ /net ]
map_name =              amd.net
map_type =              file

[ /home ]
map_name =              amd.home
map_type =              nis

[ /projects ]
map_name =              amd.projects
map_type =              nis
On <redhat> the directories /projects and /home mount just fine, and I can cd to the directories defined in amd.home and amd.projects.

Now, amd.home and amd.projects reside on <nis server>.

Here is the amd.home file:

Code:
<user>  host==<redhat>;type:=link;fs:=/local/home/<user> \ host!=<redhat>;type:=link;fs:=/net/<redhat>/local/home/<user>
Here is the amd.projects file
Code:
<path1>  host==<fileserver>;type:=link;fs:=/raid/<dir1> \ host!=<fileserver>;type:=link;fs:=/net/<fileserver>/raid/<dir1>
So as you can see, amd mounts /projects and /home via /net. The problem is, regardless of having NIS, NFS, and AMD running, I cannot access anything under /net.

If I am on <redhat>, I can go to /net and cd to <path1> just fine.

If I am on <suse box>, I can go to /net, but I cannot cd to any path (including <path1>)


I got this to work momentarily yesterday, but it quit working after I rebooted, and I ended up reinstalling SuSE again today.

I'm really pretty stumped right now, can anyone offer me any help/suggestions? Thanks in advance.
 
  


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
Can't get NIC working in NLD 9 (SuSE 9.1) archangelnix SUSE / openSUSE 0 07-29-2005 05:35 PM
where is bashrc on SuSE 9.2 and NLD 9 mking007 SUSE / openSUSE 2 01-23-2005 11:18 PM
mounting smb shares in Suse 9.2 BlankFrank SUSE / openSUSE 6 01-23-2005 06:32 PM
trouble mounting samba shares flynnhandley Linux - Software 5 07-01-2004 11:19 AM
suse 9.0, trouble mounting ntfs mdemers883 Linux - Distributions 7 01-25-2004 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:47 PM.

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
Open Source Consulting | Domain Registration