Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Solaris Volume Manager Administration Guide
Previous Next

Performing Mounted Filesystem Backups Using the ufsdump Command

The following procedure describes how to increase the performance of the ufsdump command when you use it to backup a mounted filesystem located on a RAID-1 volume.

How to Perform a Backup of a Mounted Filesystem Located on a RAID-1 Volume

You can use the ufsdump command to backup the files of a mounted filesystem residing on a RAID-1 volume. Set the read policy on the volume to "first" when the backup utility is ufsdump. This improves the rate at which the backup is performed.

  1. Become superuser.
  2. Run the metastat command to make sure the mirror is in the “Okay” state.
    # metastat d40
    d40: Mirror
        Submirror 0: d41
          State: Okay
        Submirror 1: d42
          State: Okay
        Pass: 1
        Read option: roundrobin (default)
        Write option: parallel (default)
        Size: 20484288 blocks (9.8 GB)

    A mirror that is in the “Maintenance” state should be repaired first.

  3. Set the read policy on the mirror to “first.”
    # metaparam -r first d40
    # metastat d40
    d40: Mirror
        Submirror 0: d41
          State: Okay
        Submirror 1: d42
          State: Okay
        Pass: 1
        Read option: first
        Write option: parallel (default)
        Size: 20484288 blocks (9.8 GB)
  4. Perform a backup the filesystem.
    # ufsdump 0f /dev/backup /opt/test
  5. After the ufsdump command is done, set the read policy on the mirror to “roundrobin.”
    # metaparam -r roundrobin d40
    # metastat d40
    d40: Mirror
        Submirror 0: d41
          State: Okay
        Submirror 1: d42
          State: Okay
        Pass: 1
        Read option: roundrobin
        Write option: parallel (default)
        Size: 20484288 blocks (9.8 GB)
Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire