LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   setting up multiple drives (https://www.linuxquestions.org/questions/linux-general-1/setting-up-multiple-drives-603829/)

Jan Tanjo 12-01-2007 08:06 PM

setting up multiple drives
 
Hi all

Not quite sure how to ask this question, anyway, When you do default Linux install in directory listing you have "Home" (Which is /home/Home) and then "File System".

What I would like to do is have your regular "Home" plus "Apps", "www", etc. Each one of these would be on a separate hard drive and they would not be listed under "File System".

I'm going to do this with Fedora 8. Now if I recall (From FC5) during the install process there is a point where you can specify this type of structure.

So, Do I "/home/Home" "/apps/Apps" "/www/www" etc?

shadowsnipes 12-02-2007 04:17 PM

I think you are confusing what the GUI labels for your filesystem and what it actually is. "Filesystem" is /. Everything is under that including your /home directory which contains a directory for all your users. /root is root's (superuser) directory. Programs are usually located in /usr.

You can mount hardrives or anything pretty much anywhere you want in linux. For instance I can have one hard drive where I have the OS installed (on /) and then I can use another hardrive mounted at /home if I want to.

You don't have to reinstall your system to change this. I'm still a little confused as to exactly what you want, but the basic idea is that you first need to mount those hard drive partitions to a temporary location in /mnt (for instance). Copy over your files that you want moved there. Unmount the temporary locations. Boot into single user mode and change /etc/fstab to mount those partitions into the filesystem where you want it and then mount them. There's more detail that goes into this but that is the basic idea.

You can even just create a symbolic link to your mount points for your hard drive partitions. So, for instance, is you have a mounted partition at /media/hdb1 you can create a link at /apps/whatever that points to this. This is probably more what you are going for.


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