2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FSSNAP 1M "Aug 11, 2004"
8 fssnap \- create temporary snapshots of a file system
12 \fBfssnap\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] \fB-o\fR \fIspecial_options\fR \fI/mount/point\fR
17 \fBfssnap \fR \fB-d\fR [\fB-F\fR \fI FSType\fR] [\fB-V\fR] \fI/mount/point\fR | \fIdev\fR
22 \fBfssnap\fR \fB-i\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] [\fB-o\fR \fIspecial_options\fR]
23 [\fI/mount/point\fR | \fIdev\fR]
29 The \fBfssnap\fR command creates a stable, read-only snapshot of a file system
30 when given either an active mount point or a special device containing a
31 mounted file system, as in the first form of the synopsis. A snapshot is a
32 temporary image of a file system intended for backup operations.
35 While the snapshot file system is stable and consistent, an application
36 updating files when the snapshot is created might leave these files in an
37 internally inconsistent, truncated, or otherwise unusable state. In such a
38 case, the snapshot will contain these partially written or corrupted files. It
39 is a good idea to ensure active applications are suspended or checkpointed and
40 their associated files are also consistent during snapshot creation.
43 File access times are not updated while the snapshot is being created.
46 A path to the virtual device that contains this snapshot is printed to standard
47 output when a snapshot is created.
51 The following options are supported:
58 Deletes the snapshot associated with the given file system.
64 \fB\fB-F\fR \fIFSType\fR\fR
67 Specifies the file system type to be used. The \fBFSType\fR should either be
68 specified here or be determined by matching the block special device with an
69 entry in the \fB/etc/vfstab\fR table, or by consulting \fB/etc/default/fs\fR.
78 Displays the state of any given \fBFSType\fR snapshot. If a mount-point or
79 device is not given, a list of all snapshots on the system is displayed. When a
80 mount-point or device is specified, detailed information is provided for the
81 specified file system snapshot by default. The format and meaning of this
82 information is file-system dependent. See the \fBFSType\fR-specific
83 \fBfssnap\fR man page for details.
89 \fB\fB-o\fR \fIspecial_options\fR\fR
92 See the \fBFSType\fR-specific man page for \fBfssnap\fR.
101 Echoes the complete command line, but does not execute the command.
107 The following operands are supported:
111 \fB\fI/mount/point\fR\fR
114 The directory where the file system resides.
120 See \fBFSType\fR-specific man pages for examples.
124 The following exit values are returned:
131 Successful completion.
147 \fB\fB/etc/vfstab\fR\fR
150 Specifies file system type.
156 \fB\fB/etc/default/fs\fR\fR
159 Specifies the default local file system type.
165 \fBfssnap_ufs\fR(1M), \fBattributes\fR(5)
169 This command might not be supported for all \fBFSTypes\fR.