LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-01-2007, 10:26 AM   #1
armandino
Member
 
Registered: Oct 2005
Posts: 72

Rep: Reputation: 15
What are "NFS home directories"?


While reading documentation I found some instances of the phrase "NFS home directories".
I found it again amongst the SELinux NFS policy options ("enable NFS home directories support").
What are they?

I thought that maybe the phrase refers to a setup in which users' home directories are phisically situated in a remote computer and are mounted as NFS shares. Is that true?

What is the benefit in setting up a system that way?

Thanks
 
Old 07-01-2007, 10:39 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by armandino
While reading documentation I found some instances of the phrase "NFS home directories".
I found it again amongst the SELinux NFS policy options ("enable NFS home directories support").
What are they?

I thought that maybe the phrase refers to a setup in which users' home directories are phisically situated in a remote computer and are mounted as NFS shares. Is that true?

What is the benefit in setting up a system that way?

Thanks
Yes that is true.

One benefit, should your local hard drive suddenly die all your files and stuff are safe because they are being stored remotely. However it is important to backup your remote files in case the remote computers hard drive dies!

Anyone else?
 
Old 07-01-2007, 11:17 AM   #3
lakris
Member
 
Registered: Sep 2004
Location: Stockholm, Sweden
Distribution: Ubuntu, RedHat, SuSe, Debian, Slax
Posts: 102

Rep: Reputation: 15
Using home (and program) directories on a file server greatly simplifies system administration when You have more than a few users. It simplifies configuration and maintenance such as backups, system settings, etc. It should be combined with some sort of centralised authentication scheme, such as Samba or Yellow pages. Depending on network configuration and the users most common type of data to work with, it may be (a lot) slower than local disks, so it is a trade off You have to consider. Often it's not even noticeable. But centralisation will mostly, IMO, save plenty bucks.
 
Old 07-01-2007, 11:26 AM   #4
whistl
Member
 
Registered: May 2005
Location: USA
Distribution: Ubuntu, CentOS
Posts: 37

Rep: Reputation: 15
NFS home directories

One of the big reasons for setting up NFS home directories is that you can use that same home directory on every system in your network.

It's really handy, since you can copy a file to your home directory on one system, then slogin to the system where you want to use it, and it's right there.

NFS home directories and some central account management tool (I setup LDAP, but you might also use NIS) make administration of login accounts and groups easy and painless. I only have to create an account and home directory once, and new employees can instantly access any system they need to do their job.

Even if you only have a small home network, you might have an old laptop in the living room, and your big desktop and file server in the bedroom. With an NFS home directory served by your file server, you get the same configuration, same bookmarks, etc, regardless of which computer you choose to login.

If you are using a GUI (Gnome, KDE, etc), you want the exact same version of the same operating system on all clients, or you will get weirdness when newer versions write values in the config files that older versions can't handle. For command line only servers, that's not a problem.
 
Old 07-01-2007, 11:39 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
If you are using a GUI (Gnome, KDE, etc), you want the exact same version of the same operating system on all clients, or you will get weirdness when newer versions write values in the config files that older versions can't handle.
A very good point.
But you can still have /home/me as a local directory, storing all you local KDE / Gnome settings, but have /home/me/Documents stored on the remote NFS server, but mounted locally.
Linux is awesome
 
Old 07-01-2007, 01:33 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
nothing to do with networking. moved to Linux - General.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM
Why I cant open "Home" folder when I click on Home Thumbnail riba43 SUSE / openSUSE 2 04-17-2006 12:49 AM
NFS Home directories for laptops IndustrialGeek Linux - Newbie 1 05-20-2004 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration