Re: New Computer System
On 2006-02-24 00:56, Robert Huff [EMAIL PROTECTED] wrote: Jerry McAllister writes: For those reasons, I generally make the following partitions. partition Mount size comments a = / (root) 128MB May I ask what OS version you're running? Because on my -CURRENT system: huff@ du /boot | sort -nr 151838 /boot 66596 /boot/kernel.old 66526 /boot/kernel 17810 /boot/kernel.generic 20 /boot/defaults 2 /boot/modules 2 /boot/firmware CURRENT usually has larger binaries, because of all the extra debugging information that is customarily enabled in the kernel. On an amd64 system here, the root partition uses even more disk space: # df -m / Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s2a 1583 285 117120%/ # Su unless I'm doing sonething that causes bloat, 128mb will be woefully inadwquate. Possibly. I'd certainly go for a larger root partition than 128 MB, but Jerry has done a great work outlining his partition scheme and why he chose those sizes. The general idea here is that there isn't an easy way to find the One True Partitioning Scheme(TM) -- one that will match everyone's needs for now and all eternity. The original poster should spend some time thinking about what the system will be used for. Then the mechanics of using fdisk(8) and disklabel(8) or bsdlabel(8) are an eays thing to explain :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Computer System
On 2006-02-23 22:50, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 2/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I bought a new system (it was on sale), it has 180 Gigabytes of hard drive. Naturally I want to slice it up, so where can I find the documentation on the slice/partition process and table. As I recall, I can make 4 hard slices/partitions and then I can further break-down 1 (or more of them) to have logical slices/partitions. Where can I find documentation on the logical slices/partitions and how to use them? Can I boot into a ( FreeBSD ) logical slice, and if so, how do I do it? (For the 4 hard slices, one uses function keys F1 thru F4 .) Has someone already setup the capability of booting into logical slices, and if so, where can I get it and its documentation? From a 40-50 minute excursion into qemu, FreeBSD does not enjoy linux logical partitions (slices), and I could not get it to install into one. Sure it does. They just have slice numbers = 5. You can't boot from a logical slice though. Jerry McAllister's advice remains sound. True :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Computer System
On 2006-02-24 00:56, Robert Huff [EMAIL PROTECTED] wrote: Jerry McAllister writes: For those reasons, I generally make the following partitions. partition Mount size comments a = / (root) 128MB May I ask what OS version you're running? Because on my -CURRENT system: huff@ du /boot | sort -nr 151838 /boot 66596 /boot/kernel.old 66526 /boot/kernel 17810 /boot/kernel.generic 20 /boot/defaults 2 /boot/modules 2 /boot/firmware On my machine running FreeBSD 6.0 df -k shows this: # df -k / Filesystem1K-blocks Used Avail Capacity Mounted on /dev/da0s4a12670256206 6036048% / # Doing a 'du /boot' gets me: 18 /boot/defaults 43026/boot/kernel 2/boot/modules 43614/boot This is for a machine to use and not tinker with so it does not have extra kernels and such sitting around. Remember also that /tmp is its own partition and doesn't use any space in root and /var and /usr are all in their own partitions and not taking up space in root. CURRENT usually has larger binaries, because of all the extra debugging information that is customarily enabled in the kernel. Good point. On an amd64 system here, the root partition uses even more disk space: # df -m / Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/ad0s2a 1583 285 117120%/ # Su unless I'm doing sonething that causes bloat, 128mb will be woefully inadwquate. Possibly. I'd certainly go for a larger root partition than 128 MB, but Jerry has done a great work outlining his partition scheme and why he choose those sizes. Thanks for the positive comment. True, if I was using that machine for development work, I would probably increase both root and /usr by at least 50% if not more or else move that /usr/src as well as /usr/ports over to the big /home or /work file systems (which I do on another development machine, but it is running an ancient 4.xxx FreeBSD at the moment :( ). The general idea here is that there isn't an easy way to find the One True Partitioning Scheme(TM) -- one that will match everyone's needs for now and all eternity. That is for sure. Running services for many users or many virtual hosts or a number of jails or doing development or a huge database or mainly playing games or many other things all make big differences in how you divide your disk as well as what 3rd party software you install. jerry The original poster should spend some time thinking about what the system will be used for. Then the mechanics of using fdisk(8) and disklabel(8) or bsdlabel(8) are an eays thing to explain :) ___ 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]
New Computer System
I bought a new system (it was on sale), it has 180 Gigabytes of hard drive. Naturally I want to slice it up, so where can I find the documentation on the slice/partition process and table. As I recall, I can make 4 hard slices/partitions and then I can further break-down 1 (or more of them) to have logical slices/partitions. Where can I find documentation on the logical slices/partitions and how to use them? Can I boot into a ( FreeBSD ) logical slice, and if so, how do I do it? (For the 4 hard slices, one uses function keys F1 thru F4 .) Has someone already setup the capability of booting into logical slices, and if so, where can I get it and its documentation? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Computer System
I bought a new system (it was on sale), it has 180 Gigabytes of hard drive. Naturally I want to slice it up, so where can I find the documentation on the slice/partition process and table. As I recall, I can make 4 hard slices/partitions and then I can further break-down 1 (or more of them) to have logical slices/partitions. Where can I find documentation on the logical slices/partitions and how to use them? Can I boot into a ( FreeBSD ) logical slice, and if so, how do I do it? (For the 4 hard slices, one uses function keys F1 thru F4 .) Has someone already setup the capability of booting into logical slices, and if so, where can I get it and its documentation? It is all documented in the FreeBSD Handbook that is available online at the freebsd.org web site. Forget the concept of logical slices in FreeBSD. Everything is logical actually, but not in the sense people are used to seeing in Microsloth. Yes, you can make up to 4 primary slices on a disk drive. That is also true in MS world and others.After that it gets a little different. First of all, if you intend to only run FreeBSD on that machine or even just that disk, then there is no reason to use more than one primary slice that you make the size of the whole disk (minus the scrap that gets wasted in rounding to even cylinders for building slices and partitions) Each slice can then be subdivided in up to 8 partitions a-h, but for practical purposes partition c is reserved. Many people also still skip partition d for obscure historical purposes that no longer are meaningful. Also, the b partition is usually used to designate space used for swap. The only reason you need to divide the boot slice in to partitions is for ease of management. You will probably want a fairly small root partition and a sizeable chunk dedicated to swap. There are two main reasons for using more divisions, but it depends on your usage and needs. One reason is to make backups and restores manageable. The bigger the partition, the longer it takes to back up and to recover if there is a problem. The other reason is to help contain runaway disk usage and sometimes to isolate one clump of users or applications from another clump of users or applications. For those reasons, I generally make the following partitions. partition Mount size comments a = / (root) 128MB b = swap 1.5 GB or more - 2.5 X the system memory. c = reserved whole slice for internal use e = /tmp 512 MB Occasionally something can fill /tmp and I don't want it overfilling some other partition. f = /usr 2.5 GB ports and a lot of stuff live there g = /var 1.5 GB more if I want a database living there also log files live there and can grow h = /home All of the remainder of the whole slice/disk Pick any name. /home is easy to remember I also move some directories such as /usr/local and /var/spool and /var/log and even /var/db/... in to the /home partition and make sym links if they start growing.. If you have a second hard disk then you might want to make one large slice and two partitions on it. One for additional swap and the rest in to extra space to use however you see fit. I typically mount mine as /work. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Computer System
On 2/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I bought a new system (it was on sale), it has 180 Gigabytes of hard drive. Naturally I want to slice it up, so where can I find the documentation on the slice/partition process and table. As I recall, I can make 4 hard slices/partitions and then I can further break-down 1 (or more of them) to have logical slices/partitions. Where can I find documentation on the logical slices/partitions and how to use them? Can I boot into a ( FreeBSD ) logical slice, and if so, how do I do it? (For the 4 hard slices, one uses function keys F1 thru F4 .) Has someone already setup the capability of booting into logical slices, and if so, where can I get it and its documentation? From a 40-50 minute excursion into qemu, FreeBSD does not enjoy linux logical partitions (slices), and I could not get it to install into one. Jerry McAllister's advice remains sound. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Computer System
Jerry McAllister writes: For those reasons, I generally make the following partitions. partition Mount size comments a = / (root) 128MB May I ask what OS version you're running? Because on my -CURRENT system: huff@ du /boot | sort -nr 151838 /boot 66596 /boot/kernel.old 66526 /boot/kernel 17810 /boot/kernel.generic 20 /boot/defaults 2 /boot/modules 2 /boot/firmware Su unless I'm doing sonething that causes bloat, 128mb will be woefully inadwquate. The machine as a whole has two disks, a 4 gig: Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a484M223M222M50%/ /dev/da0s1d989M295M615M32%/var plus 1 gig of swap, and a 45 gig: /dev/da1s1d 44G 33G7.3G82%/usr also plus 1 gig of swap. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]