5 .\" The contents of this file are subject to the terms of the
6 .\" Common Development and Distribution License (the "License").
7 .\" You may not use this file except in compliance with the License.
9 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 .\" or http://www.opensolaris.org/os/licensing.
11 .\" See the License for the specific language governing permissions
12 .\" and limitations under the License.
14 .\" When distributing Covered Code, include this CDDL HEADER in each
15 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 .\" If applicable, add the following below this CDDL HEADER, with the
17 .\" fields enclosed by brackets "[]" replaced with your own identifying
18 .\" information: Portions Copyright [yyyy] [name of copyright owner]
23 .\" Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved.
25 .TH fsck.zfs 8 "2013 MAR 16" "ZFS on Linux" "System Administration Commands"
28 fsck.zfs \- Dummy ZFS filesystem checker.
32 .BI "fsck.zfs [" "options" "] <" "dataset" ">"
36 \fBfsck.zfs\fR is a shell stub that does nothing and always returns
37 true. It is installed by ZoL because some Linux distributions expect
38 a fsck helper for all filesystems.
42 All \fIoptions\fR and the \fIdataset\fR are ignored.
46 ZFS datasets are checked by running \fBzpool scrub\fR on the
47 containing pool. An individual ZFS dataset is never checked
48 independently of its pool, which is unlike a regular filesystem.
52 On some systems, if the \fIdataset\fR is in a degraded pool, then it
53 might be appropriate for \fBfsck.zfs\fR to return exit code 4 to
54 indicate an uncorrected filesystem error.
56 Similarly, if the \fIdataset\fR is in a faulted pool and has a legacy
57 /etc/fstab record, then \fBfsck.zfs\fR should return exit code 8 to
58 indicate a fatal operational error.
62 Darik Horn <dajhorn@vanadac.com>.