linux partition help - building RH server

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
i am building a RH 8 server to replace my current gateway box

i have 3 hd's , two 4gb UW scsi drives i want to run in software RAID 0 and put all of the main stuff/OS onto the RAID device (apache/mySQL etc) and a 9GB scsi-2 drive i want to hold my mp3's and jpg's (andromeda for mp3 and gallery for jpg's) and ftp data directory

i know how to customize the partitioning during the install
but , what mount point do i use for the 9GB drive? what directories does RH default to for the apache install? what about the ftp server (actually i am not even sure which ftp server the "server" install of RH8 includes)

so i can put a /boot partition (55mb) onto sda , and then use the rest of sda and all of sdb for the software RAID device and then put / onto md0

but what mount point should i assign to sdc ? if all of the apache/ftp stuff is in /var , can i just mount sdc to /var ?

thanks for any input

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Also remember that if you put /var on sdc it'll also hold your log files, unless you have a network log server.
 

Tiger

Platinum Member
Oct 9, 1999
2,312
0
0
what directories does RH default to for the apache install?
From the RH Apache FAQ. Linky
From the RH FTP FAQ. Linky
Seems RH spreads stuff around all over the place. I'd suggest putting /boot, / , and /home on the RAID array and splitting the 9G drive between /var and /usr.
 

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
Originally posted by: Tiger
I'd suggest putting /boot, / , and /home on the RAID array and splitting the 9G drive between /var and /usr.

thanks for the info/links

that is basically what i was thinking

can i setup sdc after the install and mount them to /var /usr or does it have to be done during install?
 

Tiger

Platinum Member
Oct 9, 1999
2,312
0
0
It's been my experience with RH and Mandrake that if you don't specify mount points during the install they will automatically pile it all under /. Probably better to do it during install.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you don't do it during the install you'll have to backup all the files in /usr and /var, mount the new drive and restore the files.