Automount question
Ian Levesque
ian-cwAjtnUKHr2dFdvTe/nMLpVzexx5G7lz at public.gmane.org
Mon Aug 9 11:21:07 EDT 2010
On Aug 9, 2010, at 11:12 AM, Ian Levesque wrote:
>
> On Aug 9, 2010, at 10:45 AM, Jerry Feldman wrote:
>
>> I have a situation where I have a directory I want to automount:
>> eg. /mnts/foo
>> In my auto.master I have /mnts /etc/auto.mnts
>> My /etc/auto.mnts is
>> foo -fstype=nfs,rw,nosuid <host0>:/exports/foo
>>
>> This works fine, but for a transition period I will be moving some of
>> foo's subdirectories individually so I want to automount
>> <host1>:/mnts/foo/clients
>>
>> I've been playing around with this such as creating another entry in
>> auto.master /mnts/foo/, and /etc/auto.foo contains
>> clients -fstype... <host1>:/mnts/foo/clients
>
> I think your problem is because you can create an autofs entry within another autofs mountpoint.
*can not
> If possible, I would remove the /mnts entry from your master autofs config and instead use /mnts/foo and then define each directory as its own mount. Depending on your NFS server, you might need to define your exports to allow subdirectory mounting.
>
> Best,
> Ian
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
More information about the Discuss
mailing list