Partitioning Right

september 7, 2006

A week or so ago, I got a YIM from JR.  He asked me something that I never really thought about. "How much should I give to my / ?" Eh?  Never really thought about it.  See, JR had a meltdown.  His server went kaput when Knoppix decided to do unsanctioned kung-fu to his harddrive.  Anyways, he was rebuilding his server with Ubuntu and was repartitioning his drive.  He had a 250GB drive and was just asking my opinion on how much he should give to the root partition.  20GB sounded fine to me.  But, then he popped out, "I was thinking 50GB".  Well, hell.  The more the better.  Anyways, he finally got his server running and he gave the root partition 50GB.  More than enough. Ever since then, I been thinking about repartitioning my notebook.  I took my 100GB drive and gave it all to the root partition.  Not particularly a bad thing to do, but also not particularly the best thing to do either.  So, I popped the same question back to JR.  20GB?  15GB?  Both seemed about right.  I rsync'd my home directory to an external drive and repartition my drive.  15GB for /, 1GB for swap, and the rest for /home.  I figure 15GB for a workstation install should be more than enough.  I was going to symlink /var to /home/var, but decided against it. With a fresh install of CentOS 4.4, I also got to do some stuff that I did not do during the original install.   Mainly, turn on SELinux.  Also, I wanted to shrink my swap partition from 2GB down to 1GB.  I don't really think I need all that swap space.  I upgraded my OpenOffice.org to 2.0.3, but downgraded to 1.1.5.  So a reinstall cleaned up a lot of stuff from that. Oh, and before I went through the whole reinstallation, I wanted to see just what the Windows tools for my Compaq Evo N600c did.  So, I (gasp) installed Windows XP on my notebook and installed the utilities for my notebook.  The N600c has some special buttons (Fn + F4, F5, F6, F7, F8 and F10).  The ones that were curious to me and never worked since I am running Linux, are F5 (Volume) and F10 (Screen Brightness).  Not a huge surprise, the Volume thing activated the Windows XP volume control.  F7 and F8 are for battery-level and power-management, and wah-lah, they activated the Windows power control panel.  F10 did pull up some other tool and it was used to control the brightness of the screen.  I set it for the highest brightness, which seems to be the default.  So, no big gain from experimenting with Windows. Anyways, notebook back up and running.