JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Devices and File Systems     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Overview/Tasks)

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

9.  Administering Disks (Tasks)

10.  SPARC: Setting Up Disks (Tasks)

11.  x86: Setting Up Disks (Tasks)

12.  Configuring Oracle Solaris iSCSI Targets (Tasks)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Checking UFS File System Consistency (Tasks)

18.  UFS File System (Reference)

19.  Backing Up and Restoring UFS File Systems (Overview/Tasks)

20.  Using UFS Snapshots (Tasks)

Using UFS Snapshots (Task Map)

UFS Snapshots Overview

Why Use UFS Snapshots?

UFS Snapshots Performance Issues

Creating and Deleting UFS Snapshots

Creating a Multiterabyte UFS Snapshot

How to Create a UFS Snapshot

How to Display UFS Snapshot Information

Deleting a UFS Snapshot

How to Delete a UFS Snapshot

Backing Up a UFS Snapshot

How to Create a Full Backup of a UFS Snapshot (ufsdump)

How to Create an Incremental Backup of a UFS Snapshot (ufsdump)

How to Back Up a UFS Snapshot (tar)

Restoring Data From a UFS Snapshot Backup

21.  Copying Files and File Systems (Tasks)

22.  Managing Tape Drives (Tasks)

23.  UFS Backup and Restore Commands (Reference)

Index

UFS Snapshots Overview

You can use the fssnap command to back up file systems while the file system is mounted. This command to creates a read-only snapshot of a file system. A snapshot is a file system's temporary image that is intended for backup operations.

When the fssnap command is run, it creates a virtual device and a backing-store file. You can back up the virtual device, which looks and acts like a real device, with any of the existing Solaris backup commands. The backing-store file is a bitmap file that contains copies of pre snapshot data that has been modified since the snapshot was taken.

Keep the following key points in mind when specifying backing-store files:

For more information about creating snapshots for a UFS file system larger than 512 GB, see Creating a Multiterabyte UFS Snapshot.

Why Use UFS Snapshots?

The UFS snapshots feature provides additional availability and convenience for backing up a file system because the file system remains mounted and the system remains in multiuser mode during backups. Then, you can use the tar or cpio commands to back up a UFS snapshot to tape for more permanent storage. If you use the ufsdump command to perform backups, the system should be in single-user mode to keep the file system inactive when you perform backups.

The fssnap command gives administrators of non enterprise-level systems the power of enterprise-level tools, such as Sun StorEdge Instant Image, without the large storage demands.

The UFS snapshots feature is similar to the Instant Image product. Although UFS snapshots can make copies of large file systems, Instant Image is better suited for enterprise-level systems. UFS snapshots is better suited for smaller systems. Instant Image allocates space equal to the size of the entire file system that is being captured. However, the backing-store file that is created by UFS snapshots occupies only as much disk space as needed.

This table describes specific differences between UFS snapshots and Instant Image.

UFS Snapshots
Sun StorEdge Instant Image
Size of the backing-store file depends on how much data has changed since the snapshot was taken
Size of the backing-store file equals the size of the entire file system being copied
Does not persist across system reboots
Persists across system reboots
Works on UFS file systems
Cannot be used with root (/) or /usr file systems
Available in the Oracle Solaris release
Part of Sun StorEdge products

UFS Snapshots Performance Issues

When the UFS snapshot is first created, users of the file system might notice a slight pause. The length of the pause increases with the size of the file system to be captured. While the snapshot is active, users of the file system might notice a slight performance impact when the file system is written to. However, they see no impact when the file system is read.