[問題] NFS automount (nested autofs)

看板LinuxDev作者 (WEN)時間12年前 (2013/05/27 16:47), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Dears, 小弟目前有一個課題需要解決,我先說明一下環境 我現在有一資料夾"test" 裡面有一個子資料夾"a1"和一個文件檔"test.txt" [root@cacti test]# ls a1 test.txt 子資料夾"a1"中也有一個文件檔"a1.txt" [root@cacti a1]# ls a1.txt 我要使用automount掛載NFS,目前嘗試的狀況如下 1.當我automount時,只看的到a1底下的"a1.txt" 看不到上一層的"test.txt" [root@cacti a1]# ls a1.txt [root@cacti test]# ls a1 2.當我先automount再手動掛載test時,只看的到"test.txt" 在a1底下會是空的 [root@cacti test]# ls a1 test.txt [root@cacti a1]# ls 等於就是說無法同時可以看到"test.txt"、"a1.txt" 手動掛載是沒問題兩個文件檔都看的到,用automount則會發生我所說的問題 請問各位高手有沒有辦法在使用automount的情況下讓兩層的資料都可看的到?? 先感謝各位的幫忙 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 175.182.229.93
文章代碼(AID): #1HensJCr (LinuxDev)
文章代碼(AID): #1HensJCr (LinuxDev)