Aaron's blog

In the Beginning was the Command Line by Neal Stephenson

By aaron.axvig, Wed, 02/07/2024 - 17:10
Date completed
1 year 1 month ago

An interesting read, weaving between topics of operating system histories and philosophies.  I am about a year into my Linux journey and I think this mostly motivational for me to continue that, but also made me think what would have been different if had succeeded in my experiments to get Linux running at home in the basement during my high school years.  I remember burned Mandrake Linux CDs and also Ubuntu ones that I got in the mail for free.

Completion status
Rating

Migrating VMs from KVM/QEMU to Proxmox including Ceph

By aaron.axvig, Tue, 01/16/2024 - 22:28

Here is my process.  Assume the VM is named zabbix, one of the Proxmox hosts is named proxmox1.example.com, the ID of your new VM is 1015, and your Ceph pool is named FirstPool.

  • Shut down the VM. (optionally change the interface name in /etc/network/interfaces to ens18 first)
  • Disable autostart on the VM: virsh autostart --disable --domain zabbix
  • Copy the qcow2 file to the Proxmox server.  A couple options, all run from the old KVM server (check source/destination order of scp command!):
    • To the Proxmox local disk: scp /data/vms/zabbix.qcow2 root@proxmox1.example.com:/var/lib/vz/images/zabbix.qcow2
    • Or maybe your VMs are big and your Proxmox disks are small.  You can copy directly to a CephFS if you have created one: scp /data/vms/zabbix.qcow2 root@proxmox1.example.com:/mnt/pve/cephfs/zabbix.qcow2
  • Import the VM into Proxmox: qm create 1015 --scsi0 FirstPool:0,import-from=/var/lib/vz/images/zabbix.qcow2 --boot order=scsi0  FirstPool is the Ceph pool.  It creates a disk in there automatically named vm-1015-disk-0.
  • Find the VM in the Proxmox web GUI and make some changes.  Probably many of these could be included in the previous step.
    • Add a network adapter.
    • Bump up CPU cores and RAM to whatever you want.
    • Change "Start at boot" to Yes.
    • Change the name of the VM (to "zabbix" for this example).
    • Change the OS type.
  • Boot the VM
  • If you didn't before shutting down, change the interface name in /etc/network/interfaces to ens18.  Make sure you check the interface name with ip a first to verify that it is ens18.  I have no idea why mine are always set to that but it seems consistent.

BTW copying to CephFS could be slower.  I have three nodes, all SSDs, and 1gbps connections and it seems to run at about 35MB/s versus 120MB/s that I was seeing to local disk.  Of course the biggest VMs need to be copied to slower storage!  But then that pain was dulled when I observed that my import speeds were over 1GB/s which is way faster than when importing from local storage.

Even though I think I have thin provisioning enabled in KVM, it seems to copy the full disk size across the network, and into the .qcow2 file..  But then when it imports into Ceph it seems to be thin provisioned again.  Smart but mysterious.

Seeing surprisingly high Ceph space usage afterwards?  You could be like me and assume that thin-provisioning is broken.  Or just go delete that .qcow2 (now that you have imported it) that you stuffed onto the CephFS which gets replicated 3x with no thin provisioning.

Aaron, Anna, and Alice in 2023

By aaron.axvig, Thu, 12/28/2023 - 09:11

2023 was an exciting year.  First in our minds is the joy of watching Alice grow from a 2-month infant to a 14-month almost walker.  And Anna doubled-up on her stay-at-home-mom duties for the first couple months of the year by babysitting nephew Xander as well. 

Anna's grandpa in Minot passed away at the end of January so she was in Minot almost a week, spending time with far-flung relatives and planning the funeral.  Aaron went up a couple days later, having used his evenings alone at home to work feverishly on installing a new range hood.

Installed range hood

Next on the project list was installing radiators in the nursery and guest bedroom.  The baby was getting cold!  With that plumbing work done we were able to close up the wall in the dining room and mostly finish the built-in cabinet below and surrounding millwork. 

Louise on a pile of snow

It was a winter with a lot of snow!  We were very thankful to have a snowblower and completely filled the backyard with snow.  As a fun winter activity Aaron made an effort to make bread once or twice a week, and eventually found some good recipes.  Aaron also started some purple coneflower seedlings from seeds that Grandma Jean had picked.

