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

Using Shared QFS With NFS


Note - If you are using NFS v4, you must disable delegations before you can use shared QFS.


Starting with SAM-QFS 5.0 on Oracle Solaris 10 , the Service Management Facility (SMF) is used to manage the mounting of the file system at boot time. If your file system uses NFS, the exact sequence in which you configure NFS and shared QFS is important. If you do not follow the steps in the following procedure, either the shared QFS mount or the NFS share will succeed and the other will fail.

How to Configure Shared Sun QFS With NFS

  1. Export the existing NFS configuration to a file.

    The following example exports the configuration into a file /var/tmp/server.xml.

    # svccfg export /network/nfs/server > /var/tmp/server.xml
  2. In the exported file, after the local file system dependency, add a dependency to mount QFS file systems before you NFS share them.

    For example:

      <!--
        Must have QFS filesystems mounted before sharing them
      -->
         <dependency name='qfs'
         grouping='require_all'
         restart_on='error'
         type='service'>
         <service_fmri value='svc:/network/qfs/shared-mount:default'/>
         </dependency>
  3. Validate the changes that you made to the file.
    # svccfg validate /var/tmp/server.xml
  4. Disable NFS.
    # svcadm disable nfs/server
  5. Delete the existing NFS server configuration.
    # svccfg delete nfs/server
  6. Import the file that you edited into SMF.
    # svccfg import /var/tmp/server.xml
  7. Enable NFS.

    NFS uses the updated file and reads the Sun QFS dependency information.

    # svcadm enable nfs/server
  8. Confirm that the dependency is applied.
    # svcs -d svc:/network/nfs/server:default