diff --git a/docs/alpine-server-setup/post-install/update-protocol.md b/docs/alpine-server-setup/post-install/update-protocol.md index ec403ca..229f62a 100644 --- a/docs/alpine-server-setup/post-install/update-protocol.md +++ b/docs/alpine-server-setup/post-install/update-protocol.md @@ -7,7 +7,7 @@ ZFS opens up new methods to safely update the system. These methods are describe To be able to rollback the system after a system update one may create a snapshot of the root filesystem. ``` -# zfs snapshot tank/root/alpine@previous +# zfs snapshot rpool/root/alpine@previous ``` > Tip:`zfs list -t snapshot` can be used to list snapshost and `zfs destroy` can be used to remove snapshots. @@ -24,7 +24,7 @@ Perform a system update. If the system does not behave accordingly after reboot, one may rollback to the previous snapshot. ``` -# zfs rollback -r tank/root/alpine@previous +# zfs rollback -r rpool/root/alpine@previous ``` ## Post-update @@ -32,7 +32,7 @@ If the system does not behave accordingly after reboot, one may rollback to the To maintain the performance of the SSDs in the system, perform a trim on the zfs-pool. ``` -# zpool trim --secure --wait tank +# zpool trim --secure --wait rpool ``` > Some devices may not support the option `--secure`. @@ -40,13 +40,13 @@ To maintain the performance of the SSDs in the system, perform a trim on the zfs Thereafter, perform a scrub on the zfs-pool which checks and repairs the data in the pool. ``` -# zpool scrub tank +# zpool scrub rpool ``` This may take a while, the progress can be checked with: ``` -# zpool status tank +# zpool status rpool ``` > A ZFS scrub only repairs if mirror or a zraid mode is set in the pool. \ No newline at end of file