You can display the current snapshots on the system by using the fssnap -i option. If you specify a file system, you see detailed information about that snapshot. If you don't specify a file system, you see information about all of the current UFS snapshots and their corresponding virtual devices.
Use the UFS file system-specific fssnap command to view the extended snapshot information as shown in the following examples.
Become superuser or assume an equivalent role.
List all current snapshots:
For example:
# /usr/lib/fs/ufs/fssnap -i Snapshot number : 0 Block Device : /dev/fssnap/0 Raw Device : /dev/rfssnap/0 Mount point : /usr Device state : idle Backing store path : /var/tmp/snapshot3 Backing store size : 256 KB Maximum backing store size : Unlimited Snapshot create time : Wed Oct 08 10:38:25 2003 Copy-on-write granularity : 32 KB Snapshot number : 1 Block Device : /dev/fssnap/1 Raw Device : /dev/rfssnap/1 Mount point : / Device state : idle Backing store path : /tmp/bs.home Backing store size : 448 KB Maximum backing store size : Unlimited Snapshot create time : Wed Oct 08 10:39:29 2003 Copy-on-write granularity : 32 KB |
Display detailed information about a specific snapshot:
For example:
# /usr/lib/fs/ufs/fssnap -i /usr Snapshot number : 0 Block Device : /dev/fssnap/0 Raw Device : /dev/rfssnap/0 Mount point : /usr Device state : idle Backing store path : /var/tmp/snapshot3 Backing store size : 256 KB Maximum backing store size : Unlimited Snapshot create time : Wed Oct 08 10:38:25 2003 Copy-on-write granularity : 32 KB |