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

Adding Disk Cache to a File System

To increase the disk cache for a file system, you add disk partitions or disk drives, and then update the mcf file and use the samgrowfs command to expand the file system. You do not need to reinitialize or restore the file system.

When making changes to the mcf file, be aware of the following:

How to Add Disk Cache to a File System

  1. Unmount the file system you want to expand. If the file system is shared, unmount the file system on all client hosts and then on the metadata server.

    You can then perform the remaining steps in this procedure on the metadata server. For more information about unmounting a file system, see Unmounting File Systems in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide.

  2. If you want to rename the file system during this procedure, use the samfsck command with the -R and -F options.

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

  3. In the /etc/opt/SUNWsamfs/mcf file, add the disk cache.
  4. Check for errors in the mcf file.
    # sam-fsd

    If the output from this command shows errors, correct them before proceeding to the next step.

  5. Propagate the mcf file changes to the system:
    # samd config

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

  6. Issue the samgrowfs command on the file system that is being expanded.

    For example, type the following command to expand file system samfs1:

  7. Mount the file system.

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

  8. If the file system is a Sun QFS shared file system, edit the mcf file on each participating client host to match the metadata server's mcf file.