Click to See Complete Forum and Search --> : Partition Away


Dark Ninja
11-02-2001, 02:36 PM
Okay - I'm getting ready to make (almost) the full move to Linux. Original configuration:

C Drive - 25 Gigs
D Drive - 3 Gigs
E Drive - 25 Gigs
Linux - 5 Gigs + Swap
Leftover - ?

Now...

C Drive - 10 Gigs
D Drive - 3 Gigs
E Drive - 25 Gigs
Linux - 25 Gigs + Swap


Now...I haven't setup Linux completely yet. Originally (on my 5 gig partition) I just had Linux lumped under one single partition. Now that I plan on using Linux full time (except for games), I want to split it up. What I was wondering is, how do you recommend I split it up. Here's what I'll be using with Linux:

I'm going to have a system that does not have a WHOLE ton on it. I'm basically going to be running Linux for my programming needs. I will not be running many (if any) servers. Maybe the occasional FTP. CounterStrike. That's it. I also am going to be the sole user.

I do want Linux to be secure however, but still usable. Now, I've read a few documents online, and, I have an idea of how I'd partition Linux, but, I just want to see what everybody here has to say.

Thanks for any input. I really appreciate it.


Dark Ninja

PS - One thing I don't really need is very large log files. (/var/log) - so - if I can get that out of my main system, and just have them on a very small partition, that would be good. If you have any suggestions about that, I'd appreciate it too.

bdg1983
11-02-2001, 04:46 PM
I don't have any suggestions for your partition sizes, but for the log files (i.e. messages) I would suggest you enable/install/modify logrotate as so in /etc/logrotate.d/syslog

/var/log/messages {
daily
rotate 5
compress
size=200k
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

My /var/log/messages is set that when it gets above 200k it is gzipped and a new message file created. Five message logs are kept, message.01.gz through message 05.gz and then the oldest rolls off.

ferg
11-02-2001, 04:59 PM
Originally posted by Dark Ninja:
<STRONG>
I've read a few documents online, and, I have an idea of how I'd partition Linux, but, I just want to see what everybody here has to say.
</STRONG>
Here is what I just did on my system
/boot 15MB
&lt;SWAP&gt; 1.5Gig
/ 750MB
/usr 1.5Gig
/home 15Gig
/var 750MB
/tmp 990MB
/chroot 750MB
/var/lib/ 1.0Gig

Hope this helps

Dark Ninja
11-02-2001, 05:31 PM
Well, I've been looking around, but I haven't found any kind of setup that satisfies what I'm looking for. I guess I want to keep my temporary garbage and things I'd rather not mess around with on a seperate partition. (/tmp, /var) I really don't need to keep /usr and /home apart, just because I'll be the only user on my system. As for / (root) - I'm guessing I should probably keep that seperate. The other option I was thinking was /var by itself and then everything else together. I'm not sure. Actually, heh, I'm not sure I understand this whole setup thing. I'm working on that, though - found a lot of material online.

Any other suggestions? I do have 20 gigs to dedicate towards any setup offered.

BTW - mdwatts - thank you for that script. I was looking for a way to keep my log files at a minimum. (I know I should look at 'em more, but, I'm not at that stage yet. I'm still learning. :rolleyes:


Dark Ninja