View Full Version : Drive Partition
rldev
05-27-2004, 05:40 PM
Is this good for Raid 5 3 x 73GB scsi RHE?
/boot 200MB
/tmp 2048
/var 10240
/usr 10240
/home
swap 2048
Any advice? Should I bump up the /var and /usr partitions?
Any other partition I should make?
sHuKKo
05-28-2004, 03:47 AM
I prefer
/boot 100mb
swap 2GB
/ the rest :)
then you don't have to worry about mail usage or logs getting bigger and bigger.
rldev
05-28-2004, 05:03 AM
How do you deal /tmp vulnerabilities then?
jmstacey
05-28-2004, 05:35 AM
You could set up a monitor script run off a cron job that will send you and email or notify you some other way when the /tmp directory goes over a certain size, but then you'd have to be there to deal with it and if you weren't then your sunk.
ProWebUK
05-28-2004, 05:00 PM
Depending on your mail usage, possibly increase var a bit..
jmstacey: /tmp vulnerabilites dont necessarily mean any particular size... remember software will use /tmp and sizes will change anyway... getting notified of it being over a certain size probably wont help at all.
Chris
nobaloney
05-31-2004, 10:23 AM
Originally posted by rldev
Is this good for Raid 5 3 x 73GB scsi RHE?
/boot 200MB
/tmp 2048
/var 10240
/usr 10240
/home
swap 2048
Presuming you mean "/home unlimited", it looks good to me.
I'd probably double /var, though.
There's no reason to have a swap partition of twice memory size; that's just an old bit of wisdom based on the old days, when men were men and and Unix admins without enough memory were nervous <smile>.
Another old piece of advice was to have a swap partition of at least memory size, since unix kernels would automatically dump memory to swap on many crashes.
However the Linux kernel has never done that.
Jeff
rldev
08-13-2004, 12:37 PM
How much space needed for /usr partition? Does it really need to be a partition? Any real advantage?
Is 10GB suitable for /var partition on a 73GB drive?
Does this look good?
/boot 200MB
/tmp 2048
/var 10240
/usr 5gb
swap 1024
/home - all the rest
or is this better?
/boot 200MB
/tmp 2048
swap 1024
/ rest
This is for a busy server. with plenty of email storage.
nobaloney
08-15-2004, 11:07 AM
On a busy server I'd NEVER use only one partition; though DA staff may disagree with me; they recommend otherwise.
I have no idea how much space you'll need for a /usr partition, because (though RHL doesn't enforce it) most people use /usr for their own software installations, and I have no idea how much software you'll eventually install on your server. I've never run out of space with 3G /usr partitions. Some RH documentation also recommends separate /usr and /usr local partitions; I've never seen a need for it, and I don't do it.
I currently use 10G /usr and /var partitions; it's likely going to be enough through the life of current servers, and with today's drive sizes, it's certainly available.
And you'll unlikely ever need more than 100 M for a /boot parittion; my most used and must updated systems have never gone above 25 M. I use 100 M.
While I won't fall into the trap of telling you what you should use, I can tell you that your first suggestion should work for my clients, though it's a bit overkill.
Note to others besides rldev reading this post: This post is NOT intended to make any representations about freeBSD installations of DA; I'm not familiar enough with freeBSD directory usage to be of any help in the freeBSD environment.
Jeff
rldev
08-16-2004, 01:00 PM
Thanks Jeff.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.