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 |
1. About Sun QFS and Sun Storage Archive Manager
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
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
How to Stop Archiving Operations From SAM-QFS Manager
How to Stop Archiving Operations From the Command Line
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
How to Remove Existing Software
How to Mount the File System Using SAM-QFS Manager
Recompiling API-Dependent Applications
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
The instructions in this section cover the tasks involved in restoring the file system after an upgrade.
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.
Perform this task if you modified the /etc/vfstab file in Unmounting File Systems.
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.
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.
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.
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
Perform this task if you did not reinitialize and restore the file system as described in How to Reinitialize and Restore the File System.
For more information, see samfsck(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.