JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  About Sun QFS and Sun Storage Archive Manager

2.  Planning Your Environment

3.  Preparing for Installation

4.  Release Package Contents, Directories, and Files

5.  Installing Sun QFS and SAM-QFS

6.  Installing and Configuring SAM-QFS Manager

7.  Configuring the File System Environment

8.  Setting Up Mount Parameters and Initializing the File System Environment

9.  Backing Up SAM-QFS Data and Files

10.  Upgrading Sun QFS and SAM-QFS

Upgrade Overview Task Map

Preparing for an Upgrade

Upgrade Considerations

Support for Rolling Upgrades in a Shared Environment

How to Perform Rolling Upgrades in a Shared Environment

Preserving Information for an Upgrade

Backing Up Existing File Systems

Backing Up Using the Version 1, Version 2, and Version 2A Superblocks

How to Back Up the File System (Sun QFS Configurations)

How to Back Up a File System (SAM-QFS Configurations)

Example Of Using the samfsdump Command

Stopping Archiving Operations

How to Stop Archiving Operations From SAM-QFS Manager

How to Stop Archiving Operations From the Command Line

Unsharing File Systems

Unmounting File Systems

How To Unmount a File System Using SAM-QFS Manager

How to Unmount a File System From the Command Line

How to Unmount by Editing the /etc/vfstab File

Removing Existing Software

How to Remove Existing Software

Adding the Upgrade Packages

How to Add the Packages

Upgrading SAM-QFS Manager

Restoring the File System

How to Verify the mcf File

How to Modify the /etc/vfstab File

How to Reinitialize and Restore the File System

How to Check the File System

Mounting the File System

How to Mount the File System Using SAM-QFS Manager

Recompiling API-Dependent Applications

Upgrading Hardware

General Prerequisites

Switching Between SPARC and AMD Platforms

Configuring EFI Labels for Shared x64 and SPARC Volumes

How to Convert Disk Labels From the Default SMI VTOC8 to EFI

Upgrading the Oracle Solaris OS

How to Upgrade the Oracle Solaris OS in a Sun QFS Environment

11.  Uninstalling the SAM-QFS Manager Software

12.  Installing Sun QFS and Sun Storage Archive Manager -- Quick Start

Restoring the File System

The instructions in this section cover the tasks involved in restoring the file system after an upgrade.

How to Verify the mcf File

  1. Issue the sam-fsd command.
  2. Examine the output for errors, as follows:
    • If the mcf file is free of syntax errors, the sam-fsd output is similar to that shown in the following example. The output contains information about the file systems and other system information.

      # sam-fsd
       Trace file controls:
       sam-amld      off
       sam-archiverd off
       sam-catserverd off
       sam-fsd       off
       sam-rftd      off
       sam-recycler  off
       sam-sharefsd  off
       sam-stagerd   off
       sam-serverd   off
       sam-clientd   off
       sam-mgmt      off
    • If the mcf file contains syntax or other errors, the errors are shown in the output.

      If your mcf file has errors, see mcf(4) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual about how to create this file correctly.


    Note - If you change the mcf file after the Sun QFS file system is in use, you must convey the new mcf specifications to the Sun QFS software. For information about propagating mcf file changes to the system, see the Sun QFS File System 5.3 Configuration and Administration Guide.


How to Modify the /etc/vfstab File

Perform this task if you modified the /etc/vfstab file in Unmounting File Systems.

  1. Open the /etc/vfstab file.
  2. Change the Mount at Boot field for all Sun QFS file systems from no to yes or delay.

How to Reinitialize and Restore the File System

In this task, you reinitialize the file systems and restore the saved data in the new file systems. This task completes the process initiated in Backing Up Existing File Systems.


Note - The Sun QFS 4U2 and later software does not enable you to initialize a file system with a version 1 superblock. The Sun QFS 4U2 file system allows file systems to be initialized only with the version 2 superblock. If you are upgrading from 4U0 using a version 1 superblock, be aware that issuing a 4U2 or later sammkfs command at this point reinitializes your file system with a version 2 superblock.


  1. Issue the samfsinfo command and examine the output.

    The output lists the DAU size that was specified with the sammkfs command when the file system was created. You will use this DAU size again in the next step.

  2. Use the sammkfs command to initialize a new Sun QFS file system.

    The following example command initializes a file system named qfs1 with a DAU size of 512 kilobytes:

    # sammkfs -a 512 qfs1

    For more information about the options to the sammkfs command, see sammkfs(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.

  3. Use the qfsrestore command to restore the dumped data in the new file system.

    For following example restores a file system named qfs1 (mounted at /qfs1) from files dumped to qfs1.bak, which existed outside of the Sun QFS file system. In this case, you would issue the following commands:

    # cd /qfs1
    # qfsrestore -f /save/qfs/qfs1.bak

How to Check the File System

Perform this task if you did not reinitialize and restore the file system as described in How to Reinitialize and Restore the File System.