NFS mount issue

Timothy Webster tdwebste2 at yahoo.com
Tue Jun 16 13:56:08 UTC 2009


google automount user homes

This does not require a union fs. Do you want to overlay the network home directory over to the local home directory?

I did that in the past, but found it didn't work well for disconnected usage. Now I stuff all the files I want to share into git and sync up on changes.



--- On Mon, 6/15/09, Darryl Moore <darryl at moores.ca> wrote:

> From: Darryl Moore <darryl at moores.ca>
> Subject: Re: NFS mount issue
> To: "The Canadian Ubuntu Users Community" <ubuntu-ca at lists.ubuntu.com>
> Date: Monday, June 15, 2009, 6:01 PM
> 
> 
> 
>   
>   
> 
>  
> I'm building the script to do this and one thing occurs
> to me. What
> about when someone who does not have a local account on the
> laptop
> tries to log in? The machine will let them log in, but will
> not be able
> to find their home directory. 
> 
> 
> 
> A union mount might be interesting, but you'd want (rw)
> on the local
> home for users with local logon and (rw) to be on the
> network home for
> other users. So I don't think this will work. sigh.
> There should be a
> way to do this.
> 
>   
> 
> Darryl Moore wrote:
> 
>   Hmmm, I'm beginning to agree with you. It really
> becomes an issue with
> suspend and then waking up to a new home directory. It
> could cause a bit
> of havic with open gnome, firefox, and OOo files in the
> home directory.
> And other too. Doing a quick lsof shows a lot of .* files
> open in the
> home directory.  For that reason I don't think even
> what you suggest
> below will work either.
> 
> I guess what I should do is simply mount the NFS home
> directory in
> /media so it shows up in nautilus,  run rsync periodically
> & during
> suspend/log off, but still use autofs so that I can shed
> the NFS mount
> easily when the network context has changed.
> 
> mcr at simtone.net
> wrote:
>   
>   
>       So, basically, their laptop has a local
> /home/user which is read-only
> to the user.  That /home/user gets it's .* files copied
> from the network
> /home/user/.* on a regular basis, with perhaps a final
> rsync during
> shutdown/suspend.   When on the road, the user can not
> change their
> settings, but they can edit any documents in "local
> documents"
> 
>   To make the /home/user read-only to the user, I suggest
> that you have
> /real/home as writable, and then use a bind mount with -ro
> to mount
> it. I think you can do this with the latest kernels.
> 
>     >> It will confuse users and piss them off
> because they won't be
>     >> able to find things.
> 
>     Darryl> That is an interesting comment, because part
> of the goal was
>     Darryl> to make things easier to find.
> 
>   Disconnected nomadic computing is hard, because users
> want things to work, and
> get pissed off if you prevent them from getting their work
> done.
>   There are some really neat things in NFSv4 that help: but
> I don't know
> if they are implemented in linux yet.
> 
>   
>     
>   
>   
> 
>   
> 
> 
> 
>  
> 
> 
> -----Inline Attachment Follows-----
> 
> -- 
> ubuntu-ca mailing list
> ubuntu-ca at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
> 


      




More information about the ubuntu-ca mailing list