Quoting John Long <codeb...@inbox.lv>:

On Mon, 2018-06-25 at 09:25 -0500, Vijay Sankar wrote:
Quoting John Long <codeb...@inbox.lv>:

> Been a while and don't have my other OpenBSD boxes accessible.
>
> What are the recommended partitions and appropriate sizes for
> people
> who want to track stable and possibly build the whole ports tree?
>
> Thanks,
>
> /jl

However, for the past year or so, I have had to increase the size of
/usr to 6G and /usr/local to 20G to build all the packages.

I can't remember now.. ports go under /usr/local, correct? What goes in
/usr that would require 6G?

Thanks,

/jl

Here is my df -h output -- Just as an FYI I was testing some workarounds for the samba virusfilter issue and then made some mistakes that screwed up KDE etc. So decided to build it from scratch and have about 5000 packages built right now with the following disk usage.

$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd0a     1005M    102M    852M    11%    /
/dev/sd0l      3.9G    1.8G    2.0G    48%    /builds
/dev/sd0k      127G    1.3G    119G     1%    /home
/dev/sd0d      3.9G    7.2M    3.7G     0%    /tmp
/dev/sd0f      5.9G    1.9G    3.8G    33%    /usr
/dev/sd0g      2.0G    185M    1.7G    10%    /usr/X11R6
/dev/sd0h     19.7G    9.4G    9.3G    50%    /usr/local
/dev/sd0j      5.9G    3.3G    2.3G    59%    /usr/obj
/dev/sd0i      2.0G    990M    929M    52%    /usr/src
/dev/sd0e     31.5G   57.9M   29.9G     0%    /var
/dev/sd0m      243G   83.7G    147G    36%    /usr/ports

Reason why I had to increase /usr from the default 2G to 6G was because I tend to build -current or -stable in addition to packages and the additional files in /usr/share/relink went above the 2G size. As a result I increased /usr partition to 6G.

Re. /usr/local, I used to be able to just run dpb (before 6.1) and get almost all the packages built without having to do any manual checks. So no packages were added to /usr/local earlier. But I may be missing something because nowadays I am able to only build around 2700 packages if I run dpb blindly. I then have to do a make package manually for critical items like cmake and others. I found out the hard way that if I clean stuff up, some packages such as window managers don't build for me. So I leave /usr/local as is which resulted in me having to increase the size of /usr/local. Also, for some packages such as webkit, I end up having to do a make clean all and then make package.

I may be doing something wrong so none of the above is a recommendation.


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

Reply via email to