Skip to content

Instantly share code, notes, and snippets.

@thelander
thelander / smartos-commands.md
Created April 22, 2015 16:41
SmartOS commands

SmartOS commands

Use datasets.at image repository.

imgadm sources -a http://datasets.at/
imgadm sources -d https://images.joyent.com
imgadm update
@thelander
thelander / zfs-commands.md
Last active August 29, 2015 14:12
ZFS commands

ZFS commands

Activate lz4 compression.

$ zfs set compression=lz4 tank/dataset

Check compression ratios.

@thelander
thelander / smartos-freebsd-plex.md
Last active August 29, 2015 14:12
Run Plex Media Server on FreeBSD in a SmartOS zone

Run Plex Media Server on FreeBSD in a SmartOS zone

This guide assumes you have a working SmartOS setup with your storage zpool(s) imported.

This guide is based on this gist: https://gist.github.com/dreamcat4/f19580cbd31d8f628aca.

Import image and create virtual machine

Find the latest FreeBSD image, in this case d20b8738-7a2a-11e4-bea0-83cb697e6c7c (freebsd-10, 20141202).