Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I partitioned my machine using what redhat default to (LVM). Now, i have to use this machine as a file storage server using an external drive, where each user have access to only thier own space.
That would be simple if I partition home directory in the external drive in the beginning. Now, I am not sure what I need to do?
do I just need to create a symbolic link of each user to the external drive?
You should be able to mount the external drive as /home under LVM I would think. What file system is on the drive? Copy the contents of /home to the external drive, then mount it to /home. If it works, put an entry in your fstab
As it's your new installation and you might be going to add users, so new users will be having /home/our_user directories with respective permissions.
what are your /etc/fstab entries? can you show? as well as `fdisk -l`
1) create a file system on your external hdd.
2) if you already have users data under /home then:
mount your external hard disk, say on /misc
mount /dev/sdc1 /misc (Where /dev/sdc1 is your external disk)
copy users data along with their file permissions
cp -rpv /home/* /misc/
unmount old /home and mount /dev/sdc1 to /home
Edit your /etc/fstab
a) Comment out old /home and add an entry something like.
/dev/sdc1 /home ext3 defaults 1 2
Read man pages for more details about fstab.