Daniel.G.Roberts on 25 Oct 2006 16:50:57 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Help with NFS mounting and $HOME directories


Hello All

I have a new NAS NetApp box on which I will be installing all my user home directories.
Because of backup limitations, the NAS partitions that will be exported to my system (kayak) will be 2 TB in size each.
Problem is that I have about 20 users who have close to 6 TB of data amongst them.
Therefore what I would like to do is spread the users across the three different partitions on the NAS back end but MOUNT them all under /home/<username> on the front end server kayak.

Issue is I can't figure out how to so this via indirect automounter maps or if this is even the best method!

So on the NAS end (NAS123) I would export these three file systems over to kayak ie:

/user1  kayak(rw,async,no_root_squash)
/user2  kayak(rw,async,no_root_squash)
/user3  kayak(rw,async,no_root_squash)

and for example I have the following home directories located on each "slice" of the NAS123 system
/user1/dan		1TB Of data
/user2/tom		500GB of Data
/user3/bob		500GB of Data


On the client ie server side I want to mount dan, tom or bob onto the /home of kayak

So I have tried in my /etc/auto.master
#Indirect MAP
#Mount Point    MAP Name        Mount Options
home         /etc/auto.home  -intr,nosuid


my /etc/auto.home
home    -rw,intr nas123:/user1
home    -rw,intr nas123:/user2
home    -rw,intr nas123:/user3



and when I start up the automounter what I end up with on kayak is 

/home/home/dan mounted and I can never get to tom's or bob's $HOME directory!
I am not surprised that I can't get to tom's or bob's stuff as from the system perspective it has met the obligation to mount the "home" directory using automouter..

Can anyone please give me hints on how to mount my user directories as:
/home/dan, /home/tom and etc?!
Thanks!


Dan


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug