Skip to content

Instantly share code, notes, and snippets.

@ikawnoclast
Last active September 20, 2015 21:13
Show Gist options
  • Save ikawnoclast/5dc38654f48dc5269be0 to your computer and use it in GitHub Desktop.
Save ikawnoclast/5dc38654f48dc5269be0 to your computer and use it in GitHub Desktop.
ZFS-Playground
root@fbsd-zfs:~ # df -H mypool
Filesystem Size Used Avail Capacity Mounted on
mypool 10G 19k 10G 0% /mypool
root@fbsd-zfs:~ # freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching public key from update2.freebsd.org... done.
Fetching metadata signature for 10.1-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 27 patches.....10....20... done.
Applying patches... done.
Fetching 461 files... done.
The following files will be added as part of updating to 10.1-RELEASE-p3:
[File list trimmed for brevity...]
The following files will be updated as part of updating to 10.1-RELEASE-p3:
[File list trimmed for brevity...]
Installing updates... done.
root@fbsd-zfs:~ # zpool create mypool da0 da1 da2 da3 da4
root@fbsd-zfs:~ #
root@fbsd-zfs:~ # zpool destroy mypool
root@fbsd-zfs:~ #
root@fbsd-zfs:~ # zpool status
pool: mypool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
mypool ONLINE 0 0 0
da0 ONLINE 0 0 0
da1 ONLINE 0 0 0
da2 ONLINE 0 0 0
da3 ONLINE 0 0 0
da4 ONLINE 0 0 0
errors: No known data errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment