automount error
Phineas Fung
phineas_fung at hotmail.com
Mon Jul 10 16:53:05 UTC 2006
Hi Mauricio,
Thanks for your reply.
No, I'm not using NIS or DNS to export hosts names. (or at least I didn't
know how to configure => so I persume I didn't set them)
> Are you using NIS to export the hosts names? Or just using DNS?
[root at localhost yffung]# less /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
#/smb /etc/auto.smb
/net /etc/auto.net
> What does it says the file /etc/auto.master?
[root at localhost yffung]# less /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
/dev/VolGroup00/LogVol04 /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
/dev/VolGroup00/LogVol02 /data ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/VolGroup00/LogVol03 /home ext3 defaults 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
> Or the /etc/fstab (If you use the automount line overthere)
[root at localhost yffung]# host sf
Host sf not found: 3(NXDOMAIN)
> What does it says the command "host sf"?
[root at localhost yffung]# mount /net/sf
mount: can't find /net/sf in /etc/fstab or /etc/mtab
> And what happens if you try to mount that dir by using the "mount"
command?
Thanks alot.
Best Regards,
Phineas
More information about the users
mailing list