亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2806 | 回復: 4
打印 上一主題 下一主題

關(guān)于autofs 一些小問題? [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2011-06-23 14:26 |只看該作者 |倒序瀏覽
[root@localhost autofs]# cat /etc/auto.master|grep -v '#'
/var/autofs     /etc/auto.misc

[root@localhost autofs]# cat /etc/auto.misc|grep -v '#'   

/test           -rw,soft,intr           172.18.4.88:/user/

[root@localhost autofs]# /etc/init.d/autofs restart
Stopping automount: [  OK  ]
Starting automount: [  OK  ]

[root@localhost autofs]# cd /var/autofs/  
[root@localhost autofs]# pwd
/var/autofs

進入 自動掛載點的下一級目錄, 無法自動掛載?

[root@localhost autofs] cd /test
-bash: cd: /test: No such file or directory

請教大家 ,哪里出問題了?

服務端 已經(jīng)建立了文件 夾 /user  客戶端已經(jīng)建立了文件夾/var/autofs

論壇徽章:
0
2 [報告]
發(fā)表于 2011-06-23 14:30 |只看該作者
172.18.4.88:/user/ 是可以訪問的 我用scp 都正常 ,但是就是無法實現(xiàn)自動掛載 為什么呢?

[root@localhost autofs]# scp 172.18.4.88:/user/3 /tmp
root@172.18.4.88's password:
3                                                                                                 100%    0     0.0KB/s   00:00

論壇徽章:
0
3 [報告]
發(fā)表于 2011-06-23 14:34 |只看該作者
有人知道 哪出問題了么? 在線等。。。。

論壇徽章:
0
4 [報告]
發(fā)表于 2011-06-23 14:42 |只看該作者
問題解決, 修改了/etc/auto.misc   。重啟auto fs 服務 測試通過

[root@localhost test]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
              ext3     18G  2.2G   15G  14% /
/dev/sda1     ext3     99M   12M   82M  13% /boot
tmpfs        tmpfs    125M     0  125M   0% /dev/shm
sunrpc  rpc_pipefs    278M   43M  221M  17% /var/lib/nfs/rpc_pipefs
/dev/hdb5     ext3    278M   43M  221M  17% /var
172.18.4.88:/home/share
               nfs     18G  4.8G   12G  29% /bak
172.18.4.88:/user/
               nfs     18G  4.8G   12G  29% /var/autofs/test

[root@localhost test]# pwd
/var/autofs/test

[root@localhost test]# ls
111  2  3  mount


主要原因:

[root@localhost test]# cat /etc/auto.misc|grep -v '#'

test           -rw,soft,intr           172.18.4.88:/user/

本地端目錄啊 不用加/  

主要就糾結(jié)在這里了 , 只要指定/etc/auto.master 的下一級目錄即可 千萬別象我畫蛇添足帶/ 啊。。。

評分

參與人數(shù) 1可用積分 +2 收起 理由
snow888 + 2 8 錯,鼓勵這樣的探索精神

查看全部評分

論壇徽章:
1
2015年亞洲杯之澳大利亞
日期:2015-03-30 11:12:52
5 [報告]
發(fā)表于 2011-06-23 14:52 |只看該作者
我剛想說的,刷新一下就看到樓主自己找到答案了!
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP