Re: How should I partition 2 80 gig drives?
> > I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. > I'm not sure how I > should set these up in disklabel editor. I just want to use this as a > general purpose machine. General purpose can also mean many different things. Do you mean a personal desktop or would that include serving a web site or include some database stuff or name service (DNS). How about Email and virus checking and how about ftp and allowing anonymous ftp.Will others be allowed to have accounts and log in. Will you mostly use it from the 'console' eg keyboard, monitor and mouse plugged directly in to the machine or over the net. How about music and video - are you planning to create you on personal video memoirs? All of these things affect how you allocate resources as well as which software you install. You didn't say how much memory your box has either. But, with that much disk, as long as you don't plan to serve a large database (but some moderate personal database such as names, books, CDs & tapes, etc) or allow extra users that you isolate in some separate space, a basic system with about 1 GB of memory might go like: (a) 512 MB / (root) 2 GB swap (e) 512 MG /tmp (f) 2 GB /usr (g) 20 GB/var (g) remainder of disk 0 (about 50 GB) /home 2 GB swap (e) remainder of disk 1 (about 70 GB) /work Then move /usr/local to /home/usr.local and create a symlink move /usr/ports to /home/usr.ports and create a synlink Also maybe move /var/spool to /home/var.spool and create a symlink move /var/mail to /home/var.mail and create a symlink move /var/log to /home/var.log and create a symlink If 20 GB turns out to not be enough for your databases, then later move some or all of /var/db to /work/var.db and create a synlink The typical book and handbook examples of very tiny root and swap and having /tmp inside /usr or whatever are out of date in a world of many GB disks and GT 1 GB memory.On the other hand, you don't really want to make root too giant and stick everything in there because it means that, if you need to recover from backups after a disaster, you would have to load and do everything on that giant root. With a reasonable sized root, you can rebuild it and get enough of the system going to make it easy to finish recovering. Also, having a moderate sized root reduces the likelyhood, somewhat, that a disk error will pop up in your root partition and that makes a potential recovery a little more possible. Actually, that last is true of all the file systems. The model I show above shows putting only basic stuff in smaller file systems and then everything else in giant rest-of-the-disk file systems. But, having more moderate sized divisions of disk means that you spread stuff out over more divisions and that means less stuff is affected when a disk error shows up in a particular division (partition).Of course, it also makes doing backups more complicated.So, you balance that. jerry > > thanks, > Bob > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How should I partition 2 80 gig drives?
On 2005-09-04 20:12, Robin Smith <[EMAIL PROTECTED]> wrote: > bob self <[EMAIL PROTECTED]> writes: > > I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard > > drives. I'm not sure how I should set these up in disklabel editor. > > I just want to use this as a general purpose machine. > > I would recommend putting /usr/local as well as /usr/home on their own > partitions. It greatly facilitates system upgrades if you have a large > number of users and/or a great many installed ports. tuning(7) has a good section on disk partitioning too, that may be of interest. I recently read it again, and I can say that a lot of what it contains is still valid and useful, years after the initial manpage was imported by Matt Dillon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How should I partition 2 80 gig drives?
bob self <[EMAIL PROTECTED]> writes: > I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. I'm > not sure how I > should set these up in disklabel editor. I just want to use this as a general > purpose machine. I would recommend putting /usr/local as well as /usr/home on their own partitions. It greatly facilitates system upgrades if you have a large number of users and/or a great many installed ports. Robin Smith ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How should I partition 2 80 gig drives?
bob self <[EMAIL PROTECTED]> writes: > I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. I'm > not sure how I > should set these up in disklabel editor. I just want to use this as a general > purpose machine. I've been happy giving my two 80 GB disks 4 equal-sized primary partitions so it's easy to back one up, esp. before doing an upgrade, etc. Or use one or more for extra storage, etc. Maximizes flexibility and I seldom fill one anyway. I only regret that I let the first pri.part. be oddly sized because it can't have the first track. I told myself I'd use those for Linux or data. I've always tried to partition on cylinder boundaries, but the partitioner didn't obey for the first pri.part. I plan to try partitioning my next disk on track boundaries, with all four the same size. As for FreeBSD divisions, I have something like: subpart CylsApprox MBUse a16 125 / b70 549 swap e70 549 /var f11388926 /usr g11388926 /home /: I'm using 71 MB on / with by far the biggest user being three versions of /boot/kernel/, so 125 seems about right. swap: Swap should be big enough to hold all the programs you plan to run at the same time, minus your RAM size. Except, if you plan to make OS "crash dumps", swap should be at least as big as your RAM and another MB might be safer. 500 MB - RAM seems a good minimum these days, except the installer probably requires >0. (I seldom use any swap with 512 MB RAM, but xosview can show a broken program filling it up, so it's good to have more than the minimum.) /usr, /home: Use your own judgement on the size ratio. I'm using 3 GB in /usr and I've got a lot of stuff not needed for ports and system re-building. /tmp: Maybe have the following in /etc/fstab so /tmp files are kept in RAM. (Use /var/tmp for files you don't want to go away when OS halts.) md /tmpmfs rw,-s128m 0 0 With a similar setup, I've tried mounting "/" read-only and observed no problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How should I partition 2 80 gig drives?
At 12:00 PM 9/4/2005, bob self wrote: I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. I'm not sure how I should set these up in disklabel editor. I just want to use this as a general purpose machine. The defaults are usually fine for "general purpose". If you're not sure where you might run low on space first, save one of the drives and configure it later once you have a better idea of where you need extra space. -Glenn thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How should I partition 2 80 gig drives?
I want to set up FreeBSD 5.4 Release to fully use 2 80 gig hard drives. I'm not sure how I should set these up in disklabel editor. I just want to use this as a general purpose machine. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"