Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.