こんにちは、河野@京都です。 > サーバのauto.masterはmapがありませんといわれますが、 > サーバから参照したいauto.home.ssというファイルはypcatで見ることが > できました。 > > サーバ側/etc/auto.home.ss の内容 > -rw,hard,intr hogehoge:/home/ss/user > > ホスト側/etc/auto.masterの内容 > /home/ss /etc/auto.home --timeout 60 > > ホスト側/etc/auto.homeの内容 > * -fstype=nfs auto.home.ss > > ホスト側/etc/auto.homeの内容は上記の設定にしていましたが、 > マウントしたさいに「シンボリックリンクの階層が深すぎます」 > というエラーが出るので下記に変更しました。 > #* -fstype=nfs hogehgoe:/home/ss/& > > こうするとマウントはしますが、NISを起動させるとautofsが落ちます。 勘違いかも知れませんが… nfs server(hogehoge)でauto.home.ssを参照してmountするような設定に なっていたりしませんか? もしそうだとすると、nfs clientで/home/ss/userにアクセスがあると hogehogeでloopが発生します(多分…そうなると思うのです) つまり、『シンボリックリンクの階層が深すぎます。』というのは、 hogehogeで % ls -ld /home/ss/user lrwxrwxrwx 1 root root 3 Nov 23 23:55 user -> /home/ss/user ということになっていると思います。 nfsをnisを利用して使う時には、exportするディレクトリをつくると良いです。 hogehogeで/home/ss/userを/exports/home/ss/userに移動して、 サーバ側/etc/auto.home.ss の内容を -rw,hard,intr hogehoge:/exports/home/ss/user とすると安全だし、複数のhostからexportするようになっても 間違いがないと思います。 こうのまこと
Follow-Ups:
- [vine-users:028357] Re: autofs と ypbindTsuyoshi KAWABE
- Prev by Subject: [vine-users:028350] Re: Netscapeの中国語の表示
- Next by Subject: [vine-users:028352] Re: Netscapeの中国語の表示
- Previous by thread: [vine-users:028283] Re: autofs と ypbind
- Next by thread: [vine-users:028357] Re: autofs と ypbind
- Indexes:[Main][Thread]