1

How can I create a auto.home file to mount certain /home directories via local disk and others via NFS?

2

You should use the autofs package which can do this for you.

In /etc/auto.master, you'd put:

/home    /etc/auto.home

And in /etc/auto.home:

user1    my.other.machine:/path/to/user1
  • be carefull with nfs over wifi. – MealstroM Mar 23 '11 at 13:47
  • I use NFS over wifi all the time. Works great (just a bit slower). Granted, it'll be a whole lot worse for home directories. – Wes Hardaker Mar 23 '11 at 14:18
  • What syntax do I use in auto.home to mount some home directories via local disk, and some via NFS? – Thomas Vincent Mar 23 '11 at 19:14
  • for a local disk, use "user1 -fstype=auto :/dev/sdb44" for example – Wes Hardaker Mar 23 '11 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.