A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
# zpool
|
|
|
|
|
|
|
|
> Manage ZFS pools
|
|
|
|
|
|
|
|
- Show the configuration and status of all ZFS zpools
|
|
|
|
|
|
|
|
`zpool status [{{poolname}}]`
|
|
|
|
|
|
|
|
- Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive.
|
|
|
|
|
|
|
|
`zpool scrub {{poolname}}`
|
|
|
|
|
|
|
|
- List zpools available for import
|
|
|
|
|
|
|
|
`zpool import`
|
|
|
|
|
|
|
|
- Import a zpool, optionally specifying a new name
|
|
|
|
|
|
|
|
`zpool import {{poolname}}`
|
|
|
|
`zpool import {{poolname}} {{newpoolname}}`
|
|
|
|
|
|
|
|
- Export a zpool (unmount all filesystems)
|
|
|
|
|
|
|
|
`zpool export {{poolname}}`
|
|
|
|
|
|
|
|
- Show the history of all pool operations
|
|
|
|
|
|
|
|
`zpool histrory {{poolname}}`
|
|
|
|
|
2015-10-22 08:31:52 +01:00
|
|
|
- Create a mirrored pool.
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
|
|
|
`zpool create {{poolname}} mirror {{disk1}} {{disk2}}`
|
|
|
|
`zpool create {{poolname}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`
|