Re: Partitions size for 80GB HDD and 2GB RAM
On Thu, Dec 20, 2007 at 03:34:30PM -0800, Alexander Rudyk (Akvelon) wrote: > Thank all of you for really helpful answers. > > I am thinking about this configuration (might be helpful for someone in the > future) > > a: / (root) 256 MB > b: /swap 4096 MB > d: /tmp768 MB > e: /usr 8192 MB > f: /var 2048 MB > g: /home all the rest. > > Think that 8GB will be enough for /usr ports, local and build os from scratch, > and 2GB for /var - in any case I can symlink some of those to /home Depends on what things you build. Some requite huge amounts of space. Openoffice is one example. Of course, for many of these, you can get prebuilt packages. jerry > > So we need about 15GB of free storage only for FreeBSD needs. > > Thx > Alex > > > -Original Message- > From: Nikola Le??i?? [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 20, 2007 12:13 PM > To: Alexander Rudyk (Akvelon) > Cc: FreeBSD-questions@FreeBSD.org > Subject: Re: Partitions size for 80GB HDD and 2GB RAM > > On Thu, 20 Dec 2007 11:26:41 -0800 > "Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> wrote: > > > Nikola, > > > > Thank you for your extender answer. I have two more comments. > > > > Did you consider /var as your email db partition. I really don???t > > know how big will be my mail db on freebsd, but after half of year > > I have about 4GB outlook mail db. So 1GB for /var might be not enough > > in my case. > > The hier(7) manpage is very useful to understand the default directory > structure: > > > http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html > > As for mail, it depends on how you plan to receive and handle it; if you > just download mail from pop3 account, it will be stored in your home by > a mail client (this goes as well for mail you export from Outlook to > e.g. Thunderbird). For locally (system) delivered mail, /var/spool is > the default place, but unless you want yo use your laptop as a mail > server, it's unlikely you will store your mail there. > > > Having /home as part of /usr is the good point. But in case of backup > > it make sense to have /home as separate partition. What you think > > about this? > > Of course it's very useful for backups. I just thought it was useful to > warn you about how much space /usr/ports could need because the default > installation procedure on FreeBSD is to compile sources (of thirs > party applications and of FreeBSD itself). > > As a useful example on how much space you might need, here are rough > sizes on my home desktop computer, used for everyday work. I have ~850 > ports installed. > > /usr/ports~2G (with current distfiles and packages that happen > to be there + you will need at least 2-3G for > large upgrades, sometimes > 10G) > /usr/local~5G (third party applications + additions such as > TeXLive = ~1G) > /usr/home~20G > - > /usr total used: ~30G (includes FreeBSD itself + some other smaller > storages) > > If you plan to build FreeBSD itself in the future, then /usr must be > even bigger. If all this leaves enough room for /home for you, then > it's certainly very useful to make it separate partition. > > -- > Nikola Le??i?? :: ?? > ___ > 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: Partitions size for 80GB HDD and 2GB RAM
Thank all of you for really helpful answers. I am thinking about this configuration (might be helpful for someone in the future) a: / (root) 256 MB b: /swap 4096 MB d: /tmp768 MB e: /usr 8192 MB f: /var 2048 MB g: /home all the rest. Think that 8GB will be enough for /usr ports, local and build os from scratch, and 2GB for /var - in any case I can symlink some of those to /home So we need about 15GB of free storage only for FreeBSD needs. Thx Alex -Original Message- From: Nikola Lečić [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 12:13 PM To: Alexander Rudyk (Akvelon) Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM On Thu, 20 Dec 2007 11:26:41 -0800 "Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> wrote: > Nikola, > > Thank you for your extender answer. I have two more comments. > > Did you consider /var as your email db partition. I really don’t > know how big will be my mail db on freebsd, but after half of year > I have about 4GB outlook mail db. So 1GB for /var might be not enough > in my case. The hier(7) manpage is very useful to understand the default directory structure: http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html As for mail, it depends on how you plan to receive and handle it; if you just download mail from pop3 account, it will be stored in your home by a mail client (this goes as well for mail you export from Outlook to e.g. Thunderbird). For locally (system) delivered mail, /var/spool is the default place, but unless you want yo use your laptop as a mail server, it's unlikely you will store your mail there. > Having /home as part of /usr is the good point. But in case of backup > it make sense to have /home as separate partition. What you think > about this? Of course it's very useful for backups. I just thought it was useful to warn you about how much space /usr/ports could need because the default installation procedure on FreeBSD is to compile sources (of thirs party applications and of FreeBSD itself). As a useful example on how much space you might need, here are rough sizes on my home desktop computer, used for everyday work. I have ~850 ports installed. /usr/ports~2G (with current distfiles and packages that happen to be there + you will need at least 2-3G for large upgrades, sometimes > 10G) /usr/local~5G (third party applications + additions such as TeXLive = ~1G) /usr/home~20G - /usr total used: ~30G (includes FreeBSD itself + some other smaller storages) If you plan to build FreeBSD itself in the future, then /usr must be even bigger. If all this leaves enough room for /home for you, then it's certainly very useful to make it separate partition. -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
On Thu, 20 Dec 2007 11:26:41 -0800 "Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> wrote: > Nikola, > > Thank you for your extender answer. I have two more comments. > > Did you consider /var as your email db partition. I really don’t > know how big will be my mail db on freebsd, but after half of year > I have about 4GB outlook mail db. So 1GB for /var might be not enough > in my case. The hier(7) manpage is very useful to understand the default directory structure: http://www.freebsd.org/cgi/man.cgi?query=hier&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html As for mail, it depends on how you plan to receive and handle it; if you just download mail from pop3 account, it will be stored in your home by a mail client (this goes as well for mail you export from Outlook to e.g. Thunderbird). For locally (system) delivered mail, /var/spool is the default place, but unless you want yo use your laptop as a mail server, it's unlikely you will store your mail there. > Having /home as part of /usr is the good point. But in case of backup > it make sense to have /home as separate partition. What you think > about this? Of course it's very useful for backups. I just thought it was useful to warn you about how much space /usr/ports could need because the default installation procedure on FreeBSD is to compile sources (of thirs party applications and of FreeBSD itself). As a useful example on how much space you might need, here are rough sizes on my home desktop computer, used for everyday work. I have ~850 ports installed. /usr/ports~2G (with current distfiles and packages that happen to be there + you will need at least 2-3G for large upgrades, sometimes > 10G) /usr/local~5G (third party applications + additions such as TeXLive = ~1G) /usr/home~20G - /usr total used: ~30G (includes FreeBSD itself + some other smaller storages) If you plan to build FreeBSD itself in the future, then /usr must be even bigger. If all this leaves enough room for /home for you, then it's certainly very useful to make it separate partition. -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
On Thu, Dec 20, 2007 at 12:40:46PM -0700, James Harrison wrote: > On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: > > Nikola, > > > > Thank you for your extender answer. I have two more comments. > > > > Did you consider /var as your email db partition. I really don???t > > know how big will be my mail db on freebsd, but after half of year > > I have about 4GB outlook mail db. So 1GB for /var might be not enough > > in my case. > > > > Having /home as part of /usr is the good point. But in case of backup > > it make sense to have /home as separate partition. What you think about > > this? > > > > Thx > > Alex > > > > > > > /home is just a symlink to /usr/home, so that wouldn't help. Not unless you make it that way. If you do not create a /home partition then it can become just a symlink to /usr/home. But, it is not if you make a /home partition. Then it gets turned in to a real mount point. jerry > > > cd / > ls -l > lrwxr-xr-x 1 root wheel8 Nov 2 05:37 home -> usr/home > > > You might want to put /usr/home on a separate partition, but that's your > call. > > James > > ___ > 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: Partitions size for 80GB HDD and 2GB RAM
James Harrison wrote: On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: Nikola, Thank you for your extender answer. I have two more comments. Did you consider /var as your email db partition. I really don’t know how big will be my mail db on freebsd, but after half of year I have about 4GB outlook mail db. So 1GB for /var might be not enough in my case. Having /home as part of /usr is the good point. But in case of backup it make sense to have /home as separate partition. What you think about this? Thx Alex /home is just a symlink to /usr/home, so that wouldn't help. cd / ls -l lrwxr-xr-x 1 root wheel8 Nov 2 05:37 home -> usr/home You might want to put /usr/home on a separate partition, but that's your call. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I know of people that put /usr/home on a separate physical disk, then they can recover more easily in the event of a system catastrophe. Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
On Wed, Dec 19, 2007 at 05:17:50PM -0800, Alexander Rudyk (Akvelon) wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop tasks. > Here is partitions: > /root > /var > /usr > /home > /swap I would recommend two possibilities, depending on how you you use the machine and how many ports you intend to install. One is to have only / and swap. For that, make swap 4096 MB and root the rest. This presumes you will not be running any server which is a realistic for a laptop and then you will not be doing backups very much and that you will be the only one with accounts on the machine. The other would be a more standard division which makes backups easier and tends to protect the system from runaway users and processes more. a: / (root) 256 MB b: /swap 4096 MB d: /tmp768 MB e: /usr 4096 MB f: /var 2048 MB g: /home all the rest. Some combine root and /usr in to one large partition and then make the rest as above. Others make root, /usr and /var one partition the size of the sum of those above and then keep the rest. I like to at least keep /tmp and /home separate from the OS partitions, namely /, /usr and /tmp. And, of course, at least some swap should be in its own partition. Alternatively, you could make /var and /usr smaller and move /var/log, /var/spool, /usr/ports and /usr/local to /home and make symlinks for them. Then /var might be 1024 MB and /usr might be 2048 MB. If you let your Email inbox grow to large size before cleaning it out, then you might also want to move /var/mail to /home. They all would take up just as much room, but it would be out of /home where they could grow as needed without having to know how much in advance.You want the initial /usr to be at least 2048 MB in order to initially install source and the base ports tree. Then, before you do your fisrt csup of the system and of ports and installation of any of the ports, you do the move and make the symlinks. That will leave /usr a little empty, but no problem. If you are running some database that uses /var/db, you have to take that in to account as well. It can grow pretty fast. Note, I find the handbook suggested partition sizes to be a little out of date because of the current trend of increasing size of source and the ports tree, plus, /usr no longer seems to be the assumed location of user's home(login) directories any more. They now tend to go in /home. But, this tends to end up being a religious issue, so find what works for you and go with that and ignore all we soothsayers. jerry > > Thx > ___ > 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: Partitions size for 80GB HDD and 2GB RAM
On Thu, 2007-12-20 at 11:26 -0800, Alexander Rudyk (Akvelon) wrote: > Nikola, > > Thank you for your extender answer. I have two more comments. > > Did you consider /var as your email db partition. I really don’t > know how big will be my mail db on freebsd, but after half of year > I have about 4GB outlook mail db. So 1GB for /var might be not enough > in my case. > > Having /home as part of /usr is the good point. But in case of backup > it make sense to have /home as separate partition. What you think about this? > > Thx > Alex > > /home is just a symlink to /usr/home, so that wouldn't help. cd / ls -l lrwxr-xr-x 1 root wheel8 Nov 2 05:37 home -> usr/home You might want to put /usr/home on a separate partition, but that's your call. James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Partitions size for 80GB HDD and 2GB RAM
Nikola, Thank you for your extender answer. I have two more comments. Did you consider /var as your email db partition. I really don’t know how big will be my mail db on freebsd, but after half of year I have about 4GB outlook mail db. So 1GB for /var might be not enough in my case. Having /home as part of /usr is the good point. But in case of backup it make sense to have /home as separate partition. What you think about this? Thx Alex -Original Message- From: Nikola Lečić [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 10:57 AM To: Alexander Rudyk (Akvelon) Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Partitions size for 80GB HDD and 2GB RAM On Wed, 19 Dec 2007 17:17:50 -0800 "Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD > and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will > be used to web development (RubyOnRails), entertaiment (photo, music, > video), web browsing and emailing, so no server side task will be > handled. > > How you suggest to split 80GB between partitions to solve all laptop > tasks. Here is partitions: > /root > /var > /usr > /home > /swap Hi Alexander, You can find the recommendations regarding partition sizes in "Allocating Disk Space" chapter of the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html This means that your partition layout should be like this: / 512M swap 4096M (2x RAM) /tmp512M /var 1024M /usrrest /var's size depends, among other things, on how many logs you want to keep there (where they live by default); since your machine will not be a server, 512M should be ok. Please note that /var/db/, the default place for info about ports installed, occupies roughly 200M or more. /usr depends on how many applications you need to run. Please note that /usr is also the default place where applications will be compiled (inside /usr/ports) and where a lot of distfiles (sources) or (precompiled) packages will be stored, so huge upgrades can take a lot of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G, depending on cleaning policy you choose.] Therefore, since you have 80G, it's not a bad idea to use /usr for /home as well (i.e. to have /usr only; home will be /usr/home, symlinked from /home). Otherwise, you can easily encounter too much (wasted) or too little free space on /usr. I've recently configured a laptop with the aforementioned partition sizes (with smaller swap). (Besides this, don't forget to read about the difference between "dedicated" and "sliced" disks in the Handbook.) Regards, -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
Apologies, two corrections: On Thu, 20 Dec 2007 19:56:36 +0100 Nikola Lečić <[EMAIL PROTECTED]> wrote: [...] > /var's size depends, among other things, on how many logs you want to > keep there (where they live by default); since your machine will not > be a server, 512M should be ok. Please note that /var/db/, the default correction: /var/db/pkg > place for info about ports installed, occupies roughly 200M or more. ^ (/var/db) /var/db/pkg alone is smaller, count on up to 100M. -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
On Wed, 19 Dec 2007 17:17:50 -0800 "Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD > and 2GB RAM. FreeBSD will be the only OS on the laptop. Laptop will > be used to web development (RubyOnRails), entertaiment (photo, music, > video), web browsing and emailing, so no server side task will be > handled. > > How you suggest to split 80GB between partitions to solve all laptop > tasks. Here is partitions: > /root > /var > /usr > /home > /swap Hi Alexander, You can find the recommendations regarding partition sizes in "Allocating Disk Space" chapter of the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html This means that your partition layout should be like this: / 512M swap 4096M (2x RAM) /tmp512M /var 1024M /usrrest /var's size depends, among other things, on how many logs you want to keep there (where they live by default); since your machine will not be a server, 512M should be ok. Please note that /var/db/, the default place for info about ports installed, occupies roughly 200M or more. /usr depends on how many applications you need to run. Please note that /usr is also the default place where applications will be compiled (inside /usr/ports) and where a lot of distfiles (sources) or (precompiled) packages will be stored, so huge upgrades can take a lot of place. [Some applications need ~500M (Firefox), ~1G (gcc42) or several gigabytes (OpenOffice) to compile. Distfiles can use 1-3G, depending on cleaning policy you choose.] Therefore, since you have 80G, it's not a bad idea to use /usr for /home as well (i.e. to have /usr only; home will be /usr/home, symlinked from /home). Otherwise, you can easily encounter too much (wasted) or too little free space on /usr. I've recently configured a laptop with the aforementioned partition sizes (with smaller swap). (Besides this, don't forget to read about the difference between "dedicated" and "sliced" disks in the Handbook.) Regards, -- Nikola Lečić :: Никола Лечић ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Partitions size for 80GB HDD and 2GB RAM
Why /var partition is so big? How it will be used? -Original Message- From: Frank Bonnet [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 1:35 AM To: Alexander Rudyk (Akvelon) Subject: Re: Partitions size for 80GB HDD and 2GB RAM Alexander Rudyk (Akvelon) wrote: > Hi all > > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop tasks. > Here is partitions: > /root > /var > /usr > /home > /swap > oops you miss the / partition ! I suggest / 2 Gb /var10 Gb /usr30 Gb swap2 Gb the rest for /root and /home -- Cordialement Frank Bonnet ESIEE Paris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Partitions size for 80GB HDD and 2GB RAM
"Alexander Rudyk (Akvelon)" <[EMAIL PROTECTED]> writes: > I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB > RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web > development (RubyOnRails), entertaiment (photo, music, video), > web browsing and emailing, so no server side task will be handled. > > How you suggest to split 80GB between partitions to solve all laptop tasks. > Here is partitions: > /root > /var > /usr > /home > /swap You might want to consider a single partition (other than swap). The only reason I separate partitions these days is to make backups easier. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"