AFP on Mac OS X Server

研究室に計算用の Mac OS X Server があるんだが、コンソールからログインしたときは何も問題がないのに、ssh でログインするとリモートのディスクがマウント*1されなくてどうしたもんだか、となっていた。で、なんか mnthome というコマンドを実行するといける、ように見えたんだけど。

The issue you have here is that AFP doesn't support multiple mounts under different permissions at the same time. If your developers are nice, they'll unmount on their way out, but that's not a realistic solution.

Instead just share out the homes over NFS and be done with the AFP issues since it'll act as you expect.

In larger setups I usually host all the user homes over AFP but put the admin and other user that will be using NFS on another server or share and host those over NFS. Best of both.

あー、AFP はマウントするユーザのパーミッションが関係するのか。で、異なるユーザで同時にマウントできないと。で、共用のサーバはディスクを AFP でマウントなんてしてないで NFS でマウントしろってことですな。

*1:AFPでマウント