Fix ping, zfs and zpool to match current style guide.

This commit is contained in:
Peter Tripp
2016-01-16 01:56:13 -08:00
parent 5f6b09b04b
commit c6635ec815
3 changed files with 16 additions and 18 deletions

View File

@@ -4,30 +4,28 @@
- Show the configuration and status of all ZFS zpools:
`zpool status [{{poolname}}]`
`zpool status`
- Check a ZFS pool for errors (verifies the checksum of EVERY block). Very CPU and disk intensive:
`zpool scrub {{poolname}}`
`zpool scrub {{pool_name}}`
- List zpools available for import:
`zpool import`
- Import a zpool, optionally specifying a new name:
- Import a zpool:
`zpool import {{poolname}}`
`zpool import {{poolname}} {{newpoolname}}`
`zpool import {{pool_name}}`
- Export a zpool (unmount all filesystems):
`zpool export {{poolname}}`
`zpool export {{pool_name}}`
- Show the history of all pool operations:
`zpool histrory {{poolname}}`
`zpool histrory {{pool_name}}`
- Create a mirrored pool:
`zpool create {{poolname}} mirror {{disk1}} {{disk2}}`
`zpool create {{poolname}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`
`zpool create {{pool_name}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`