diff options
author | Alek P <[email protected]> | 2017-05-19 12:33:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-19 12:33:11 -0700 |
commit | bec1067d54a004cb52a4a6762bfa1d4a30300865 (patch) | |
tree | a464efb9e42d172cabbe66e7c2fb5296c5e6023d /man | |
parent | 4a283c7f77eb5065e9f03b122bf8ead4f4a1e2be (diff) |
Implemented zpool sync command
This addition will enable us to sync an open TXG to the main pool
on demand. The functionality is similar to 'sync(2)' but 'zpool sync'
will return when data has hit the main storage instead of potentially
just the ZIL as is the case with the 'sync(2)' cmd.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Signed-off-by: Alek Pinchuk <[email protected]>
Closes #6122
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/zpool.8 | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index 8b793623e..ff3db440d 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -3,6 +3,7 @@ .\" Copyright 2011 Nexenta Systems, Inc. All rights reserved. .\" Copyright (c) 2013 by Delphix. All rights reserved. .\" Copyright (c) 2012 Cyril Plisko. All Rights Reserved. +.\" Copyright (c) 2017 Datto Inc. .\" The contents of this file are subject to the terms of the Common Development .\" and Distribution License (the "License"). You may not use this file except .\" in compliance with the License. You can obtain a copy of the license at @@ -15,7 +16,7 @@ .\" CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your .\" own identifying information: .\" Portions Copyright [yyyy] [name of copyright owner] -.TH zpool 8 "May 11, 2016" "ZFS pool 28, filesystem 5" "System Administration Commands" +.TH zpool 8 "April 12, 2017" "ZFS pool 28, filesystem 5" "System Administration Commands" .SH NAME zpool \- configures ZFS storage pools .SH SYNOPSIS @@ -164,6 +165,11 @@ zpool \- configures ZFS storage pools .LP .nf +\fBzpool sync\fR [\fBpool\fR] ... +.fi + +.LP +.nf \fBzpool upgrade\fR .fi @@ -2243,6 +2249,20 @@ Specify \fBu\fR for a printed representation of the internal representation of t .sp .ne 2 .na +\fB\fBzpool sync\fR\fR [\fBpool\fR] ... +.ad +.sp .6 +.RS 4n +This command forces all in-core dirty data to be written to the primary pool +storage and not the ZIL. It will also update administrative information +including quota reporting. +Without arguments, \fBzpool sync\fR will sync all pools on the system. +Otherwise, it will sync only the specified pool(s). +.RE + +.sp +.ne 2 +.na \fB\fBzpool upgrade\fR\fR .ad .sp .6 |