Coneflower seedlings

In April we closed on the shared purchase with Aaron's parents of a 10 acre lot in south Bismarck.  Aaron's sister and parents simultaneously closed on an adjoining 5 acre lot.  Due to some complications this closing had been in process for exactly one year so it was a relief to finally have it done.  We hope to build a home there in about 5 years. 

In June Aaron traveled to Daytona to be best man in Simon and Madalyn's wedding.  The wedding of course was great and exciting, but also Aaron rented an electric car so had some fun with that new experience. 

Early summer saw a lot of changes to our front yard.  Aaron fixed many leaks on the sprinkler system and moved many sprinkler heads that the new (2-year-old!) fence interfered with.  Then he dug in landscaping edging for flower beds around all of the front yard fence and for mulch circles around a few trees.  New grass in the front yard sprouted nicely and now we finally have no dirt piles up there.  Eight new daylily varieties purchased at the annual Daylily Society auction went into the new flower beds along with some hostas, and then they were completely filled when the neighbor started thinning out her greenery and brought over ferns, irises, daisies, and many more.  The highlight of the flowers this year was trying dahlias for the first time.

The porch had one remaining project—the skirting.  Through July and August Aaron worked away on that and it turned out great.  So the porch is officially complete now. 

In the back yard, the eye-sore shed was torn down with Eliot's help when his family visited. But we didn't get that corner of the yard completely cleaned up yet...maybe next year!  Now with no shed, garage space is more valuable.  Aaron sold a motorcycle which helps with that. 

Anna met her friends from Minnesota and Colorado in Medora for a long girls' weekend and had a lot of fun.  We also went out on the pontoon a few times, including sandbar play time. 

Anna and Alice at the sandbar

We bought part of a tractor for use at the south Bismarck lots.  We planted some oak trees there and rigged up a watering trailer for the tractor.  Aaron moved his horseradish plant there and also started some rhubarb there which was donated by a neighbor. 

Dad on tractor with watering trailer

Over Labor Day we spent a full week visiting Eliot, Caroline, and Felix in the Boston area.  They were just moving into a new house, extensively renovated in the previous weeks with more to do.  So we had a lot of fun enjoying the new scenery and helping out with many projects and unpacking boxes.

Alice had a big birthday party in November and it was great to have so many friends and family join in the celebration.  Also Anna's grandma Isabell has been visiting frequently.  She comes from Minot on the senior bus with door-to-door service so it is very convenient. 

We had a great Thanksgiving in Rosemount, MN with Anna's family, and Christmas in Mandan was a lot of fun too. 

Firewalls and Internet Security, 2nd Edition: Repelling the Wily Hacker

By aaron.axvig, Mon, 06/26/2023 - 15:07
Date completed
1 year 9 months ago

I chose this book knowing that it was old.  My thoughts were that it would be interesting to see how things used to be, and also that it would focus more on what nowadays seem to be basic principles.  I can report success of both points.

The book overall had a nice balance of hacking stories, security principles, protocol analysis, and functional recommendations.

Completion status
Rating

Suggested replies

By aaron.axvig, Thu, 04/27/2023 - 22:51

I have used suggested replies for a few years.  Everyone has.

Lately I have felt a little slimy using the feature.  It isn't really me replying to that person that I have some relationship with.  Don't they deserve five seconds of my time?  Some programmer/system/"learning" is actually changing the tone of my conversations every time I tap a reply that is close enough, instead of typing out what I usually would.

So I disable this feature now.  I'm not ruthless about it, but if I notice it and don't mind the effort then I will take the time to turn it off.

Surely AI in the news lately has influenced my sensitivity on the topic.  I haven't tried any of the cutting edge GPT products.  Maybe this is where I become the grumpy old man or hippie-type.

The Cave and the Light: Plato Versus Aristotle... by Arthur Herman

By aaron.axvig, Thu, 03/23/2023 - 09:00
Date completed
2 years ago

We chose the topic of philosophy for the second read our three-person book club, and after a brief consideration of Nicomachean Ethics itself we pivoted to this book to get more of a broad introductory take on the subject.  This ended up being a perfect fit for me, who had essentially zero knowledge on philosophy and its characters.

