I'm building an amd64 system for dual desktop/server use, it will both run as my primary X desktop but also serve my other computers with home dirs and media files. I have one 300G samsung sata disk for the system + general storage (except /home that goes on its own disks). These are my figures so far:
Code: Select all
sda1 /boot 100M ext2
sda2 swap 2G
sda3 / 2G ext3
sda5 ext'd
sda6 /usr 20G ext3
sda7 /var 20G reiser3
sda8 /store ~250G ext3
md0 /home 80G ext3 (soft raid1, ata100, dedicated ide channels)
tmpfs /tmp
With the follwing symlink modifications:
Code: Select all
/usr/src -> /var/build/src
/usr/portage -> /var/build/portage
/opt -> /usr/opt
I will use it as a normal desktop but with matlab7 installed, I might also play around with virtualization software or try some game at times. I try to optmize after access patterns, thats why I'm moving sources and portage out of usr. So the questions:
Wasting size is not a big issue, but excessive disk head movements are. Is /usr (including /opt) way too big for normal use?
Would it be a better idea to leave the frequently accessed parts of /var on / and use the other partition only for build and /var/tmp?
Given that I have 2 gigs of ram, and 2 other ata100 disks that may host additional swap partitions (i actually plan to use striped swap on the ata100 disks primarily and the swap on sda mostly as backup), should it pay to let portage do the building on tmpfs instead?
Anything regarding my choice of filesystem types?
Thankful for your thoughts or suggestions.