Following Curtis's lead... Here's my current layout:
Filesystem 1M-blocks Used Available Use% Mounted on /dev/hda3 9547 2830 6717 30% / /dev/hda4 103588 10378 93211 11% /home none 220 0 220 0% /dev/shm /dev/hda1 76 6 67 8% /boot I made / a fair size to handle the programs I was aiming to install. However, I did not see the need (in my particular case) to break out the /var, /usr, etc folders. However, I very much didn't want to loose my personal data if I had to reinstall the server. So I separated /home, and gave it the remaining space on my drive (80 GB). I also went one step further with with Apache and moved my web root under the /home partition (and thereby presever my web files as well if I need to rebuild the server). the /dev/shm device is setup by Gentoo, but doesn't take any space so I've never really worried about it. One day I'll dig deeper into it's purpose. For the purpose of this message, I mounted my /boot partition. This is purposely small, and is an ext3 file system. (/home and / are rieserfs). The boot partition isn't mounted once the system is up and running (for security), and only needs enough space to handle GRUB/LILO and a copy of your kernel (if you setup fstab that way). The size recommendations for the /boot partion are covered in the Gentoo install guide as well (there's a LOT of good generic information in there). At the moment, because my server is rather speciallized to my own needs, I don't see a need to create separate partitions for the other root level directories. However this may change down the road, and I luv the fact that I have options if/when this becomes necessary - without having to rebuild a server from scratch. I'm sure other's on the list can tell me how/why my setup is/isn't good, but it works for me thus far. I'm open to suggestions though... :D Hope this helps you some Andrew. Shawn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Curtis Sloan Sent: Wednesday, March 24, 2004 11:16 PM To: CLUG General Subject: Re: [clug-talk] ReiserFS vs ext3 On Wed March 24 2004 17:47, Andrew Graupe wrote: > Curtis Sloan wrote: > >On Wed March 24 2004 16:44, Andrew Graupe wrote: > >>I will be setting up a new linux system in the near future, and I am > >>deciding what FS to use. I will probably use a 50MB /boot partition, a > >>256MB swap and the rest will be given to the root partition. > > > >A single / partition makes it simple, which is great for testing, but if > > you plan on keeping the install around for awhile, definitely partition > > more. At least /usr should have its own, if not /var and /home. > > How big should these partitions be? Sort of depends on how much you're installing/where you plan on putting stuff/where other stuff likes to put itself/what you're using your install for (e.g. all 7 Debian CDs, /usr vs. /usr/local, /tmp and /opt, web server vs. gaming vs. desktop?). I made my /home ~800MB. Turns out I use very little of it. OTOH, I've had to expand/add partitions like /usr/local since I download and install so much crap onto my system (I can't help it, I'm curious! ;-). Here's my current layout: $ df -m Filesystem 1M-blocks Used Available Use% Mounted on /dev/hda7 134 84 50 63% / /dev/hdc6 793 505 289 64% /home /dev/hdc7 487 372 115 77% /opt /dev/hdc8 369 86 283 24% /tmp /dev/hdc9 2550 1818 732 72% /usr /dev/hdc10 1836 969 867 53% /usr/local /dev/hdb3 3915 1688 2228 44% /usr/local/storage /dev/hdc11 267 70 197 27% /var As you can see (hopefully the formatting came out alright; works w/ fixed font), it's kind of a hack. But maybe it will give you some ideas. Here's the rundown: / contains everything you don't see in the rest of the list (/etc, /bin, /sbin, /boot, etc.). I didn't bother separating /boot. Probably not a bad idea, though. / is comfortably used. /home is only as full as it is because I downloaded a legal DivX the other day. Otherwise it is not usually very full. For me, ~800MB was overkill. But if you're installing all your WINE programs to ~/.wine it may be good. /opt is where KDE puts all of it's stuff; it's comparable to /usr/local in that it's traditionally meant for "outside" packages. But basically it just means "KDE" these days. I had to expand mine to what you see now for KDE 3.2.1. /tmp is the size it is because some installers like to extract to it and for certain game installers, I needed ~350+MB. Otherwise, it doesn't get used much. /usr should be pretty big; that's where most of the stuff goes. If you're installing a full distro these days, 1.5-2GB+ is not unreasonable. /usr/local got full and I was given another hard disk, hence /usr/local/storage. Now /usr/local is my outside programs, /usr/local/storage is all my downloaded packages. These are totally up to you. Most default source compiles will install to /usr/local unless you use the ./configure --prefix=/usr option. So these are up to you. /var can be pretty busy if you're running a server or a busy system -- that's where most logs end up, so I made it ~250MB+ in anticipation of playing around w/ Apache, et al. It's kinda unused since I'm not doing that yet. I hope this gives you some ideas. If you Google, you may find other suggestions as well. HTH, Curtis > > >Speaking from experience. :-) > > > >>I plan to > >>format the /boot partition as ext2, as I don't need journaling for it. > >>I have heard good things about ReiserFS, but I have never used it. On > >>my other linux systems, I use ext3 for the / partition. > >> > >>Which filesystem, in your opinion, is better? > > > >I actually don't know. I've used both, but lately I've been using > > ReiserFS (v3.6). There are a few kernel updates in 2.6.5 (in Release > > Candidate right now) for ReiserFS. Ext3 is more actively supported (er, > > fixed?) in the kernel since it's not run by any one company > > (www.namesys.com) -- at least this is my perception. Correct me if I'm > > wrong. > > > >Curtis > > > >>The hard drive in > >>question will either be 80GB or 120GB. > >> > >>Andrew > >> > >> > >>_______________________________________________ > >>clug-talk mailing list > >>[EMAIL PROTECTED] > >>http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > > >_______________________________________________ > >clug-talk mailing list > >[EMAIL PROTECTED] > >http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > _______________________________________________ > clug-talk mailing list > [EMAIL PROTECTED] > http://clug.ca/mailman/listinfo/clug-talk_clug.ca _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

