LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-23-2004, 10:56 AM   #1
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Rep: Reputation: 15
exporting home directory with NFS and NIS


I cannot export the home directory from my file server to client PC's.

So far I have the following working:
-Slackware 9.1 working on all machines
-NFS server and client works fine.
-NIS Server and client work file for authenticating user and passwords

in order to export the home directories I have tried the following:
ON SERVER

1) bash-2.05b# cat /etc/auto.master
#auto.master - master map file for NFS and NIS
/export /etc/auto.export --timeout 60

2) bash-2.05b# cat /etc/auto.export
#auto.export - NFS Automounter config file
#Home directories
home -fstype=nfs servername:/export/home

3) bash-2.05b# cat /etc/exports
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.

/home 192.168.0.21(rw,async,root_squash)


ON CLIENT
I put 1) & 2) above on the client as well

Any suggestions will be helpful
Thanks
-C
 
Old 12-23-2004, 11:04 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Any errors? What do your logs tell you? Is portmap running on the clients? What about autofs, is it running as well?

Better details please or more details that is!
 
Old 12-23-2004, 11:11 AM   #3
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Original Poster
Rep: Reputation: 15
no errors,
portmap is running, otherwise I wouldnot be able to use NFS to mount files and directories.

The autofs - thats where the problem lies. I havne't seem much documentaion about autofs and Slackware.

I know the packages are available - I have autofs 3.1.7
but I don't think its running or maybe I don't know how to get it to run. I thought it was a feature that comes with most kernels.

Heres a view of my processes:
bash-2.05b# ps -ax
PID TTY STAT TIME COMMAND
1 ? S 0:04 init
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:00 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
10 ? SW< 0:00 [mdrecoveryd]
11 ? SW 0:00 [kreiserfsd]
42 ? SW 0:00 [kapmd]
141 ? SW 0:00 [eth0]
157 ? S 0:00 /sbin/dhcpcd -t 10 -d eth0
167 ? SW 0:00 [khubd]
1365 ? S 0:00 /usr/sbin/syslogd
1368 ? S 0:00 /usr/sbin/klogd -c 3 -x
1397 ? S 0:00 /usr/sbin/inetd
1400 ? S 0:00 /usr/sbin/sshd
1410 ? S 0:00 /sbin/rpc.portmap
1413 ? S 0:00 /usr/sbin/rpc.rquotad
1415 ? SW 0:00 [nfsd]
1416 ? SW 0:00 [nfsd]
1417 ? SW 0:00 [nfsd]
1418 ? SW 0:00 [lockd]
1419 ? SW 0:00 [rpciod]
1420 ? SW 0:00 [nfsd]
1421 ? SW 0:00 [nfsd]
1422 ? SW 0:00 [nfsd]
1423 ? SW 0:00 [nfsd]
1424 ? SW 0:00 [nfsd]
1426 ? S 0:00 /usr/sbin/rpc.mountd
1429 ? S 0:00 /usr/sbin/rpc.statd
1443 ? S 0:00 /usr/sbin/cupsd
1457 ? S 0:00 /usr/sbin/crond -l10
1459 ? S 0:00 /usr/sbin/atd -b 15 -l 1
1463 ? S 0:00 /usr/sbin/apmd
1470 ? S 0:00 /usr/sbin/gpm -m /dev/mouse -t imps2
1472 tty1 S 0:00 -bash
1473 tty2 S 0:00 /sbin/agetty 38400 tty2 linux
1474 tty3 S 0:00 /sbin/agetty 38400 tty3 linux
1475 tty4 S 0:00 /sbin/agetty 38400 tty4 linux
1476 tty5 S 0:00 /sbin/agetty 38400 tty5 linux
1477 tty6 S 0:00 /sbin/agetty 38400 tty6 linux
1488 tty1 S 0:00 /bin/sh /usr/X11R6/bin/startx -- -nolisten tcp
1501 tty1 S 0:00 xinit /export/home/jackb24/.xinitrc -- /usr/X11R6/bin 1502 ? RL 0:11 /usr/X11R6/bin/X :0 -nolisten tcp
1506 tty1 S 0:00 gnome-session
1509 tty1 S 0:01 /usr/libexec/gconfd-2 5
1514 ? S 0:00 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 17
1516 ? S 0:00 /usr/libexec/bonobo-activation-server --ac-activate - 1518 ? S 0:00 gnome-smproxy --sm-client-id default0
1520 ? S 0:00 gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME 1529 ? S 0:00 xscreensaver -nosplash
1539 ? S 0:00 metacity --sm-client-id=default1
1545 ? S 0:00 gnome-panel --sm-client-id default2
1547 ? S 0:00 nautilus --no-default-window --sm-client-id default3
1555 ? S 0:00 /usr/libexec/mapping-daemon
1557 ? S 0:00 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID: 1559 ? S 0:00 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GN 1561 ? S 0:00 gnome-terminal
1562 ? S 0:00 gnome-pty-helper
1563 pts/0 S 0:00 bash
1566 pts/0 S 0:00 bash
1572 ? S 0:00 ypserv
1790 ? S 0:00 /bin/sh /usr/src/firefox-installer/firefox
1803 ? S 0:00 /bin/sh /usr/src/firefox-installer/run-mozilla.sh /us 1808 ? S 0:10 /usr/src/firefox-installer/firefox-bin
1818 ? S 0:00 /bin/sh /usr/src/thunderbird/thunderbird
1831 ? S 0:00 /bin/sh /usr/src/thunderbird/run-mozilla.sh /usr/src/ 1836 ? S 0:06 /usr/src/thunderbird/thunderbird-bin
1869 pts/0 R 0:00 ps -ax
 
  


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
automount home directories with information from Active Directory (or NIS) alex r Linux - Software 5 08-30-2006 11:05 AM
.forward file not working for user having it's home directoryon NFS mounted directory skverma_in Linux - General 0 02-14-2005 03:54 AM
exporting one NFS folder to another NFS and exporting it.... stellarmarine1 Linux - Networking 3 09-20-2004 07:54 AM
RH9 NIS login error: "home directory does not exist" airrr Linux - Networking 2 08-06-2003 02:47 PM
NIS/NFS and sharing home directories grebo Linux - Networking 1 09-22-2001 12:21 AM

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

All times are GMT -5. The time now is 12:32 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
Open Source Consulting | Domain Registration