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. |
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. |
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 |
In that case - yes I would use a symlink to /home - eg:
ln -s /data/home /home This will keep paths etc happy. |
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. |
yeah.
Mount points are the directories where partitions are mounted. |
All times are GMT -5. The time now is 06:33 AM. |