Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fssconfig(8) [netbsd man page]

FSSCONFIG(8)						    BSD System Manager's Manual 					      FSSCONFIG(8)

NAME
fssconfig -- configure file system snapshot devices SYNOPSIS
fssconfig [-cxv] device path backup [cluster [size]] fssconfig -u [-v] device fssconfig -l [-v] [device] DESCRIPTION
The fssconfig command configures file system snapshot pseudo disk devices. It will associate the file system snapshot disk device with a snapshot of path allowing the latter to be accessed as though it were a disk. If backup resides on the snapshotted file system a persistent snapshot will be created. This snapshot is active until backup is unlinked. This snapshot mode is only supported for ffs files systems. Otherwise data written through the path will be saved in backup. If backup is a regular file, it will be created with length size. Default size is the size of path. Data is saved to backup in units of cluster bytes. Options indicate an action to be performed: -c Configures the device. If successful, references to device will access the contents of path at the time the snapshot was taken. If backup is a directory, a temporary file will be created in this directory. This file will be unlinked on exit. -l List the snapshot devices and indicate which ones are in use. If a specific device is given, then only that will be described. -u Unconfigures the device. -v Be more verbose listing the snapshot devices. -x Unlink backup after the device is configured. If no action option is given, -c is assumed. FILES
/dev/rfss? /dev/fss? EXAMPLES
fssconfig fss0 /usr /tmp/back Configures the snapshot device fss0 for a snapshot of the /usr file system. Data written through /usr will be backed up in /tmp/back. fssconfig fss1 / /dev/rsd0e 8192 Configures the snapshot device fss1 for a snapshot of the / file system. Data written through / will be backed up in /dev/rsd0e. The backup will take place in units of 8192 bytes. fssconfig -u fss0 Unconfigures the fss0 device. SEE ALSO
opendisk(3), fss(4), mount(8), umount(8) HISTORY
The fssconfig command appeared in NetBSD 2.0. BSD
June 11, 2012 BSD

Check Out this Related Man Page

fssnap(1M)						  System Administration Commands						fssnap(1M)

NAME
fssnap - create temporary snapshots of a file system SYNOPSIS
fssnap [-F FSType] [-V] -o special_options /mount/point fssnap -d [-F FSType] [-V] /mount/point | dev fssnap -i [-F FSType] [-V] [-o special_options] [/mount/point | dev] DESCRIPTION
The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device con- taining a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup operations. While the snapshot file system is stable and consistent, an application updating files when the snapshot is created might leave these files in an internally inconsistent, truncated, or otherwise unusable state. In such a case, the snapshot will contain these partially written or corrupted files. It is a good idea to ensure active applications are suspended or checkpointed and their associated files are also consis- tent during snapshot creation. File access times are not updated while the snapshot is being created. A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created. OPTIONS
The following options are supported: -d Deletes the snapshot associated with the given file system. -F FSType Specifies the file system type to be used. The FSType should either be specified here or be determined by matching the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs. -i Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots on the system is displayed. When a mount-point or device is specified, detailed information is provided for the specified file system snapshot by default. The format and meaning of this information is file-system dependent. See the FSType-specific fssnap man page for details. -o special_options See the FSType-specific man page for fssnap. -V Echoes the complete command line, but does not execute the command. OPERANDS
The following operands are supported: /mount/point The directory where the file system resides. EXAMPLES
See FSType-specific man pages for examples. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/vfstab Specifies file system type. /etc/default/fs Specifies the default local file system type. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fssnap_ufs(1M), attributes(5) NOTES
This command might not be supported for all FSTypes. SunOS 5.10 11 Aug 2004 fssnap(1M)
Man Page