Skip to content

Instantly share code, notes, and snippets.

@ikawnoclast
ikawnoclast / zfs-get-all
Last active August 29, 2015 14:19
ZFS-Properties
# zfs get all mypool
NAME PROPERTY VALUE SOURCE
mypool type filesystem -
mypool creation Fri Feb 27 23:23 2015 -
mypool used 3.48G -
mypool available 6.13G -
mypool referenced 3.48G -
mypool compressratio 1.24x -
mypool mounted no -
mypool quota none default
@ikawnoclast
ikawnoclast / cache-add
Last active August 29, 2015 14:14
Zpool-Accessories
# pool add mypool cache da3
@ikawnoclast
ikawnoclast / zpool-create-force
Last active August 29, 2015 14:13
ZFS-Storage-Pools
# zpool create -f mypool <devices>
@ikawnoclast
ikawnoclast / df-H
Last active September 20, 2015 21:13
ZFS-Playground
root@fbsd-zfs:~ # df -H mypool
Filesystem Size Used Avail Capacity Mounted on
mypool 10G 19k 10G 0% /mypool
@ikawnoclast
ikawnoclast / etc-pf.anchors-emerging-threats
Created October 26, 2012 18:38
Mac OS X pf firewall: Avoiding known bad guys, a blog post on ikawnoclastic thoughts
table <emerging_threats> persist file "/etc/emerging-Block-IPs.txt"
block log from <emerging_threats> to any