Re: Best partitioning scheme for my HDD? Please advise.
On Wednesday 21 February 2007 01:01, Roger Olofsson wrote: > Hello again Joe, > > Maybe it depends on what packages you add when running sysinstall? I > have 6.2 on a 6Gb Fujitsu drive and it fits nicely. I only pick kernel > sources from the packages though. Only problem I've noticed is /usr/obj > filling up when making buildworld but a symlink to another drive takes > care of that. > Hi Roger, When I install, I choose from packages, KDE, which has many dependencies, along with various other packages that I use. That puts it over the top for the default auto settings which cause /usr to be too small. Since I only have a 56k dialup connection, I have no intention of trying to do a buildworld or use the ports to install large packages like KDE. It would take too long to download. I'll just use what comes on the CD. I'll wait for the next release to upgrade the full system from CD, except for security patches. For now, I guess I'll just go with the scheme that has worked so far, and if I run into any problems down the road, I'll try something different. I suppose I could just put everything under / but that might introduce other problems such as an unusably corrupted filesystem after a hard crash or excessive fragmentation. I guess the only thing that I need to do with the scheme that I've used before is to increase the /var from 256Mb to 512Mb to be on the safe side, and I'll set the system to keep the logs trimmed. Thanks for the suggestions to all who've helped. Its appreciated. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
What would be the best sizes for the disk partitions so that I don't run out of space on any of them while also leaving the maximum amount of space possible for the future software to be installed? While I'd certainly go with a single partition as a solution for your setup, if you really insisted on having separate partitions, you could use a logical volume manager like Vinum which should, if I'm not mistaken, allow you to resize partitions on the fly, reducing the unused partitions and increasing the greedy ones. -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Hello again Joe, Maybe it depends on what packages you add when running sysinstall? I have 6.2 on a 6Gb Fujitsu drive and it fits nicely. I only pick kernel sources from the packages though. Only problem I've noticed is /usr/obj filling up when making buildworld but a symlink to another drive takes care of that. Joe Vender skrev: On Tuesday 20 February 2007 13:50, Roger Olofsson wrote: Hello Joe, May I suggest a small trick that really makes your life alot easier. Go with the default values when you install the FreeBSD, ie accept the sysinstall generated autos. (Make sure to make / and swap the first partitions though). Now, whenever a partition gets filled up, just do a symlink to another partition. The command is ln -s and is a real lifesaver. Whenever all partitions are full, just stick another HD in the machine and ln -s to that drive. I can't do this. When using the auto defaults, /usr fills up even before the installation is complete. But the suggestion is interesting for handling other slices for an already installed system. Thanks for the suggestion, Roger. Right now, I'm checking into just adding a PCI ATA/100 controller - my system is a 1999 model and uses ATA/33 :-( and upgrading my HDD to a more modern 40 or 80 Mb drive, possibly a Western Digital Caviar SE WD800JB 80GB IDE Ultra ATA100 Hard Drive. I can get the drive for around $45 at newegg.com, and it seems to be well received by customer reviews. Joe ___ 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: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 13:50, Roger Olofsson wrote: > Hello Joe, > > May I suggest a small trick that really makes your life alot easier. Go > with the default values when you install the FreeBSD, ie accept the > sysinstall generated autos. (Make sure to make / and swap the first > partitions though). > > Now, whenever a partition gets filled up, just do a symlink to another > partition. The command is ln -s and is a real lifesaver. Whenever all > partitions are full, just stick another HD in the machine and ln -s to > that drive. > I can't do this. When using the auto defaults, /usr fills up even before the installation is complete. But the suggestion is interesting for handling other slices for an already installed system. Thanks for the suggestion, Roger. Right now, I'm checking into just adding a PCI ATA/100 controller - my system is a 1999 model and uses ATA/33 :-( and upgrading my HDD to a more modern 40 or 80 Mb drive, possibly a Western Digital Caviar SE WD800JB 80GB IDE Ultra ATA100 Hard Drive. I can get the drive for around $45 at newegg.com, and it seems to be well received by customer reviews. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 13:38, Lowell Gilbert wrote: ... > In a system that tight for space (for running KDE, anyway), I would > just put all the space (aside from some swap) into a single root > partition. The risks of something running away and filling a > partition are much less of an issue than the risks of filling up a > partition with legitimate data and needing to play games to keep > everything installed. > > Greg Lehey has been recommending this approach in his books for at > least a couple of editions now. This is the approach I take with slackware, since I've never had any problems with system hangs/reboots using it. But, what concerns me about this approach when using FreeBSD is that I've had spontaneous reboot problems with FreeBSD. Although I think I've narrowed the solution down to just not using kernel ppp, since I get the reboots using pppd whether or not I've set debug.mpsafenet=0 on my system, there may be other issues involved. With everything under /, a spontaneous reboot might leave the filesystem corrupted and unusable, correct? I cound certainly try it, though, once I know that I've taken care of the rebooting issue for good. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Hello Joe, May I suggest a small trick that really makes your life alot easier. Go with the default values when you install the FreeBSD, ie accept the sysinstall generated autos. (Make sure to make / and swap the first partitions though). Now, whenever a partition gets filled up, just do a symlink to another partition. The command is ln -s and is a real lifesaver. Whenever all partitions are full, just stick another HD in the machine and ln -s to that drive. Say f'rinstance that your /var/log gets filled up. Just symlink it to another partition with more space. (Of course when it comes to logs, you should always set these to rotate and newsyslog.conf is your friend.) This works for everything, you can of course change stuff like the mysql-server.sh script to point database folders to different places than default but why bother when a simple symlink does the trick? Now, the next trick I'd recommend is a bit more complicated to setup but it's basically the natural evolution of a symlink on a local machine. If you have another FreeBSD machine in your network, make one a NFS daemon and the other a NFS client and NFS-mount a drive from one machine to the other over the network. You could also use Samba to do this if your other machines aren't FreeBSD. Good luck! Greetings /Roger Joe Vender skrev: I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to install the ports collection and also KDE. I will operate from the KDE environment using FreeBSD as a standalone desktop machine connected to the net via a dialup internet connection. What would be the best sizes for the disk partitions so that I don't run out of space on any of them while also leaving the maximum amount of space possible for the future software to be installed? My partitions will be: / swap /var /tmp /usr as suggested using the auto option during slice creation. I've found that if I use the default sizes that are chosen by the installer using the auto option, the /usr partition fills up before everything is installed and the installation fails. If I remember correctly, the auto feature sets the sizes around the following sizes for my HDD: / ~500MB swap~600MB /var~1300MB /tmp~ 500MB /usr~3GB I've played around with the sizes, reducing /var to around 350Mb, / to around 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this way, I got FreeBSD installed OK, but I'm considering installing it for a final time and using it exclusively for my desktop after testing various linuxes and FreeBSD and comparing them. So, I would like to get the sizes of FreeBSD's slices optimized. I'm sure there are plenty of people in the user community with a similar usage/size situation who can advise me. Thanks, Joe ___ 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: Best partitioning scheme for my HDD? Please advise.
Joe Vender <[EMAIL PROTECTED]> writes: > I've played around with the sizes, reducing /var to around 350Mb, / to around > 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this > way, I got FreeBSD installed OK, but I'm considering installing it for a > final time and using it exclusively for my desktop after testing various > linuxes and FreeBSD and comparing them. So, I would like to get the sizes of > FreeBSD's slices optimized. I'm sure there are plenty of people in the user > community with a similar usage/size situation who can advise me. In a system that tight for space (for running KDE, anyway), I would just put all the space (aside from some swap) into a single root partition. The risks of something running away and filling a partition are much less of an issue than the risks of filling up a partition with legitimate data and needing to play games to keep everything installed. Greg Lehey has been recommending this approach in his books for at least a couple of editions now. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 10:11, Jerry McAllister wrote: ... > If you are not using a database system like MySQL, your later > scheme is probably good. I might make /var 512 MB, but otherwise > not change much. No, not using a database system. > 6 GB is kind of a small disk for 'modern' times > but you should be able to run OK. You're telling me! It makes me nervous. > You will need to keep your logs > in /var/log cleaned out regularly. Yes, I'll do that. > You could trim / a little more > if you really need to. That is what I make mine, but on a much > bigger disk. You could get by with 160 MB or even a little less. > Making it 128 MB might be cutting things a little close. > > Note that good Seagate and other major brand disks in the 70 GB range > are getting pretty cheap now from places like NewEgg, etc. You might > think about that. That's a good idea. I'll check that out. I wonder, will the newer IDE HDDs have any problems with a motherboard that is a 1999 model? Any suggestions as to a good quality, low priced HDD in the 40-70 Gb range that I could put in my 1999 Compaq Presario 5184? > > Have fun, > > jerry > > > Thanks, > > Joe > > ___ > > 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: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 10:05, Sten Daniel Soersdal wrote: > Perhaps it is possible to reduce / to ~128 mb? boot up and see Right now, I'm running slackware, but if I remember correctly, the / partition contained about 40 to 60 Mb or data. > estimate that you need several mb free and estimate double of > /boot/kernel directory (if you install new kernel you get to keep the > old one, therefore estimate double that directory size). > Swap ... well for a successful crash dump you need as much as swap as > you have memory. I have 312Mb of usable RAM, so I made the swap around double that. > /var can be further reduced to perhaps 512mb or perhaps even less? I wasn't sure how much I'd need in /var, so I didn't want to undersize it too much. But, I don't spool large print jobs, and I set the logs to be trimmed regularly. > > Just a (cluttered) suggestion. > > The cool part about FreeBSD is what you can get away with, just by > symlinking (ln -s) a few folders here and there. After all, it's just > your desktop, right? Agreed. I'm just experimenting and learning at this point. Thanks for the suggestions, Sten. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Joe Vender wrote: > I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to > install the ports collection and also KDE. I will operate from the KDE > environment using FreeBSD as a standalone desktop machine connected to the > net via a dialup internet connection. What would be the best sizes for the > disk partitions so that I don't run out of space on any of them while also > leaving the maximum amount of space possible for the future software to be > installed? > My partitions will be: > / > swap > /var > /tmp > /usr > > as suggested using the auto option during slice creation. > > I've found that if I use the default sizes that are chosen by the installer > using the auto option, the /usr partition fills up before everything is > installed and the installation fails. If I remember correctly, the auto > feature sets the sizes around the following sizes for my HDD: > / ~500MB > swap ~600MB > /var ~1300MB > /tmp ~ 500MB > /usr ~3GB > Perhaps it is possible to reduce / to ~128 mb? boot up and see estimate that you need several mb free and estimate double of /boot/kernel directory (if you install new kernel you get to keep the old one, therefore estimate double that directory size). Swap ... well for a successful crash dump you need as much as swap as you have memory. /var can be further reduced to perhaps 512mb or perhaps even less? if you do buildworld then /var/tmp/ might be used more. Perhaps you could merge / and /var and symlink /var/tmp with say /usr/tmp ? /tmp can be reduced, you can even remove it completely and use tmpfs for that partition. /usr needs the rest Just a (cluttered) suggestion. The cool part about FreeBSD is what you can get away with, just by symlinking (ln -s) a few folders here and there. After all, it's just your desktop, right? -- Sten Daniel Soersdal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Mon, Feb 19, 2007 at 11:37:12PM -0600, Joe Vender wrote: > I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to > install the ports collection and also KDE. I will operate from the KDE > environment using FreeBSD as a standalone desktop machine connected to the > net via a dialup internet connection. What would be the best sizes for the > disk partitions so that I don't run out of space on any of them while also > leaving the maximum amount of space possible for the future software to be > installed? > My partitions will be: > / > swap > /var > /tmp > /usr > > as suggested using the auto option during slice creation. > > I've found that if I use the default sizes that are chosen by the installer > using the auto option, the /usr partition fills up before everything is > installed and the installation fails. If I remember correctly, the auto > feature sets the sizes around the following sizes for my HDD: > / ~500MB > swap ~600MB > /var ~1300MB > /tmp ~ 500MB > /usr ~3GB > > > I've played around with the sizes, reducing /var to around 350Mb, / to around > 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this > way, I got FreeBSD installed OK, but I'm considering installing it for a > final time and using it exclusively for my desktop after testing various > linuxes and FreeBSD and comparing them. So, I would like to get the sizes of > FreeBSD's slices optimized. I'm sure there are plenty of people in the user > community with a similar usage/size situation who can advise me. If you are not using a database system like MySQL, your later scheme is probably good. I might make /var 512 MB, but otherwise not change much. 6 GB is kind of a small disk for 'modern' times but you should be able to run OK. You will need to keep your logs in /var/log cleaned out regularly. You could trim / a little more if you really need to. That is what I make mine, but on a much bigger disk. You could get by with 160 MB or even a little less. Making it 128 MB might be cutting things a little close. Note that good Seagate and other major brand disks in the 70 GB range are getting pretty cheap now from places like NewEgg, etc. You might think about that. Have fun, jerry > > Thanks, > Joe > ___ > 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]"