[ale] Mounting /home and /data with cifs on a server?
Matt Rideout
mrideout at windserve.com
Sun Oct 25 18:16:20 EDT 2009
All files in a given smb mount will show up as owned by a single user,
so you'll need to create a separate SMB mount for each home directory.
I once ran into a UML bug that required switching from NFS to SMB for
parts of /home, and ended up writing a login script to handle it. The
script used the username of the person logging in to generate the right
SMB path, then ran smbmount to mount their home directory. /home was
still mounted as NFS underneath.
Robert L. Harris wrote, On 10/25/2009 03:08 PM:
> Has anyone mounted /home or /data (random dir containing user data)
> from a CIFS
> mount instead of NFS? I'm looking at some performance issues with a NAS
> server
> and it appears CIFS is more repsonsive. The only problem is if I mount
> /home
> with:
>
> //lincoln/home /home cifs
> credentials=/root/samba-creds.txt,workgroup=foobar 0 0
>
> and use the creds of root to mount the dirs, then any files I create as
> user "robert" end
> up created owned by user root on the server, and thus user root on the
> clients hosing
> up /home, etc.
>
> Thoughts?
> Robert
>
>
>
>
More information about the Ale
mailing list