> On Dec 10, 2024, at 3:40 PM, Mike Fischer <fischer+obsd@lavielle.com> wrote:
>
> For a low-traffic site that should be fine.
>
> The actual disk footprint depends on your needs of course. Only you know what those are. How big are your DocumenRoot directories, databases and mailboxes?
The only large-ish site (30GB) will live on it's own block storage device. Everything else is under 1GB.
> It may make sense to partition the disk manually so that e.g. MySQL (MariaDB?) and the webserver have enough space in /var and OpenSMTPd has enough space in /var/mail and /home. Just make sure /usr/local is big enough for all your installed ports with some space to spare and I have done well with a swap partition equal to the RAM size. Also make sure you have enough reserve space to comfortable do future OpenBSD upgrades.
This is my concern. I've never been able to wrap my head around how anyone can predict their future disk usage -- and the penalty for getting it wrong under OpenBSD is quite severe... As far as I know, there's no good way to move / expand / reduce filesystems, and the only way forward is to rebuild from scratch with new numbers. Today, I have / and /var as the only two filesystems (plus swap), and I will graft additional block storage onto specific mount points if there's a subdirectory that expands beyond what has been allocated.
Thanks for your comments.
No comments:
Post a Comment