1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update commands.md

This commit is contained in:
John-Paul Bader
2015-01-06 11:58:02 +01:00
parent 372d803bb2
commit 1f2abd0ba9

View File

@ -56,11 +56,13 @@ zfs get compressratio <pool>/<dataset> # show the current compression ratio of
zfs send -R tank@snapshot | \ # send all datasets@snapshot recursively to another host zfs send -R tank@snapshot | \ # send all datasets@snapshot recursively to another host
ssh root@[IP] zfs recv -F tank ssh root@[IP] zfs recv -F tank
zfs unmount <pool>/<dataset> # unmount a zfs dataset zfs unmount <pool>/<dataset> # unmount a zfs dataset
zfs upgrade -r <pool> # upgrade all volumes in the pool (technically its the root volume e.g. tank)
zpool status # show health info about currently imported ZFS storage pools zpool status # show health info about currently imported ZFS storage pools
zpool scrub # check all written blocks for consistency zpool scrub # check all written blocks for consistency
zpool iostat -v tank # show more information about the pool including log devices zpool iostat -v tank # show more information about the pool including log devices
zpool add <pool> mirror <dev1> <dev1> # add two disks as mirror to a storage pool zpool add <pool> mirror <dev1> <dev1> # add two disks as mirror to a storage pool
zpool remove <pool> <device> # remove single devices or mirror sets from the storage pool zpool remove <pool> <device> # remove single devices or mirror sets from the storage pool
zpool upgrade <pool> # upgrade the storage pool to latest version
``` ```
# Software # Software