Drive Partition

rldev

Verified User
Joined
May 26, 2004
Messages
1,003
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?
 
I prefer

/boot 100mb
swap 2GB
/ the rest :)

then you don't have to worry about mail usage or logs getting bigger and bigger.
 
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.
 
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
 
rldev said:
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
 
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.
 
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
 
Back
Top