diff --git a/pages/common/ping.md b/pages/common/ping.md index 8cbf1a1c3..9fdabf1ae 100644 --- a/pages/common/ping.md +++ b/pages/common/ping.md @@ -6,13 +6,13 @@ `ping {{host}}` -- Ping host limiting the number of packages to be send to four: +- Ping a host only a specific number of times: -`ping -c 4 {{host}}` +`ping -c {{count}} {{host}}` -- Ping host, waiting for 0.5 s between each request (default is 1 s): +- Ping host, specifying the interval in seconds between requests (default is 1 second): -`ping -i 0.5 {{host}}` +`ping -i {{seconds}} {{host}}` - Ping host without trying to lookup symbolic names for addresses: diff --git a/pages/common/zfs.md b/pages/common/zfs.md index 887c31db9..efae34d10 100644 --- a/pages/common/zfs.md +++ b/pages/common/zfs.md @@ -8,20 +8,20 @@ - Create a new ZFS filesystem: -`zfs create poolname/newfsname` +`zfs create {{pool_name/filesystem_name}}` - Delete a ZFS filesystem: -`zfs destroy {{poolname/newfsname}}` +`zfs destroy {{pool_name/filesystem_name}}` - Create a Snapshot of a ZFS filesystem: -`zfs snapshot {{poolname/filesystem@snapshot-name}}` +`zfs snapshot {{pool_name/filesystem_name}}@{{snapshot_name}}` - Enable compression on a filesystem: -`zfs set compression=on {{poolname/fileystem}}` +`zfs set compression=on {{pool_name/filesystem_name}}` - Change mountpoint for a filesytem: -`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}` +`zfs set mountpoint={{/my/mount/path}} {{pool_name/filesystem_name}}` diff --git a/pages/common/zpool.md b/pages/common/zpool.md index bbf92286c..1d0216a55 100644 --- a/pages/common/zpool.md +++ b/pages/common/zpool.md @@ -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}}`