LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-23-2006, 06:56 AM   #1
yogaboy
Member
 
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Rep: Reputation: 15
Centos 4 partitions


Hi,

I'm installing Centos 4.4 for use as an email server using postfix and apache. First install didn't go well, couldn't see any directories as root even though I could access some random ones etc etc.... saw some writings about not putting the root partion in the LVM2 which was done with the automatic partitioning, so I'm manually setting the partitions and I'd like some help setting them.

proposed setup on an 80 gig hd, 1gb RAM

/boot 150mb
/swap 2gb
/(root) 5gb
LVM
/usr 5gb
/home 1gb
/tmp 50mb
/opt 500mb
/var 10gb

I can resize the LVM dirs later, but I'm wondering if this looks ok to anyone else?

Any help/advice much appreciated as I'm a relative newbie and don't know LVM much.
 
Old 09-23-2006, 07:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would suggest it's a little OTT... how do you benefit from a seperate /opt? /tmp i'd make larger, at least 250mb, and /home... well if it's a dedicated server then /home will contain nothing, so why allocate space to it? personally i have no issues with swap and / in lvm2 partitions.

not that resizing LVM isn't quite as easy as you'd think. changing the logical volumes in itself is easy, but you still then have the internal filesystems to do seperatley.

when you are building a system for a tailored purpose then the partitions you may want would change a lot. if you have an intensive database, maybe you'd want /var/psql on it's own partition, one another drive potentially, and as for apache, then you'd have that seperately too if you want to go in that direction. but for /var in total, i wouldn't see a benefit in that *IF* you split the two main apps onto their own partitions anyway.
 
Old 09-26-2006, 04:32 AM   #3
yogaboy
Member
 
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks, I appreciate the input. This is a bit of a learning experience so I've changed the partition sizes along your recommendations and I'll see how it pans out and then maybe start again with a fresh install later.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows killed my partitions! no linux partitions found on this computer. The MJ Linux - Software 10 01-05-2007 08:31 AM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 06:15 PM
how to make linux(centOS) use more than 1 partitions lnthai2002 Linux - General 4 02-08-2006 05:52 PM
Whats the differnce between Centos and CentOS? duffmckagan cAos 1 06-12-2005 12:23 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:23 PM.

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