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

Preparing for an Upgrade

This section describes how to prepare for your upgrade.

Upgrade Considerations

When you decide to upgrade the host system being used for the file system, consider the following:

Support for Rolling Upgrades in a Shared Environment

You can upgrade individual shared file system clients without taking down the rest of the file system. To perform a rolling upgrade, you environment must include one primary metadata server and at least one potential metadata server.


Note - At any given time, the metadata server and the clients can only be one release apart.


How to Perform Rolling Upgrades in a Shared Environment

  1. Upgrade the potential metadata server.
  2. Failover to the potential metadata server.
  3. Upgrade the primary metadata server.
  4. Failover to the primary metadata server.
  5. Upgrade the clients.

Preserving Information for an Upgrade

If you are about to add or change disks, controllers, or other equipment in your environment, it can be difficult to correct or regenerate all the file system descriptions in the mcf file. Using the samfsconfig command can help you by generating information about your file system and file system components after you make these changes.

The samfsconfig command examines the devices you specify, determines whether any of them have Sun QFS superblocks on them, and writes this information to stdout. It uses information from the discovered superblocks and aggregates the devices into a format similar to an mcf file. You can save this format and edit it to re-create a damaged, missing, or incorrect mcf file.

The command can retrieve the Family Set number of the base device (the file system itself), the file system type (ma or ms), and whether the file system is a shared file system.

Irregularities are flagged with one of the following symbols:

The following examples show output from the samfsconfig command.

In this example, the system administrator has put a list of device names into a file. These device names were for devices that were not accounted for in the environment and that the system administrator therefore wanted to examine for family sets. The results displayed in the following code example show some old fragments of family sets and several complete instances.

Example 10-1 Output From the samfsconfig Command

mn# samfsconfig -v *`cat /tmp/dev_files'*

Device `/dev/dsk/c5t10d0s0' has a SAM-FS superblock.
Couldn't open '/dev/dsk/c5t10d0s1': I/O error
Device '/dev/dsk/c5t10d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t10d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t10d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t10d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t10d0s7' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t11d0s0' has a SAM-FS superblock.
Couldn't open '/dev/dsk/c5t11d0s1': I/O error
Device '/dev/dsk/c5t11d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t11d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t11d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t11d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t11d0s7' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t12d0s0' has a SAM-FS superblock.
Couldn't open '/dev/dsk/c5t12d0s1': I/O error
Device '/dev/dsk/c5t12d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t12d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t12d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t12d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t12d0s7' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t13d0s0' has a SAM-FS superblock.
Couldn't open '/dev/dsk/c5t13d0s1': I/O error
Device '/dev/dsk/c5t13d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t13d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t13d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t13d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t13d0s7' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t8d0s0' has a SAM-FS superblock.
Device '/dev/dsk/c5t8d0s1' has a SAM-FS superblock.
Device '/dev/dsk/c5t8d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t8d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t8d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t8d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t8d0s7' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t9d0s0' has a SAM-FS superblock.
Couldn't open '/dev/dsk/c5t9d0s1': I/O error
Device '/dev/dsk/c5t9d0s3' has a SAM-FS superblock.
Device '/dev/dsk/c5t9d0s4' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t9d0s5' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t9d0s6' doesn't have a SAM-FS superblock (SBLK).
Device '/dev/dsk/c5t9d0s7' doesn't have a SAM-FS superblock (SBLK).
13 SAM-FS devices found.

#
# Family Set 'qfs1' Created Mon Jun 25 10:37:52 2004
#
# Missing slices
# Ordinal 0
# /dev/dsk/c5t8d0s1 10 mm qfs1 -
#
# Family Set 'qfs1' Created Wed Jul 11 08:47:38 2004
#

qfs1 200 ma qfs1 - shared

/dev/dsk/c5t8d0s3    201      mm     qfs1 -
/dev/dsk/c5t9d0s3    202     mr    qfs1   -
/dev/dsk/c5t10d0s3    203     mr    qfs1  -
/dev/dsk/c5t11d0s3    204     mr    qfs1  -
/dev/dsk/c5t12d0s3    205     mr    qfs1  -
/dev/dsk/c5t13d0s3    206     mr    qfs1  -

#
# Family Set `sqfs1' Created Wed Nov  7 16:55:19 2004
#

sqfs1 100 ma sqfs1 - shared

/dev/dsk/c5t8d0s0    101      mm     sqfs1  -
/dev/dsk/c5t9d0s0    102     mr    sqfs1  -
/dev/dsk/c5t10d0s0    103     g0    sqfs1  -
/dev/dsk/c5t11d0s0    104     g0    sqfs1  -
/dev/dsk/c5t12d0s0    105     g1    sqfs1  -
/dev/dsk/c5t13d0s0    106     g1    sqfs1  -

#

In the output shown in the following code example, the devices flagged with a greater-than sign (>) are duplicated. The s0 slice starts at the start of disk, as does the whole disk (s2) slice. This style of output was obtained on a system running the Solaris 9 OS.

Example 10-2 Output from the Command

# samfsconfig /dev/dsk/c3t*
#
# Family Set 'shsam1' Created Wed Oct 17 14:57:29 2001
#

shsam1 160 ma shsam1 shared
> /dev/dsk/c3t50020F23000055A8d0s2    161    mm   shsam1  -
> /dev/dsk/c3t50020F23000055A8d0s0    161    mm   shsam1  -
> /dev/dsk/c3t50020F23000055A8d0s1    162    mr   shsam1  -
> /dev/dsk/c3t50020F23000078F1d0s0    163    mr   shsam1  -
> /dev/dsk/c3t50020F23000078F1d0s2    163    mr   shsam1  -
> /dev/dsk/c3t50020F23000078F1d0s1    164    mr   shsam1  -