]> git.proxmox.com Git - mirror_zfs-debian.git/blob - man/man8/fsck.zfs.8
Imported Upstream version 0.6.4.2
[mirror_zfs-debian.git] / man / man8 / fsck.zfs.8
1 '\" t
2 .\"
3 .\" CDDL HEADER START
4 .\"
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.
8 .\"
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.
13 .\"
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]
19 .\"
20 .\" CDDL HEADER END
21 .\"
22 .\"
23 .\" Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved.
24 .\"
25 .TH fsck.zfs 8 "2013 MAR 16" "ZFS on Linux" "System Administration Commands"
26
27 .SH NAME
28 fsck.zfs \- Dummy ZFS filesystem checker.
29
30 .SH SYNOPSIS
31 .LP
32 .BI "fsck.zfs [" "options" "] <" "dataset" ">"
33
34 .SH DESCRIPTION
35 .LP
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.
39
40 .SH OPTIONS
41 .HP
42 All \fIoptions\fR and the \fIdataset\fR are ignored.
43
44 .SH "NOTES"
45 .LP
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.
49
50 .SH "BUGS"
51 .LP
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.
55 .LP
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.
59
60 .SH "AUTHORS"
61 .LP
62 Darik Horn <dajhorn@vanadac.com>.
63
64 .SH "SEE ALSO"
65 .BR fsck (8),
66 .BR fstab (5),
67 .BR zpool (8)