FSSCONFIG(8) | System Manager's Manual | FSSCONFIG(8) |
fssconfig | [-cxv] device path backup [cluster [size]] |
fssconfig | -u [-v] device |
fssconfig | -l [-v] [device] |
If backup resides on the snapshotted file system a persistent snapshot will be created. This snapshot is active until backup is unlinked. Persistent snapshots save the file system as if it had been unmounted. Unlinked but open files get removed from the snapshot. The time to create a persistent snapshot increases with the size of the file system and decreases with the file system block size. This snapshot mode is only supported for FFS file 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. The snapshot is an image in time of the underlying block device. Unlinked but open files are still present on the snapshot. The time to create a snapshot is independent of the size of the file system or the file system block size.
Options indicate an action to be performed:
If no action option is given, -c is assumed.
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.
November 15, 2013 | NetBSD 6.99 |