歡迎您光臨本站 註冊首頁

求助貼。autofs掛載不上。

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

求助貼。autofs掛載不上。

請版本原諒,發這個貼子,我試了N次也沒有成功。
操作系統是centos5
autofs版本號是autofs-5.0.1-0.rc2.88
auto.misc配置文件:
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

# the following entries are samples to pique your imagination
#linux          -ro,soft,intr           ftp.example.org:/pub/linux
#boot           -fstype=ext2            :/dev/hda1
#floppy         -fstype=auto            :/dev/fd0
#floppy         -fstype=ext2            :/dev/fd0
#e2floppy       -fstype=ext2            :/dev/fd0
#jaz            -fstype=ext2            :/dev/sdc1
#removable      -fstype=ext2            :/dev/hdd
win             -fstype=smbfs,username=administrator%    ://192.168.0.7/e
autofs          -fstype=smbfs,username=administrator%   ://192.168.0.7/autofs

日誌文件如下:
Oct  7 08:28:58 centos nmbd:   
Oct  7 08:28:58 centos nmbd:   Samba name server SAMBA is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.66
Oct  7 08:28:58 centos nmbd:   
Oct  7 08:28:58 centos nmbd:   *****
Oct  7 08:32:55 centos smbd: lib/util_sock.c:write_data(562)
Oct  7 08:32:55 centos smbd:   write_data: write failure in writing to client 192.168.0.108. Error Connection reset by peer
Oct  7 08:32:55 centos smbd: lib/util_sock.c:send_smb(761)
Oct  7 08:32:55 centos smbd:   Error writing 4 bytes to client. -1. (Connection reset by peer)
Oct  7 08:35:21 centos scim-bridge: Panel client has not yet been prepared
Oct  7 08:40:38 centos last message repeated 2 times


之前的日誌信息:
# tail /var/log/messages
Oct  7 07:44:23 centos automount: failed to mount /misc/autofs
Oct  7 07:47:10 centos scim-bridge: Panel client has not yet been prepared
Oct  7 07:49:33 centos smartd: System clock time adjusted to the past. Resetting next wakeup time.
Oct  7 07:57:26 centos hald: mounted /dev/scd0 on behalf of uid 0
Oct  7 07:58:23 centos hald: unmounted /dev/scd0 from '/media/ RHEL4-U4-i386-AS' on behalf of uid 0
Oct  7 08:07:33 centos yum: Installed: autofs - 1:5.0.1-0.rc2.88.i386
Oct  7 08:12:12 centos automount: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
Oct  7 08:12:18 centos automount: lookup_mount: lookup(file): key "autofs" not found in map
Oct  7 08:12:18 centos automount: lookup_mount: lookup(file): key "autofs" not found in map
Oct  7 08:13:56 centos automount: lookup_read_master: lookup(nisplus): cou

尋求幫助!!

[ 本帖最後由 fhquyh 於 2008-10-7 08:47 編輯 ]
《解決方案》

沒有用過它

你要實現自動掛載,可以用NFS啊。

[火星人 ] 求助貼。autofs掛載不上。已經有833次圍觀

http://coctec.com/docs/service/show-post-27171.html