installing linux (gentoo in this case) over multiple disks
Linux - GeneralThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installing linux (gentoo in this case) over multiple disks
I would like to know if it is possible to spread an install out over multiple disks. I have a system that I want to run as a LAMP system and I would like to split up the mount points over the 3 disks I have , 1 x 40 gig and 2 x 80 gig. is this possible or will i need to set up on one disk and then move the mount points over to the new disks?
Thanks in advance
From practically any distribution, you should be able to specify mount points before the base system gets installed.
It all boils down to which mount points you want to segregate from the primary disk. For server environments, usually the /var (and/or /srv) directories are put on separate drives (I use the term "usually" quite liberally), that way should the "controller" (primary disk where the OS runs from) die in some fashion, the data is still - ideally - untouched; the repair process would be something as simple as replacing the controller disk.
Another suggestion I will make, is that you store all of the configuration files (.conf) that you need (Apache, MySQL, PHP and maybe even Samba) on the data drives - and create symbolic links to them in their respective directories under /etc. Meaning, if you do an "ls -l" in /etc/apache2, you might see something like
So I should be able to run fdisk or whatever gentoo uses to partition the disks and setup from the start in theory?
Thanks, will give it a go over the weekend. I like the idea of the config files being sym linked, I think I will use that set up.
Keep in mind, fdisk (along with cfdisk, [g|q]parted) partition your drive - they give you /dev/hda1, /dev/hda2, /dev/hda3, etc. Where you set which directories go onto which partition is governed by your /etc/fstab file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.