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

Converting a Shared File System to an Unshared File System

Converting a Sun QFS shared file system to an unshared Sun QFS file system requires two tasks:

This section describes these procedures.

How to Remove a Client From a Shared File System

  1. Unmount the file system.

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

  2. Delete the file system's entry from the /etc/opt/SUNWsamfs/mcf file.
  3. Delete the file system's entry from the /etc/vfstab file.
  4. Notify the sam-fsd daemon of the configuration changes by issuing the samd config command.
    # samd config
  5. Delete the mount point for the file system.

How to Convert a Shared Metadata Server to an Unshared System

  1. As superuser, log in to the metadata server system.
  2. 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, and inquiry.conf files. Back up these files for all file systems. Also make sure that you have backup copies of files in the /etc/opt/SUNWsamfs directory and files in the /var/opt/SUNWsamfs directory.

  3. If you want to move files from an existing Sun QFS shared file system into a new Sun QFS file system, ensure that each file system to be modified is backed up.

    File systems should be backed up regularly according to your site's policies. This is described as the last step in the installation procedure. 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.

  4. Unmount the file system.

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

  5. Run the samfsck -F -U file-system-name command to convert the Sun QFS shared file system to an unshared file system.

    For file-system-name, specify the name of the Sun QFS shared file system that you are converting to a new unshared file system. For example:

    # samfsck -F -U samfs1
  6. In the /etc/opt/SUNWsamfs/mcf file, remove the shared keyword from the file system's Additional Parameters field.

    For example:

    # Equipment Eq Eq Family Dev Add
    # Identifier Ord Type Set State Params
    # ---------- --- ---- ------ ----- ------
    samfs1 10 ma samfs1 on
    /dev/dsk/c2t50020F23000065EEd0s6 11 mm samfs1 on
    /dev/dsk/c7t50020F2300005D22d0s6 12 mr samfs1 on
    /dev/dsk/c7t50020F2300006099d0s6 13 mr samfs1 on
    /dev/dsk/c7t50020F230000651Cd0s6 14 mr samfs1 on
  7. In the /etc/vfstab file, remove the shared keyword from the file system's Mount Parameters field.

    For example:

    # File /etc/vfstab
    # FS name FS to fsck Mnt pt FS type fsck pass Mt@boot Mt params
    samfs1 - /samfs1 samfs - no
  8. Delete the /etc/opt/SUNWsamfs/hosts. file-system-name configuration file.
  9. Notify the sam-fsd daemon of the configuration changes by issuing the samd config command.
    # samd config
  10. Issue the mount command to mount the file system.