LinuxQuestions.org
Help answer threads with 0 replies.
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 11-05-2003, 03:47 PM   #1
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
mapping home directories to different mount point


Have a server which is primarily going to be samba.

Server is up and running, samba is running okay as PDC (no Window server authentication, etc.).

base OS is installed on primary drive, but I want all data stored on a RAID set. I've added the RAID set, and configured it under mount point /data. mounts fine on boot, etc.

However, what is the proper method of linking or moving data directories under that mount point? (user admin isn't my greatest strength in any unix).

Is setting home directories to /data/home/user the proper method? Creating a directory link? (etc. etc. etc.)

I'm not so worried about logging, etc, but all of the samba share points will be under /data. Looking for "best practice" info if nothing else.

Thanks....

Jon J.
 
Old 11-05-2003, 03:50 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Just copy all your home data to the new partition then unmount /home and mount the new partition as /home.

I'll move this to Linux->General since it isn't Network related.
 
Old 11-05-2003, 04:09 PM   #3
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Original Poster
Rep: Reputation: 15
Home is not a separate partition. Also /data will contain separate directories, and I'd hoped to contain it all on one partition (I don't want to manage separate partitions).

Does that make sense, or am I misunderstanding how the unix file system and partitioning structures work? I do struggle with completely understanding the file system on unix (linux) systems.

Is there a good reference on this somewhere? (Not what the directories are for, or mean, but the actual file system workings).

Jon
 
Old 11-05-2003, 04:16 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
In that case - yes I would use a symlink to /home - eg:
ln -s /data/home /home

This will keep paths etc happy.
 
Old 11-05-2003, 04:34 PM   #5
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Original Poster
Rep: Reputation: 15
Thank you.

So - bottom line is mount pounts are associated with partitions and devices.

Directories and files can be linked, whether symbolic (pointers) or hard links.

Jon J.
 
Old 11-05-2003, 04:42 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
yeah.

Mount points are the directories where partitions are mounted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NIS Client/Server setup... mapping Home Directories trey85stang Linux - Networking 4 01-06-2011 05:29 AM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
FreeBSD /home mount point question Ahmed *BSD 5 11-07-2005 08:58 PM
Same /home mount point for two distros? jaristr Linux - General 4 08-18-2005 11:27 AM
SuSe 8 makes NTFS mount point, but doesn't create directories, error when mounting... BlackDogg Linux - Distributions 5 08-01-2002 05:08 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration