Hyper-V and DragonFly

I tried Hyper-V, and of course, I had to install a virtual DragonFly system.  Sascha Wildner very helpfully pointed out that DragonFly on Hyper-V requires a legacy network adapter and a gen-1 image type; both changes you can make during initial setup.  I’m noting it here for the benefit of future people walking down the same path.

Note: pick ‘legacy BIOS’ during the actual DragonFly install, too.

Ravenports, and picking out packages

A little while back I linked to an excellent deep dive into Ravenports, and added my own bit of statistical guessing at popular packages.  John Marino wants to know what packages people find most useful/most required.  If you have opinions, and I’m sure you do, post something on the Ravenports Google Groups page.

If you are saying to yourself “Gee, what packages did I install and what came in as a dependency?”, here’s an easy way to find out:

pkg query -a '%n %a' | grep 0 | cut -d ' ' -f 1 | less

This lists all “vital” packages, which usually means ones installed with intent, rather than automatically.  This might be a useful thing to post for Ravenports…

Upgrade results, bonus for dragonflybsd.org

Remember the upgrade for dragonflybsd.org machines?  It completed, and it’s interesting to see that SSDs have become so easily available that “spinning rust” hard disk drives are only still useful for bulk storage, and even then probably not for much longer.

Another neat side effect: disk usage on developer system leaf.dragonflybsd.org  was cut in half, thanks to HAMMER2 dedup/compression.  It’s a ‘free’ half-terabyte.

Half billion tries for a HAMMER2 bug

I’m pulling a quote off of IRC to show some of the testing on HAMMER2, specifically as the background for this commit:

14:22 <@dillon_> ^^^ hammer2 bug, could reproduce it around once a day doing a continuous rm -rf on hardlinked snapshots. reproduced about once every 500 million directory entries or so

I am somewhat tickled by the notion that you might have a problem after deleting half a billion directory entries.