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

Document Information

Preface

1.  File System Overview

2.  About the Master Configuration File

3.  mcf File Examples

4.  Configuring the File System

5.  Configuring a Shared File System

Using Shared QFS With NFS

How to Configure Shared Sun QFS With NFS

Mounting and Unmounting Shared File Systems

How to Mount a Shared File System

How to Unmount a Shared File System

Adding or Removing a Client Host

How to Add a Client Host to a Shared File System

How to Remove a Client Host From a Shared File System

Updating the mcf file in a Shared File System Environment

Creating the Local Hosts Configuration File

Changing the Metadata Server

Changing the Metadata Server in a Shared File System Environment

How to Change the Metadata Server When the Metadata Server Is Available

How to Change the Metadata Server When the Metadata Server Is Not Available

Changing the Metadata Server in an Archiving Environment

How to Change the Metadata Server in an Archiving Environment

Converting an Unshared File System to a Shared File System

How to Convert an Unshared Metadata Server to a Shared Metadata Server

How to Add a Client to the Metadata Server

Converting a Shared File System to an Unshared File System

How to Remove a Client From a Shared File System

How to Convert a Shared Metadata Server to an Unshared System

Client-Server Communications in a Shared File System

Adding Disk Cache to a File System

How to Add Disk Cache to a File System

Recreating a File System

How to Back Up and Re-Create a File System

6.  Administering File System Quotas

7.  Advanced File System Topics

8.  SMB Service in SAM-QFS

9.  Configuring WORM-FS File Systems

10.  Tunable Parameters

11.  Using QFS File Systems with SANergy (SAN-QFS)

12.  Mount Options in a Shared File System

13.  Using the samu Operator Utility

Recreating a File System

You must re-create the file system in order to do any of the following tasks:

How to Back Up and Re-Create a File System

  1. Back up all site-customized system files and configuration files.

    Depending on your software, these files might include the mcf, archiver.cmd, defaults.conf, samfs.cmd, or inquiry.conf files. Back up these files for all file systems in your Sun QFS environment. Also make sure that you have backup copies of files in the /etc/opt/SUNWsamfs directory, files in the /var/opt/SUNWsamfs directory, and shared hosts files.

  2. Ensure that each file system to be modified is backed up.

    File systems should be backed up regularly according to your site's policies. If you are comfortable with the backup files that already exist for your file systems, you do not need to back them up again now. If, however, you need to back up your file systems to preserve information created since the last dump file was created, do so now. For information about how to create a dump file using qfsdump, see Chapter 9, Backing Up SAM-QFS Data and Files, in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide.

  3. Unmount the file system.

    For instructions, see Unmounting File Systems in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide

  4. If you want to rename the file system during this procedure, use the samfsck command with the -R and -F options.
  5. In the /etc/opt/SUNWsamfs/mcf file, add, change, or remove partitions.

    For more information, see Adding Disk Cache to a File System.

  6. Check for errors in the mcf file.
    # sam-fsd

    If the output from this command indicates errors in the mcf file, correct them before proceeding to the next step.

  7. Propagate the mcf file changes to the system.
    # samd config

    For more information, see the samd(1M) man page.

  8. Issue the sammkfs command to re-create the file system.

    For example, the following command creates samfs10:

    # sammkfs samfs10
  9. Mount the file system.

    For information about mounting a Sun QFS file system, see the mount_samfs(1M) man page.

  10. Change to the mount point of the file system.
  11. Use the qfsrestore command, or use SAM-QFS Manager, to restore each file.

    Restore from the existing dump file or from the dump file created in Step 1. For more information, see the qfsdump(1M) man page or the SAM-QFS Manager online help.