Nahum Shalman

Running OmniOS under KVM on on-prem Triton, Part 1

The first VM I wanted to build was OmniOS 014. While the system was able to see a virtio disk, the installer was not, so I did the initial installation on a virtual IDE drive. JSON spec for the installation VM: { "alias": "omnios", "autoboot": "false", "brand": "kvm", "ram": 2048, "vcpus": 3, "vnc_port": 53241, "disks": [ { "boot": true, "model": "ide", "size": 10240 } ], "nics": [ { "nic_tag": "external", "model": "virtio", "ips": ["dhcp"], "primary": 1 } ] } Create the installation VM: ...


Nahum Shalman

Enabling DTrace on macOS Sierra

I was doing some work on my Python bindings for libusdt which reminded me about how annoying it is when DTrace isn't working. The solution (as I noted here) is pretty simple: Reboot into Recovery Mode (hold down ⌘R during boot) Launch a shell and run csrutil enable --without dtrace Reboot and allow machine to boot normally Embarrassing story time: This neatly documented by Brian Bennett in a StackExchange post (from 2015!). Not only that, ...


Nahum Shalman

Sometimes it's the little things

If you run an illumos distribution that uses beadm (e.g. OmniOS) in production, you may have run into illumos bug #5943. As you might imagine, we at OmniTI run a lot of OmniOS systems. Recently a machine was being upgraded and on reboot was misbehaving because of that issue. That got me thinking about prevention. We monitor our systems using among other things, resmon feeding into Circonus. We can set up alerts in Circonus ...


Nahum Shalman

ZFS used space hidden in more than one snapshot

Someone was asking about this on IRC This is mostly for myself for later: hidden_in_snaps(){ bc -l <<<"( $(zfs list -H -p -o usedsnap ${1}) - $(zfs list -H -p -t snapshot -r -d 1 -o used ${1} | awk 'BEGIN{total=0} {total += $1} END{print total}') ) / 1024 / 1024 / 1024"; } zfs list -H -o name | while read filesystem; do echo "$filesystem: $(hidden_in_snaps $filesystem)"; done | sort -n -k 2 ...


Nahum Shalman

PXE Booting NixOS

I've been outed on Twitter: Thanks to some awesome work from @nahumshalman, we'll soon have a PXE bootable #NixOS installer! https://t.co/WHHwP1Bm5i— Charles Strahan (@charlesstrahan) April 21, 2016 I've been working on this pull request for the past couple of weeks as I've been exploring the possibility of using NixOS as a new substrate for building Cerana. If those experiments pan out we'll be switching over from our old build ...


Nahum Shalman

Mistify is now Cerana

Just a quick note that Mistify is being rebranded as Cerana. I'm busy getting settled into my new team and having a great time. You can be sure I'll either be posting here or at least linking from here over to more information as we achieve interesting milestones. ...