This really expanded my knowledge of so many things, especially the history of Greece, Italy, Egypt, etc. as it relates to the great thinkers that bounced around the area over the centuries.  The relationship of these thinkers and their ideas to religion was also particularly interesting.  And of course the core idea of the book, the diverse platforms of Plato and Aristotle, is something that I will enjoy thinking about and reading more directly about for years to come.

But first I will need to read some lighter stuff.  This book is lengthy and I read a lot of it in 10 minute chunks, so it seemed to drag on and on.  Worth it though: this ranks as one of the most impactful books I have read.

Completion status
Rating

The Andromeda Strain by Michael Crichton

By aaron.axvig, Sat, 01/28/2023 - 11:29
Date completed
2 years 2 months ago

I did not realize how old this was when I started reading it.  I was thinking early 90s for some reason--off by 20+ years!  So my initial thoughts of mediocre quality of framing of technology and processes were similarly off and it is really a great book in that regard.

I am not a fan of the report/write-up structure, with the frequent wry sidebars about how the scientists were missing things.  One or two of them did nice foreshadowing but that is all I will concede.

I recently read Project Hail Mary and I wonder if some concepts with regards to the organisms in that were inspired by this book.  Or maybe it is kind of a genre and other examples exist.

Completion status
Rating

The Soul of Baseball by Joe Posnanski

By aaron.axvig, Sat, 01/28/2023 - 11:25
Date completed
2 years 2 months ago

First book of a three-person book club that I am in.  The "He might have a kid of his own at home" message of the opening sequence really set the tone for the rest of the book--it is a message of positivity and being thankful.

I found myself a bit bored in the middle of the book.  It was repetitive but also firmly established some kind of Americana vibe, so fine overall.

 

Completion status
Rating

Aaron, Anna, and Alice in 2022

By aaron.axvig, Fri, 01/13/2023 - 19:24

AliceMy mom has not asked for me to write up a Christmas card section yet but I thought I would anyways.

We had a great time at our wedding to start out 2022!  I think most of January was just recovering from wedding things.  Anna stayed busy at home babysitting niece Brita and family friends' baby Roxy.

In February we went on a ski trip to Red Lodge.  And we found out we were pregnant, due November 9th.  Anna soon started working on tearing out the old carpet in the room which would be the future nursery.  I made several batches of deer jerky in our new dehydrator.  We went to a few concerts--Winger + Firehouse and Buckcherry + Alice Cooper.  I went to St. Louise and Cedar Rapids for work.

We went to the daylily society's spring auction of daylily plants and got seven new varieties.  People go crazy for some of them!  We enjoyed seeing the new flower types bloom later in the summer.  And our trees and other landscaping is coming along nicely.  A couple pepper plants grew large and produced a lot.  Our neighbor seemed to have a bottomless supply of cucumbers to leave for us.

We camped in Stanton with parents and sibling for Memorial Day.  Friends Jason and Bobbie visited for July 4th and we had a really good time.

Lots of home improvement activities again.  In winter, Aaron worked quite a bit on the basement.  New flooring and lighting really improved the feeling of the space and then he set up all sorts of desks and computer things.  He built a custom fit server rack under the stairs to hold equipment too.  Early in the spring Aaron and Randy spent a lot of time finishing the inside of the detached garage.  With pine carsiding walls, white metal ceiling, and lots of lights, it was a great improvement.  In early summer Aaron worked hard on the porch columns and roof, getting it closed in by July, painted by many helpful parents and siblings in August, and various other details until essentially complete in November.  September saw two weeks of activity as we hired the install of an air conditioning system.  We were able to use it for one hot day!  And squeezed in Aug-Oct Aaron gutted the nursery of plaster and lathe, insulated and sheetrocked, and trimmed it out.  Not quite done when baby arrived, but close enough!  And finally, all 400 feet of fence got painted over the course of the summer…little by little by little.

Alice Magdalena arrived a few days early on November 2nd, weighing 6 pounds 5 ounces.  She has been keeping us busy every since, healthy and growing, nearing 9.5 pounds for Christmas.  We spent a week in mid-December in Arizona so several relatives there could meet her and so we could escape winter for a bit.