[kwlug-disc] Old Man Yells at ZFS (was: Docker Host Appliance)

Khalid Baheyeldin kb at 2bits.com
Wed Jan 18 18:05:10 EST 2023


On Wed, Jan 18, 2023 at 5:17 PM William Park via kwlug-disc <
kwlug-disc at kwlug.org> wrote:

> What's the reason for partitioning in the first place?  I understand
> /etc and /boot.


Even /etc should not be a separate filesystem. It has to be on the root
partition
so when the "system" and daemons start, they have their configuration files
available ...


> But, for data, why not allocate the whole thing?
>

I fully agree. I learned this lesson the hard way back when minicomputers
running
UNIX had a puny 10MB drive. One field engineer partitioned a client's
system with
/var on its own partition, /home on another, and root on a third.

When the application started and was storing data, it ran out of space.
That would not
have happened if all of root, /home and /var were on a single partition.

Today we are not that restricted in size, but still, all it takes is a bad
app or bad configuration
(e.g. leaving debug output on for a chatty app) and a filesystem can fill
up quick.

Even on my laptop, using guvcview, which uses video for linux (v4l2). If I
unplug the
camera device before closing the application, then ~/.xsession-errors grows
immensly
in a few minutes.

So, I agree with William: partitions should be as large as the device
allows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20230118/2e8abaab/attachment.htm>


More information about the kwlug-disc mailing list