LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-14-2008, 11:18 AM   #1
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29
Blog Entries: 2

Rep: Reputation: 15
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
 
Old 11-14-2008, 12:27 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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
Code:
httpd.conf -> /var/config-files/www/httpd.conf
 
Old 11-14-2008, 01:25 PM   #3
ctsiow
LQ Newbie
 
Registered: Oct 2007
Location: Isle of Wight, UK
Distribution: Ubuntu 8.10 server - Ubuntu 10.10 Aspire netbook
Posts: 29

Original Poster
Blog Entries: 2

Rep: Reputation: 15
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.
 
Old 11-14-2008, 01:46 PM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 11-17-2008, 01:08 AM   #5
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
there's a stuff called lvm.




iasof.tuyen@yahoo.com
 
  


Reply

Tags
disk, gentoo



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
Copying files from case-sensitive Linux to case-insensitive Windows via CIFS? SlowCoder Linux - General 4 05-07-2008 07:03 PM
Disks in h/w RAID not recognized by multiple Linux installers deltwalrus Linux - Hardware 7 07-27-2005 07:35 AM
Installing Open BSD over multiple hard disks zaicheke *BSD 2 07-10-2004 07:56 PM
How to browse across multiple disks in linux carjumble Linux - Newbie 3 12-24-2003 10:09 PM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration