BSD Now

393: ZFS dRAID


Listen Later

Lessons learned from a 27 years old UNIX book, Finally dRAID, Setting up a Signal Proxy using FreeBSD, Annotate your PDF files on OpenBSD, Things You Should Do Now, Just: More unixy than Make, and more

NOTES

This episode of BSDNow is brought to you by Tarsnap

Headlines
Lessons learned from a 27 years old UNIX book

One of the Amazon reviewers of "Sun Performance and Tuning: Java and the Internet" gave it 3/5 stars. While still a nice introduction, the book by Adrian Cockcroft has become dated — claimed Roland in 2003, which believe it or not was 18 years ago...

dRAID, Finally!

Admins will often use wide RAID stripes to maximize usable storage given a number of spindles. RAID-Z deployments with large stripe widths, ten or larger, are subject to poor resilver performance for a number of reasons. Resilvering a full vdev means reading from every healthy disk and continuously writing to the new spare. This will saturate the replacement disk with writes while scattering seeks over the rest of the vdev. For 14 wide RAID-Z2 vdevs using 12TB spindles, rebuilds can take weeks. Resilver I/O activity is deprioritized when the system has not been idle for a minimum period. Full zpools get fragmented and require additional I/O’s to recalculate data during reslivering. A pool can degenerate into a never ending cycle of rebuilds or loss of the pool Aka: the Death Spiral.

News Roundup
Setting up a Signal Proxy using FreeBSD

With the events that the private messaging app Signal has been blocked in Iran, Signal has come up with an “proxy” solution akin to Tor’s Bridges, and have given instructions on how to do it.

For people who prefer FreeBSD over Linux like myself, we obviously can’t run Docker, which is what Signal’s instructions focus on.
Fortunately, the Docker image is just a fancy wrapper around nginx, and the configs can be ported to any OS. Here, I’ll show you how to set up a Signal Proxy on FreeBSD.

Annotate your PDF files on OpenBSD

On my journey to leave macOS, I regularly look to mimic some of the features I use. Namely, annotating (or signing) PDF files is a really simple task using Preview. I couldn’t do it on OpenBSD using Zathura, Xpdf etc. But there is a software in the ports that can achieve this: Xournal.

Xournal is “an application for notetaking, sketching, keeping a journal using a stylus“. And now that my touchscreen is calibrated, highlighting can even be done with the fingers :)

Things You Should Do Now

Describes things you should do now when building software, because the cost to do them increases over time and eventually becomes prohibitive or impossible.

Just: A command runner. More unixy than Make because it does even less.

I think it's in the do-one-thing-well spirit of Unix, because it's just a command runner, no build system at all. Just has a bunch of nice features:

  • Can be invoked from any subdirectory
  • Arguments can be passed from the command line
  • Static error checking that catches syntax errors and typos
  • Excellent error messages with source context
  • The ability to list recipes from the command line
  • Recipes can be written in any language
  • Works on Linux, macOS, and Windows
  • And much more!
  • Just doesn't replace Make, or any other build system, but it does replace reverse-searching your command history, telling colleagues the weird flags they need to pass to do the thing, and forgetting how to run old projects.

    Tarsnap
    • This weeks episode of BSDNow was sponsored by our friends at Tarsnap, the only secure online backup you can trust your data to. Even paranoids need backups.
    • Feedback/Questions
      • Marc - Confused about Snapshots
      • Dan’s gist: https://gist.github.com/dlangille/3140e60a816226ed75365ba8af185085
      • Pete - A Question
      • Rick - ZFS Idea
        • Send questions, comments, show ideas/topics, or stories you want mentioned on the show to [email protected]
        • ***

          Special Guest: Dan Langille.

          ...more
          View all episodesView all episodes
          Download on the App Store

          BSD NowBy JT Pennington

          • 4.8
          • 4.8
          • 4.8
          • 4.8
          • 4.8

          4.8

          91 ratings


          More shows like BSD Now

          View all
          Software Engineering Radio by se-radio@computer.org

          Software Engineering Radio

          270 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          290 Listeners

          Security Now (Audio) by TWiT

          Security Now (Audio)

          2,010 Listeners

          LINUX Unplugged by Jupiter Broadcasting

          LINUX Unplugged

          268 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          585 Listeners

          Late Night Linux by The Late Night Linux Family

          Late Night Linux

          164 Listeners

          Destination Linux by TuxDigital Network

          Destination Linux

          91 Listeners

          Home Assistant Podcast by HK Media

          Home Assistant Podcast

          70 Listeners

          CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

          CoRecursive: Coding Stories

          190 Listeners

          Late Night Linux Family All Episodes by The Late Night Linux Family

          Late Night Linux Family All Episodes

          46 Listeners

          Linux Dev Time by The Late Night Linux Family

          Linux Dev Time

          22 Listeners

          2.5 Admins by The Late Night Linux Family

          2.5 Admins

          98 Listeners

          Linux After Dark by The Late Night Linux Family

          Linux After Dark

          29 Listeners

          Oxide and Friends by Oxide Computer Company

          Oxide and Friends

          62 Listeners

          Linux Matters by Linux Matters

          Linux Matters

          22 Listeners