About
This blog is written by me, Trond Endrestøl. I live in Gjøvik, Norway, where I work as a systems administrator.
In my line of duty, I manage systems such as Cisco routers, switches, and wireless, Dell and HP laptops, desktops, and servers, HP printers, FreeBSD (mostly server systems, but also the occasional desktop system, usually my own), Microsoft Windows, Novell NetWare, Océ Ricoh/Nashuatec Canon network photocopiers, and various other hardware and software in all shapes and sizes.
I’ll try and keep this blog a technical oriented blog, and try my very best to keep any controversial, political, and personal matters private.
My blog is divided between posts written in English and in Norwegian. My apologies to those who only know one of these languages.
Ben Rockwood once stated “My blog is not for you, it’s for me”. The same holds true for my blog. Should anything of interest happen in my professional life, anything worth sharing with the rest of the world, then I’ll probably write a few words and post it here.
Don’t be shy. Leave constructive comments if you have anything to say.
If you prefer to communicate in private, simply drop me an email at Trond(dot)
Endrestol(at)
ximalas(dot)
info.
You may encrypt whatever you wish to communicate using my OpenPGP public key.
Also, I tend to hang out on IRC. You’ll find me on EFnet, and I bet you have already guessed what nick/handle I use.
Dan Langille
When I was searching for ‘zfs properties freebsd ports tree’ I found https://ximalas.info/category/zfs/
Oh wait, I know this guy!
Trond Endrestøl
It looks like you might have hit jackpot, Dan. If you want to know how I deal with ZFS, have a look at my (now not so) secret dungeon at https://ximalas.info/~trond/create-zfs/canmount/. The top few files are the notes and shell script I use for creating ZFS systems under my care.
Dan Langille
I’ve never tried separate filesystems for data11/base & data11/pg_wal before on ZFS. Do you notice a difference?
Trond Endrestøl
I have only applied the advice I found in the book “FreeBSD Mastery: Advanced ZFS” written by Allan Jude and Michael W. Lucas, and what these gents wrote in their ;login: article https://www.usenix.org/system/files/login/articles/login_winter16_09_jude.pdf. I haven’t run any tests to see if these suggestions make any difference, be it MySQL or PostgreSQL. It probably makes sense to tell ZFS not to cache everything as the various DBMSs expertly cache the inputs and outputs of each query.
Also, https://ximalas.info/~trond/create-zfs/canmount/freebsd-zfs-2019-04-zfs-filesystems.txt lists what my ZFS layout would look like if I have separate boot, root, and data pools.
Dan Langille
How do you get the * in the zfs list output? I get none.
e.g. (Pay attention to the *s. They tell you where a property is set.)
Trond Endrestøl
It’s nothing magical, I edited the file by hand based on what
zfs get -s local all
told me.Shiggitay
Thanks for this guide! I have hardware that I’m running FreeBSD and Windows on, so not a VM, but I adapted elements of it to make what I wanted to work, work (mostly). I can’t get it to show my boot entries from refind.conf without it erroring saying that it can’t find the efi files I define…. I can only get it working if I leave “scanfor” commented out and just let it find my OSes without it… I have FreeBSD 13.2 and Windows 10 on separate SSDs in my miniPC I got.
Cheers!
Trond Endrestøl
Having multiple ESPs might be the cause. In UEFI the filesystems are named
fs0:
,fs1:
, and so on. Maybe you should prefix your boot entries withfs0:
orfs1:
as appropriate inrefind.conf
. Try this and let us know how it went.